User ae63c4f22b
		20-09-2006 15:46:02
	 
	
	
	Hello,
I am currently using Reactor, and I should have some informations about the differents classes : Molecule, RxnMolecule and Reaction? I don't really see the differences between this tree classes.
For example :
To load reactions from a file, I must use the methode read of MolImporter witch return Molecule.
And to define a reaction, I can use either Reaction, or Molecule (but witch apear to be a RxnMolecule)
thanks,
Drivers2
PS : sorry for my bad english
	
	 
 
	
		User ae63c4f22b
		21-09-2006 14:19:42
	 
	
	
	Hello,
OK, so, a Molecule (the class) can contain either a molecule or a reaction. thanks!
When I call
Code: | 
Molecule reaction = importer.read(); | 
It works perfectly, but, when I call
Code: | 
Molecule reaction = new Molecule(importer.read()); | 
It doesn't work (an exception is throwed : "Not a reaction molecule" when I set the reaction in reactor)
And I don't understand why that make that!?
I have a second question :
when I load a reaction, it's recommended to use
Code: | 
importer.setQueryMode(true); | 
knowing that I don't know the file format that will be loaded, or I mistake for something else?
thank,
Drivers2