diff --git a/screening/sourceTest/java/ch/systemsx/cisd/openbis/dss/etl/featurevector/CsvToCanonicalFeatureVectorTest.java b/screening/sourceTest/java/ch/systemsx/cisd/openbis/dss/etl/featurevector/CsvToCanonicalFeatureVectorTest.java index 3baa0e8afd9e7acd411e9f07052af4367247b030..535bf5162b16aaa853e9ee080bf93e948e62a569 100644 --- a/screening/sourceTest/java/ch/systemsx/cisd/openbis/dss/etl/featurevector/CsvToCanonicalFeatureVectorTest.java +++ b/screening/sourceTest/java/ch/systemsx/cisd/openbis/dss/etl/featurevector/CsvToCanonicalFeatureVectorTest.java @@ -120,6 +120,19 @@ public class CsvToCanonicalFeatureVectorTest extends AssertJUnit assertEquals(0.001052f, darr.getForWellLocation(2, 1)); } + @Test + public void testNoIgnoringColumns() throws IOException + { + Properties properties = new Properties(); + properties.setProperty(COLUMNS_TO_BE_IGNORED_KEY, ""); + CsvToCanonicalFeatureVectorConfiguration config = + new CsvToCanonicalFeatureVectorConfiguration(new FeatureVectorStorageProcessorConfiguration(properties)); + CsvToCanonicalFeatureVector converter = + new CsvToCanonicalFeatureVector(getDatasetFileLines(), config, 16, 24); + ArrayList<CanonicalFeatureVector> fvs = converter.convert(); + assertEquals(18, fvs.size()); + } + /** * Return the tabular data as a DatasetFileLines. */