-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add excludeSameMfovNeighbors option to TilePairDerivationParameters, …
…rename multisem.Utilities as MultiSemUtilities and move from render-ws-java-client module to render-app module
- Loading branch information
Showing
17 changed files
with
191 additions
and
123 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
render-app/src/test/java/org/janelia/alignment/multisem/MultiSemUtilitiesTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
package org.janelia.alignment.multisem; | ||
|
||
import org.junit.Assert; | ||
import org.junit.Test; | ||
|
||
/** | ||
* Tests the {@link MultiSemUtilities} class. | ||
* | ||
* @author Eric Trautman | ||
*/ | ||
public class MultiSemUtilitiesTest { | ||
|
||
@Test | ||
public void testTileIdParsers() { | ||
final String tileId = "w60_magc0399_scan005_m0013_s001"; | ||
Assert.assertEquals("invalid MFOVForTileId", | ||
"0399_m0013", MultiSemUtilities.getMFOVForTileId(tileId)); | ||
Assert.assertEquals("invalid SFOVForTileId", | ||
"0399_m0013_s001", MultiSemUtilities.getSFOVForTileId(tileId)); | ||
Assert.assertEquals("invalid SFOVIndexForTileId", | ||
"001", MultiSemUtilities.getSFOVIndexForTileId(tileId)); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.