Open tischi opened 6 months ago
Hi,
We have a seemingly Windows specific issue, where the line breaks of the CSV are not recognised.
I am not sure how to debug this efficiently, because I do not have a Windows computer with a development environment.
Is there anything general I could try to make this more robust across OS?
This is my current code, which opens the tables correctly on a Mac:
final InputStream inputStream = IOHelper.getInputStream( path ); // https://jtablesaw.github.io/tablesaw/userguide/importing_data.html CsvReadOptions.Builder builder = CsvReadOptions.builder( inputStream ) .separator( separator ) .missingValueIndicator( "na", "none", "nan" ) .sample( numSamples > 0 ) .sampleSize( numSamples ) .columnTypesPartial( nameToType ); final Table rows = Table.read().usingOptions( builder );
And here is the table that creates the problems on Windows:
test-crop-8bit-ds2.csv
Maybe it helps for the debugging that this file iMGL_AAV2MOI105_6h_DAPI_IBA1_well6_image2_C2.csv does not have this issue.
Hi,
We have a seemingly Windows specific issue, where the line breaks of the CSV are not recognised.
I am not sure how to debug this efficiently, because I do not have a Windows computer with a development environment.
Is there anything general I could try to make this more robust across OS?
This is my current code, which opens the tables correctly on a Mac:
And here is the table that creates the problems on Windows:
test-crop-8bit-ds2.csv