@@ -1004,8 +1004,8 @@ public static int[][] forwardSubRow(int lInverse, int cInverse, int maximalX,int
10041004 }
10051005 }
10061006 if (connectivityTest (mat2 )){
1007- // IAtomContainer mol= buildC(addHydrogens(mat2,hIndex));
1008- // outFile.write(mol);
1007+ IAtomContainer mol = buildC (addHydrogens (mat2 ,hIndex ));
1008+ outFile .write (mol );
10091009 count ++;
10101010 callForward =false ;
10111011 return nextStep (A , indices , callForward );
@@ -1157,7 +1157,7 @@ public static void run() throws IOException, CDKException, CloneNotSupportedExce
11571157 if (verbose ) System .out .println ("MORGEN is generating isomers of " +formula +"..." );
11581158 getSymbolsOccurrences (formula );
11591159 initialDegrees ();
1160- // build(formula);
1160+ build (formula );
11611161 outFile = new SDFWriter (new FileWriter (filedir +"output.sdf" ));
11621162 canonicalBlockbasedGenerator ();
11631163 if (verbose ) System .out .println ("The number of structures is: " +count );
@@ -1844,7 +1844,7 @@ private Options setupOptions(String[] args){
18441844
18451845 public static void main (String [] args ) throws IOException , CDKException , CloneNotSupportedException {
18461846 MORGEN gen = new MORGEN ();
1847- //String[] arg= {"-f", "C10H16 ", "-d", "C:\\Users\\mehme\\Desktop\\", "-v"};
1847+ //String[] arg= {"-f", "C6H6 ", "-d", "C:\\Users\\mehme\\Desktop\\", "-v"};
18481848 try {
18491849 gen .parseArgs (args );
18501850 MORGEN .run ();
0 commit comments