Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Minor code cleanups

  • Loading branch information...
commit 860256183a51c58be76bc7a040de3ff92057f4fe 1 parent ec60a6b
Ola Spjuth authored
1  plugins/net.bioclipse.ds.libsvm/META-INF/MANIFEST.MF
@@ -18,3 +18,4 @@ Require-Bundle: org.eclipse.ui,
18 18
 Bundle-RequiredExecutionEnvironment: JavaSE-1.6
19 19
 Bundle-ActivationPolicy: lazy
20 20
 Import-Package: org.apache.log4j
  21
+Export-Package: net.bioclipse.ds.libsvm
6  plugins/net.bioclipse.ds.libsvm/src/net/bioclipse/ds/libsvm/SignaturesLibSVMTest.java
@@ -79,6 +79,12 @@ public SignaturesLibSVMTest(){
79 79
         ret.add( SIGNATURES_FILE_PARAMETER );
80 80
         return ret;
81 81
     }
  82
+    
  83
+    @Override
  84
+    public String toString() {
  85
+        return getName();
  86
+    }
  87
+
82 88
 
83 89
     /**
84 90
      * Initialize all paths and read model files into memory.
4  ...t.bioclipse.ds.signatures/src/net/bioclipse/ds/signatures/prop/calc/AtomSignaturePropertyCalculator.java
@@ -40,7 +40,9 @@ public AtomSignatures calculate( ICDKMolecule molecule ) {
40 40
         try {
41 41
             return signatures.generate(molecule, getHeight());
42 42
         } catch ( Exception e ) {
43  
-            logger.error( "Failed to calculate AtomSignatures height " + getHeight() + " for mol: " + molecule);
  43
+            logger.error( "Failed to calculate AtomSignatures height " 
  44
+            		+ getHeight() + " for mol: " + molecule 
  45
+            		+ " Reason: " + e.getMessage());
44 46
         }
45 47
         return null;
46 48
     }

0 notes on commit 8602561

Please sign in to comment.
Something went wrong with that request. Please try again.