Skip to content

Commit

Permalink
Upped version to 2.0.6. Made coordinates file less stringent
Browse files Browse the repository at this point in the history
Now can have whitespace if using commas
  • Loading branch information
AlanRace committed Apr 23, 2019
1 parent 5c95412 commit 2c78e93
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion jimzMLConverter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.alanmrace</groupId>
<artifactId>jimzMLConverter</artifactId>
<version>2.0.5</version>
<version>2.0.6</version>
<packaging>jar</packaging>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,12 +168,12 @@ public static PixelLocation[] getPixelLocationFromTextFile(String spectrumLocati
coords = line.split("\\s+");
}

int curX = Integer.parseInt(coords[0]);
int curY = Integer.parseInt(coords[1]);
int curX = Integer.parseInt(coords[0].trim());
int curY = Integer.parseInt(coords[1].trim());
int curZ = 1;

if (coords.length == 3) {
curZ = Integer.parseInt(coords[2]);
curZ = Integer.parseInt(coords[2].trim());
}

if (curX > xPixels) {
Expand Down

0 comments on commit 2c78e93

Please sign in to comment.