Skip to content

Commit

Permalink
Fix bug that made channel names disappear when .* was used during loa…
Browse files Browse the repository at this point in the history
…ding
  • Loading branch information
tischi committed Feb 3, 2025
1 parent 352a8df commit 2aa783e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
12 changes: 5 additions & 7 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@

<groupId>org.embl.mobie</groupId>
<artifactId>mobie-viewer-fiji</artifactId>
<version>6.0.0-SNAPSHOT</version>


<version>6.0.1</version>

<!-- mvn clean install -Dmaven.test.skip=true -Dscijava.app.directory=/Users/tischer/Desktop/Fiji/Fiji-MoBIE.app -->
<!-- mvn clean install -Dmaven.test.skip=true -Dscijava.app.directory=/Users/tischer/Desktop/Fiji/Fiji-40.0.0.app -->
Expand Down Expand Up @@ -87,10 +85,10 @@

<allowedDuplicateClasses>${scijava.allowedDuplicateClasses},org.relaxng.*,sun.*,com.sun.*,sun.rmi.*,com.sun.jdi.*,sun.jvmstat.*,sun.applet.*,com.sun.xml.*,com.sun.tools.*,sun.tools.*,com.sun.istack.*,shaded.parquet.it.unimi.dsi.fastutil.*,javax.xml.bind.*,com.sun.xml.bind.*,com.sun.xml.txw2.*,com.sun.codemodel.*</allowedDuplicateClasses>

<mobie-io.version>4.0.0-SNAPSHOT</mobie-io.version>
<bigdataviewer-playground.version>0.10.7</bigdataviewer-playground.version>
<bvv-playground.version>0.3.3</bvv-playground.version>
<mobie-io.version>3.0.4</mobie-io.version>
<mobie-io.version>4.0.1</mobie-io.version>
<bigdataviewer-playground.version>0.11.0</bigdataviewer-playground.version>
<bvv-playground.version>0.3.4</bvv-playground.version>

<annotations.version>16.0.2</annotations.version>
<trove.version>1.0.2</trove.version>
<TurboReg_.version>2.0.0</TurboReg_.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -569,6 +569,7 @@ private static List< Transformation > getAffineTransformationAsList( List< Strin
}
catch ( Exception e )
{
int a = 1;
// Do not add a transformation
}

Expand Down
5 changes: 3 additions & 2 deletions src/main/java/org/embl/mobie/lib/util/MoBIEHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,9 @@ public static String removeExtension( String uri )
{
uri = FilenameUtils.removeExtension( uri );

// some have two extensions, e.g. .ome.zarr
uri = FilenameUtils.removeExtension( uri );
// The above will only remove the ".zarr"
if ( uri.endsWith( ".ome" ) )
uri = uri.replace( ".ome", "" );

return uri;
}
Expand Down

0 comments on commit 2aa783e

Please sign in to comment.