Skip to content

Commit

Permalink
5.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
tischi committed Jul 10, 2024
1 parent d0817f0 commit 78f5aeb
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 14 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<groupId>org.embl.mobie</groupId>
<artifactId>mobie-viewer-fiji</artifactId>
<version>5.2.0</version>
<version>5.2.1</version>

<!-- mvn clean install -Dmaven.test.skip=true -Dscijava.app.directory=/Users/tischer/Desktop/Fiji/Fiji-MoBIE.app -->

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ public abstract class AbstractTransformationCommand extends DynamicCommand imple
public SelectableImages selectedImages;

// FIXME: change the suffix based on the registration method in an init()
@Parameter ( label = "Transformed image(s) suffix",
@Parameter ( label = "Transformed image(s) suffix", persist = false,
description = "Upon transformation this suffix will be appended to the moving image name.\n" +
"Carefully choose a meaningful suffix here that will create a unique new image name.\n" +
"Carefully choose a meaningful suffix here to create a UNIQUE new image name.\n" +
"If you leave this empty the input image view will be overwritten.")
public String suffix = "transformed";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public void initialize()
super.initialize();

getInfo().getMutableInput( "suffix", String.class )
.setValue( this, "bigWarp");
.setValue( this, "bw");
}

public void applyTransform()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public void initialize()
super.initialize();

getInfo().getMutableInput( "suffix", String.class )
.setValue( this, "enter_transformation");
.setValue( this, "et");
}

private void applyTransform()
Expand Down
13 changes: 5 additions & 8 deletions src/main/java/org/embl/mobie/command/context/FlipCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -57,19 +57,16 @@ public class FlipCommand extends AbstractTransformationCommand
public void initialize()
{
super.initialize();
}

// @Override
// protected void previewTransform()
// {
// super.previewTransform( createFlipTransform( movingSacs ) );
// }
getInfo().getMutableInput( "suffix", String.class )
.setValue( this, "flip");
}

public void applyTransform()
public void applyTransform() // callback
{
setMovingImages();

// FIXME: This needs a transform for each of the sacs
// FIXME: This needs a different transform for each of the sacs
AffineTransform3D transform = createFlipTransform( movingSacs.iterator().next() );
applyTransform( transform );
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public void initialize()
super.initialize();

getInfo().getMutableInput( "suffix", String.class )
.setValue( this, "manual_transformation");
.setValue( this, "mt");
}

public void startManualTransform()
Expand Down

0 comments on commit 78f5aeb

Please sign in to comment.