Skip to content

Commit

Permalink
Fix compile errors due to MamutProject constructor changes.
Browse files Browse the repository at this point in the history
Now we follow file format v0.2.
  • Loading branch information
tinevez committed Jan 16, 2018
1 parent 639aecd commit 1d5d67c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/main/java/org/mastodon/revised/mamut/Mastodon.java
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public static void main( final String[] args ) throws IOException, SpimDataExcep


final String bdvFile = "samples/datasethdf5.xml";
final MamutProject project = new MamutProject( new File( "samples/mamutproject" ), new File( bdvFile ) );
final MamutProject project = new MamutProject( new File( "samples" ), new File( bdvFile ) );
// final MamutProject project = new MamutProjectIO().load( "samples/mamutproject" );

windowManager.projectManager.open( project );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -678,9 +678,9 @@ public static final void export( final File target, final Model model, final Mam

public static void main( final String[] args ) throws IOException
{
final String projectFolder = "samples";
final String bdvFile = "samples/datasethdf5.xml";
final String modelFile = "samples/model_revised.raw";
final MamutProject project = new MamutProject( new File( "." ), new File( bdvFile ), new File( modelFile ) );
final MamutProject project = new MamutProject( new File( projectFolder ), new File( bdvFile ) );
final Model model = new Model();
model.loadRaw( project.getRawModelFile() );
final File target = new File( "samples/mamutExport.xml" );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ public static void main( final String[] args ) throws IOException, JDOMException
* 1. Load a regular Mastodon project.
*/

final String projectFolder = "samples";
final String bdvFile = "samples/datasethdf5.xml";
final String modelFile = "samples/model_revised.raw";
final MamutProject project = new MamutProject( new File( "." ), new File( bdvFile ), new File( modelFile ) );
final MamutProject project = new MamutProject( new File( projectFolder ), new File( bdvFile ) );
final Model model = new Model();
model.loadRaw( project.getRawModelFile() );

Expand Down

0 comments on commit 1d5d67c

Please sign in to comment.