You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Open Babel version: 3.0
Operating system and version: Windows 10
Expected Behavior
Not create a file called --gen2D when calling the following command: obabel -ismi -:CCC -omol -Otf --gen2D
but instead create a file called tf.
Actual Behavior
When parsing the argument -O, to allow for both -Ofilename and -O filename, there is a check after parsing the first version to see if the filename is shorter than 3 characters long. If so, the next argument is used as filename. I think it can be fixed by changing the conditional on line 157 of obbabel.cpp (
Environment Information
Open Babel version: 3.0
Operating system and version: Windows 10
Expected Behavior
Not create a file called --gen2D when calling the following command:
obabel -ismi -:CCC -omol -Otf --gen2D
but instead create a file called tf.
Actual Behavior
When parsing the argument -O, to allow for both -Ofilename and -O filename, there is a check after parsing the first version to see if the filename is shorter than 3 characters long. If so, the next argument is used as filename. I think it can be fixed by changing the conditional on line 157 of obbabel.cpp (
openbabel/tools/obabel.cpp
Line 157 in d2fedbb
The text was updated successfully, but these errors were encountered: