diff --git a/src/module/TrainModule.java b/src/module/TrainModule.java index 7d6fc0c..4ff924c 100644 --- a/src/module/TrainModule.java +++ b/src/module/TrainModule.java @@ -210,7 +210,7 @@ private static void printManual() { UFCGMainPipeline.printGeneral(); - System.out.println(ANSIHandler.wrapper("\n Following binaries should be on the enviornment PATH: ", 'y')); + System.out.println(ANSIHandler.wrapper("\n Following binaries should be on the environment PATH: ", 'y')); System.out.println(ANSIHandler.wrapper(" Binary Required by", 'c')); System.out.println(ANSIHandler.wrapper(" fastBlockSearch profile", 'x')); System.out.println(ANSIHandler.wrapper(" augustus profile", 'x')); @@ -364,7 +364,7 @@ else if(SESSION_UID.equals(GenericConfig.SESSION_UID)){ MARKERS.remove((int) remove.get(i)); MNAMES.remove((int) remove.get(i)); } - if(MARKERS.size() == 0) break; + if(MARKERS.isEmpty()) break; // prepare next iteration seqs = new String[MARKERS.size()]; diff --git a/src/pipeline/ModuleHandler.java b/src/pipeline/ModuleHandler.java index 098090b..fe76ca8 100644 --- a/src/pipeline/ModuleHandler.java +++ b/src/pipeline/ModuleHandler.java @@ -26,7 +26,7 @@ public ModuleHandler(int module, String[] args) { if(argList.contains("-h") || argList.contains("-help") || argList.contains("--help")) { Prompt.SUPPRESS = true; help = true; - } else if(module == UFCGMainPipeline.MODULE_PROFILE && (argList.contains("-hh") || argList.contains("--hh"))) { + } else if((module == UFCGMainPipeline.MODULE_PROFILE || module == UFCGMainPipeline.MODULE_PROFILE_RNA) && (argList.contains("-hh") || argList.contains("--hh"))) { Prompt.SUPPRESS = true; help = true; } else {