Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add more detailed debug message when num features is not correct

  • Loading branch information...
commit c24e62c14c47da39a84431af683cc4c04de7eb9f 1 parent acf024d
mguetlein authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  src/data/DefaultFeatureComputer.java
View
3  src/data/DefaultFeatureComputer.java
@@ -94,7 +94,8 @@ public void computeFeatures(DatasetFile dataset)
s = p.getStringValues(dataset);
if ((d != null && d.length != numCompounds) || (s != null && s.length != numCompounds))
- throw new Error("illegal num features " + p);
+ throw new Error("illegal num features " + p + ", is:" + (d != null ? d.length : s.length)
+ + ", should be:" + numCompounds);
if (!TaskProvider.isRunning())
return;
Please sign in to comment.
Something went wrong with that request. Please try again.