Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
StephanPreibisch committed Sep 6, 2024
1 parent f1db315 commit 0e8bf4d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public Void call() throws Exception
in.lines().forEach( s ->
{
if ( s.trim().length() > 0 && s.trim().matches( "[\\p{Space}*[-]*\\d+\\.?\\d*\\p{Space}*\\,?]+") )
points.add( Import.csvStringToDoubleArray( s ) );
points.add( Import.csvStringToDoubleArray( s.trim() ) );
else
System.out.println( "Ignoring line: " + s );
} );
Expand Down

0 comments on commit 0e8bf4d

Please sign in to comment.