Skip to content

Commit

Permalink
typo and minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
endixk committed Aug 10, 2023
1 parent 6dbbe3d commit a27b399
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/module/TrainModule.java
Original file line number Diff line number Diff line change
Expand Up @@ -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'));
Expand Down Expand Up @@ -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()];
Expand Down
2 changes: 1 addition & 1 deletion src/pipeline/ModuleHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit a27b399

Please sign in to comment.