User 870ab5b546
14-07-2007 21:16:38
When is it appropriate to use a single Molecule with multiple fragments as a parameter for setReactant():
Molecule substrate = molHandler.getMolecule();
reaction.setReactant(substrate);
and when is it appropriate first to convertToFrags(), then use the Molecule[] as a parameter for setReactants():
Molecule substrate = molHandler.getMolecule();
Molecule[] substrates = substrate.convertToFrags();
reaction.setReactants(substrates);
??
Molecule substrate = molHandler.getMolecule();
reaction.setReactant(substrate);
and when is it appropriate first to convertToFrags(), then use the Molecule[] as a parameter for setReactants():
Molecule substrate = molHandler.getMolecule();
Molecule[] substrates = substrate.convertToFrags();
reaction.setReactants(substrates);
??