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.1.1
Operating system and version: Windows 10
Expected Behavior
Applying --append and --delete category options at the same time should add the category to the title and then delete it for the output file.
Actual Behavior
Looks like the category is firstly deleted and then added to the output file, producing ?? symbols.
Also there is an error message:
*** Open Babel Error in OpenBabel::OBDescriptor::GetValues
CAT not recognized as a property or a descriptor
1 molecule converted
Without having your exact file to test on I cannot say for sure but my best suggestion would be to change the command to a piped two-stage command: obabel --addtotitle "_" --append "CAT" in.sdf -osdf | obabel -isdf -Oout.sdf --delete "CAT"
(I also changed the property name in --append to match the one in --delete, in my testing it made a difference if I used upper or lower case)
Environment Information
Open Babel version: 3.1.1
Operating system and version: Windows 10
Expected Behavior
Applying --append and --delete category options at the same time should add the category to the title and then delete it for the output file.
Actual Behavior
Looks like the category is firstly deleted and then added to the output file, producing ?? symbols.
Also there is an error message:
*** Open Babel Error in OpenBabel::OBDescriptor::GetValues
CAT not recognized as a property or a descriptor
1 molecule converted
Steps to Reproduce
obabel --addtotitle "_" --append "@cat" -isdf in.sdf -osdf -Oout.sdf --delete "CAT"
The text was updated successfully, but these errors were encountered: