User 870ab5b546
20-07-2004 22:59:58
I am working with a .jsp file that has the following Javascript line in it:
The aromatize and add H atoms functions represented by :aH don't apply to shortcut groups that are present in the structure. Is there currently a way to expand the shortcut groups before applying said functions or to make them apply to the shortcut groups?
(I notice there's a :Xsg function to expand shortcut groups, but it seems it can be used only when a file is imported into MarvinSketch, not when a file that a user draws in MarvinSketch is processed.)
I would suggest that, if a programmer or user specifies aromatize and add H atoms on a file that contains shortcut groups, then by default the functions should apply to the shortcut groups. If that means that the shortcut groups must be expanded or even ungrouped, so be it.
Code: |
form.mol.value=document.ans_applet.getMol("mol:aH"); |
The aromatize and add H atoms functions represented by :aH don't apply to shortcut groups that are present in the structure. Is there currently a way to expand the shortcut groups before applying said functions or to make them apply to the shortcut groups?
(I notice there's a :Xsg function to expand shortcut groups, but it seems it can be used only when a file is imported into MarvinSketch, not when a file that a user draws in MarvinSketch is processed.)
I would suggest that, if a programmer or user specifies aromatize and add H atoms on a file that contains shortcut groups, then by default the functions should apply to the shortcut groups. If that means that the shortcut groups must be expanded or even ungrouped, so be it.