summaryrefslogtreecommitdiff
path: root/java/ApplyCDKDescriptors.java
diff options
context:
space:
mode:
authorAndreas Maunz <andreas@maunz.de>2012-09-28 12:54:46 +0200
committerAndreas Maunz <andreas@maunz.de>2012-09-28 12:54:46 +0200
commit1e68543d97e4f21b359cee0c8c591f77db43dfef (patch)
treeb7c19a303852a65960c039b2c0d938fc1b58c9a2 /java/ApplyCDKDescriptors.java
parent4ed79098c147209343fc083c1b63f2946fbd6914 (diff)
Java Main functionHEADmaster
Diffstat (limited to 'java/ApplyCDKDescriptors.java')
-rw-r--r--java/ApplyCDKDescriptors.java9
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,"");
}