From 1e68543d97e4f21b359cee0c8c591f77db43dfef Mon Sep 17 00:00:00 2001 From: Andreas Maunz Date: Fri, 28 Sep 2012 12:54:46 +0200 Subject: Java Main function --- java/ApplyCDKDescriptors.class | Bin 8865 -> 8942 bytes java/ApplyCDKDescriptors.java | 9 +++++++-- last-utils | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/java/ApplyCDKDescriptors.class b/java/ApplyCDKDescriptors.class index c5ee8a4..7f3811a 100644 Binary files a/java/ApplyCDKDescriptors.class and b/java/ApplyCDKDescriptors.class differ 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: "); + System.exit(1); + } + String inpath = args[0]; + String outpath = args[1]; getDescriptorCSV(inpath,outpath,""); } diff --git a/last-utils b/last-utils index 6562a3d..01b21b0 160000 --- a/last-utils +++ b/last-utils @@ -1 +1 @@ -Subproject commit 6562a3d581a6141f946098e68fc2a3f80f0446b1 +Subproject commit 01b21b06f93b112a8f745531e38486609f5ac575 -- cgit v1.2.3