PHL100Y1 Lecture : AddExpHOmitPostClean.java.txt
Document Summary
* copyright (c) 1998-2013 chemaxon ltd. all rights reserved. * this software is the confidential and proprietary information of. * and shall use it only in accordance with the terms of the agreements. * you entered into with chemaxon. package core; import chemaxon. calculations. clean. cleaner; import chemaxon. calculations. hydrogenize. hydrogenize; import chemaxon. formats. molexporter; import chemaxon. formats. molimporter; import chemaxon. struc. molecule; import chemaxon. struc. moleculegraph; * the following code example shows how to convert implicit hydrogens to. * for the detailed description of this example, please visit. * @since marvin 5. 1 public class addexphomitpostclean { public static void main(string args[]) throws exception { Molecule m = new molecule(); while ((m = mi. read()) != null){ // clean the molecule to 2d if necessary if (m. getdim() != 2){