Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fix $DIAMOND_PATH uninitialised error with --skipAllTraining option #54

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions scripts/galba.pl
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@
fix_AUGUSTUS_CONFIG_PATH(); # if not writable, set to ~/.augustus
set_PYTHON3_PATH();

if (not ($skipAllTraining)){
if (not ($skipAllTraining && $disable_diamond_filter)){
set_DIAMOND_PATH();
}

Expand Down Expand Up @@ -6190,4 +6190,4 @@ sub filter_by_diamond {
system("$pythonCmdString") == 0
or die("ERROR in file " . __FILE__ ." at line ". __LINE__
. "\nFailed to execute: $pythonCmdString\n");
}
}