diff --git a/src/main/java/fr/pasteur/ida/zellige/gui/controller/SelectionController.java b/src/main/java/fr/pasteur/ida/zellige/gui/controller/SelectionController.java index 8080747850e889644f76905459522bc8a0425785..9ddc97e3a5a2315737f8aceff9c011f5107e8e9e 100644 --- a/src/main/java/fr/pasteur/ida/zellige/gui/controller/SelectionController.java +++ b/src/main/java/fr/pasteur/ida/zellige/gui/controller/SelectionController.java @@ -114,6 +114,7 @@ public class SelectionController< T extends RealType< T > & NativeType< T > > im run.setOnAction( actionEvent -> { + run(); } ); @@ -221,7 +222,6 @@ public class SelectionController< T extends RealType< T > & NativeType< T > > im { parentController.getPreprocessingController().checkParameters(); checkParameters(); -// parentController.getPreprocessingController().create4dimImage(); if (! parentController.getPreprocessingController().getInteractor().getModel().getParameterChanged().get() && ! getModel().getParameterChanged().get()) { showInfo( new NoParameterChangeException() ); diff --git a/src/main/java/fr/pasteur/ida/zellige/gui/exception/NoInputException.java b/src/main/java/fr/pasteur/ida/zellige/gui/exception/NoInputException.java index 8ae3d960ff50183efa2b7ce5039593f2488f9483..a2f74f10a193b89feff94c5daf6f2a7b42d2377f 100644 --- a/src/main/java/fr/pasteur/ida/zellige/gui/exception/NoInputException.java +++ b/src/main/java/fr/pasteur/ida/zellige/gui/exception/NoInputException.java @@ -31,7 +31,9 @@ package fr.pasteur.ida.zellige.gui.exception; public class NoInputException extends Exception { - final String message = " No 3D stack loaded on ImageJ"; + final String message = "Oops! No Image Loaded\n" + + "Before running the program, please load an image on Zellige (Input File) .\n" + + "We need it to work our magic! ✨ "; @Override public String getMessage()