Skip to content
Snippets Groups Projects
Verified Commit a9c20ae9 authored by Xavier Robin's avatar Xavier Robin
Browse files

doc: leave a comment about writing charges

parent cf947eeb
No related branches found
No related tags found
No related merge requests found
......@@ -83,6 +83,8 @@ namespace {
else if (abs(chg) > 3) {
String msg = "SDF format only supports charges from -3 to +3, not %g";
throw IOException(str(format(msg) % chg));
// This is not entirely true. We could implement "M CHG" lines with
// support from -15 to +15. Or switch to V3000.
}
else {
Real chg_sdf = 4 - chg;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment