Skip to content

Commit

Permalink
renamed Resave_N5 to Resave_N5Api
Browse files Browse the repository at this point in the history
  • Loading branch information
StephanPreibisch committed Sep 14, 2024
1 parent ee68ddf commit 3cc1fd2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
import net.preibisch.mvrecon.fiji.plugin.resave.PluginHelper;
import net.preibisch.mvrecon.fiji.plugin.resave.ProgressWriterIJ;
import net.preibisch.mvrecon.fiji.plugin.resave.Resave_HDF5;
import net.preibisch.mvrecon.fiji.plugin.resave.Resave_N5;
import net.preibisch.mvrecon.fiji.plugin.resave.Resave_N5Api;
import net.preibisch.mvrecon.fiji.plugin.resave.Resave_TIFF;
import net.preibisch.mvrecon.fiji.plugin.util.GUIHelper;
import net.preibisch.mvrecon.fiji.spimdata.SpimData2;
Expand Down Expand Up @@ -1316,7 +1316,7 @@ else if (resaveAsN5)
if ( n5params == null )
return null;

data = Resave_N5.resaveN5( data, viewIds, n5params, false );
data = Resave_N5Api.resaveN5( data, viewIds, n5params, false );

// Re-assemble a new SpimData object containing the subset of viewsetups and timepoints selected
//final SpimData2 newSpimData = Resave_TIFF.assemblePartialSpimData2( data, viewIds, chosenPathXMLURI , new ArrayList<>() );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
import util.Grid;
import util.URITools;

public class Resave_N5 implements PlugIn
public class Resave_N5Api implements PlugIn
{
@Override
public void run(String arg)
Expand Down Expand Up @@ -275,6 +275,6 @@ public static void main(String[] args)
});

new ImageJ();
new Resave_N5().run( null );
new Resave_N5Api().run( null );
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
import net.preibisch.mvrecon.fiji.plugin.resave.ParametersResaveN5;
import net.preibisch.mvrecon.fiji.plugin.resave.ProgressWriterIJ;
import net.preibisch.mvrecon.fiji.plugin.resave.Resave_HDF5;
import net.preibisch.mvrecon.fiji.plugin.resave.Resave_N5;
import net.preibisch.mvrecon.fiji.plugin.resave.Resave_N5Api;
import net.preibisch.mvrecon.fiji.plugin.resave.Resave_TIFF;
import net.preibisch.mvrecon.fiji.plugin.resave.Resave_TIFF.ParametersResaveAsTIFF;
import net.preibisch.mvrecon.fiji.spimdata.SpimData2;
Expand Down Expand Up @@ -309,7 +309,7 @@ else if (index == 4 || index == 5) // 4 == in-place, 5 == choose path
basePathURI = data.getBasePathURI();
}

final SpimData2 newSpimData = Resave_N5.resaveN5( data, viewIds, n5params, false );
final SpimData2 newSpimData = Resave_N5Api.resaveN5( data, viewIds, n5params, false );

// replace imgLoader
newSpimData.getSequenceDescription().setImgLoader( new N5ImageLoader( n5params.n5URI, newSpimData.getSequenceDescription() ) );
Expand Down

0 comments on commit 3cc1fd2

Please sign in to comment.