Only compute recon features if cell contains a string

This commit is contained in:
Owen Stephens 2019-04-04 15:09:56 +01:00
parent a881dc80aa
commit a79e0f3187

View File

@ -134,7 +134,9 @@ public class NewItemLibrary {
ReconConfig config = column.getReconConfig();
if (config instanceof StandardReconConfig) {
StandardReconConfig stdConfig = (StandardReconConfig)config;
stdConfig.computeFeatures(recon, cell.getValueAsString());
if (cell instanceof (String)) {
stdConfig.computeFeatures(recon, cell.getValue());
}
}
}
}