diff --git a/pom.xml b/pom.xml index 135449a4..14d27278 100644 --- a/pom.xml +++ b/pom.xml @@ -9,7 +9,7 @@ org.embl.mobie mobie-viewer-fiji - 5.2.0 + 5.2.1 diff --git a/src/main/java/org/embl/mobie/command/context/AbstractTransformationCommand.java b/src/main/java/org/embl/mobie/command/context/AbstractTransformationCommand.java index d6500944..57d38aa0 100644 --- a/src/main/java/org/embl/mobie/command/context/AbstractTransformationCommand.java +++ b/src/main/java/org/embl/mobie/command/context/AbstractTransformationCommand.java @@ -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"; diff --git a/src/main/java/org/embl/mobie/command/context/BigWarpRegistrationCommand.java b/src/main/java/org/embl/mobie/command/context/BigWarpRegistrationCommand.java index 4af4be87..52ae9439 100644 --- a/src/main/java/org/embl/mobie/command/context/BigWarpRegistrationCommand.java +++ b/src/main/java/org/embl/mobie/command/context/BigWarpRegistrationCommand.java @@ -70,7 +70,7 @@ public void initialize() super.initialize(); getInfo().getMutableInput( "suffix", String.class ) - .setValue( this, "bigWarp"); + .setValue( this, "bw"); } public void applyTransform() diff --git a/src/main/java/org/embl/mobie/command/context/EnterTransformationCommand.java b/src/main/java/org/embl/mobie/command/context/EnterTransformationCommand.java index ab0c6c1c..dad2e679 100644 --- a/src/main/java/org/embl/mobie/command/context/EnterTransformationCommand.java +++ b/src/main/java/org/embl/mobie/command/context/EnterTransformationCommand.java @@ -55,7 +55,7 @@ public void initialize() super.initialize(); getInfo().getMutableInput( "suffix", String.class ) - .setValue( this, "enter_transformation"); + .setValue( this, "et"); } private void applyTransform() diff --git a/src/main/java/org/embl/mobie/command/context/FlipCommand.java b/src/main/java/org/embl/mobie/command/context/FlipCommand.java index 68463cba..e4f347c9 100644 --- a/src/main/java/org/embl/mobie/command/context/FlipCommand.java +++ b/src/main/java/org/embl/mobie/command/context/FlipCommand.java @@ -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 ); } diff --git a/src/main/java/org/embl/mobie/command/context/ManualTransformationCommand.java b/src/main/java/org/embl/mobie/command/context/ManualTransformationCommand.java index 19fd8a7c..7770da5d 100644 --- a/src/main/java/org/embl/mobie/command/context/ManualTransformationCommand.java +++ b/src/main/java/org/embl/mobie/command/context/ManualTransformationCommand.java @@ -70,7 +70,7 @@ public void initialize() super.initialize(); getInfo().getMutableInput( "suffix", String.class ) - .setValue( this, "manual_transformation"); + .setValue( this, "mt"); } public void startManualTransform()