User 870ab5b546
05-04-2013 14:16:34
I had the following line in my MarvinSketch invocation:
msketch_param('extraBonds',
among([appletName, 'targetapplet', 'queryapplet',
'synthAuthApplet', 'evalApplet'])
? 'wedge,either,coordinate,arom,any,aromany,1or2,ctu'
: 'wedge,either,arom,coordinate');
and I was also using a configuration file that omitted any mention of bond types. In MarvinSketch 5.11, all of the bond types were displaying.
I added these lines to the configuration file:
<remove path="menubar/bond-menu/boldBond"/>
<remove path="menubar/bond-menu/hashedBond"/>
<remove path="menubar/bond-menu/bond-type-menu/bondType.aromatic"/>
<remove path="menubar/bond-menu/bond-type-menu/bondType.coord"/>
<remove path="menubar/bond-menu/bond-type-menu/sep-1"/>
<remove path="menubar/bond-menu/bond-type-menu/bondType.cisOrTrans"/>
<remove path="menubar/bond-menu/bond-type-menu/bondType.cisOrTransOrUnspec"/>
<remove path="menubar/bond-menu/bond-type-menu/sep-2"/>
<remove path="menubar/bond-menu/bond-type-menu/bondType.singleOrDouble"/>
<remove path="menubar/bond-menu/bond-type-menu/bondType.singleOrAromatic"/>
<remove path="menubar/bond-menu/bond-type-menu/bondType.doubleOrAromatic"/>
<remove path="menubar/bond-menu/bond-type-menu/bondType.any"/>
<remove path="menubar/bond-menu/bond-type-menu/sep-3"/>
<remove path="popup/bond/boldBond"/>
<remove path="popup/bond/hashedBond"/>
<remove path="popup/bond/bond-topology-menu"/>
<remove path="popup/bond/bond-reacting-center-menu"/>
<remove path="popup/bond/bondStereoSearch"/>
<remove path="popup/bond/bond-sep-2"/>
<remove path="popup/bond/bond-type-menu/bondType.aromatic"/>
<remove path="popup/bond/bond-type-menu/sep-1"/>
<remove path="popup/bond/bond-type-menu/bondType.cisOrTrans"/>
<remove path="popup/bond/bond-type-menu/bondType.cisOrTransOrUnspec"/>
<remove path="popup/bond/bond-type-menu/sep-2"/>
<remove path="popup/bond/bond-type-menu/bondType.singleOrDouble"/>
<remove path="popup/bond/bond-type-menu/bondType.singleOrAromatic"/>
<remove path="popup/bond/bond-type-menu/bondType.doubleOrAromatic"/>
<remove path="popup/bond/bond-type-menu/bondType.any"/>
<remove path="popup/bond/bond-type-menu/sep-3"/>
<remove path="popup/bond/bond-type-menu/bondType.coord"/>
Now the unwanted bond types don't display. So I'm wondering, is the extraBonds parameter ineffective when a configuration file is specified?