diff options
Diffstat (limited to 'java/ApplyCDKDescriptors.java')
-rw-r--r-- | java/ApplyCDKDescriptors.java | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/java/ApplyCDKDescriptors.java b/java/ApplyCDKDescriptors.java index 85a1abd..6207031 100644 --- a/java/ApplyCDKDescriptors.java +++ b/java/ApplyCDKDescriptors.java @@ -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,""); } |