ChemAxon Reactor help

User 5b7b568917

05-06-2006 19:31:20

Hai,





When we are using the following page


http://www.chemaxon.com/jchem/examples/reactor/jsp/react.jsp


we are getting only one product.





When we are using


http://www.chemaxon.com/jchem/examples/reactor/jsp/index.jsp


for the same reaction and reactants,





we are getting more number of products.





We are trying to use the former application in our program. How can we get more number of products like the combinatorial library.





Thanks.





Usha

ChemAxon fb166edcbd

06-06-2006 07:58:30

There is only one product list - which consists of two products, since the reaction equation itself contains two products.





The difference between the two applications is, that react.jsp displays the result in reaction form, while the reaction library application displays the separate products by default. You can change its behaviour by setting the "output type" Reactor option on the reactants.jsp page to "reaction" instead of "product".





The Reactor API will give you the two products in an array when you call Reactor.react(). You can transform them together with the reactants to a reaction molecule by Reactor.createReaction(Molecule[] products). Subsequent calls to Reactor.react() will return different product lists as long as there are more possibilities, while you will get a null result if there are no more product lists.