Java Main function master
authorAndreas Maunz <andreas@maunz.de>
Fri, 28 Sep 2012 10:54:46 +0000 (12:54 +0200)
committerAndreas Maunz <andreas@maunz.de>
Fri, 28 Sep 2012 10:54:46 +0000 (12:54 +0200)
java/ApplyCDKDescriptors.class
java/ApplyCDKDescriptors.java
last-utils

index c5ee8a4031b4ceacb9001cb5b8c7765eb656c362..7f3811a73685547c444327c03c47b3895f44f70f 100644 (file)
Binary files a/java/ApplyCDKDescriptors.class and b/java/ApplyCDKDescriptors.class differ
index 85a1abd7109a834c11bea0c7923b99af404b386b..620703129b5770c8a8ec69d1914ea8c2ecf9b64f 100644 (file)
@@ -59,8 +59,13 @@ public class ApplyCDKDescriptors {
   */
        public static void main(String args[]) throws java.io.IOException 
        {
-               String inpath = "hamster_3d.sdf";
-    String outpath = "hamster_desc.csv";
+    int length = args.length;
+    if (length != 2) {
+      System.out.println("Enter two file names: <input.sdf> <output.csv>");
+      System.exit(1);
+    }
+               String inpath = args[0];
+    String outpath = args[1];
     getDescriptorCSV(inpath,outpath,"");
        }
 
index 6562a3d581a6141f946098e68fc2a3f80f0446b1..01b21b06f93b112a8f745531e38486609f5ac575 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 6562a3d581a6141f946098e68fc2a3f80f0446b1
+Subproject commit 01b21b06f93b112a8f745531e38486609f5ac575