Skip to content

Commit

Permalink
Update lsaBGC-Easy.py
Browse files Browse the repository at this point in the history
  • Loading branch information
raufs authored May 13, 2023
1 parent d6323ac commit 528d678
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workflows/lsaBGC-Easy.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ def lsaBGC_Easy():
accession_count = len(ogalf.readlines())
ogalf.close()

if ((accession_count > 2000) or (accession_count < 10 and not os.path.isdir(user_genomes_directory))) and not ignore_limits_flag:
if ((accession_count > 2000) or (accession_count < 10 and user_genomes_directory == None)) and not ignore_limits_flag:
logObject.error(
"Currently not recommended to use lsaBGC-Easy for taxa with > 2000 genomes or < 10 genomes. In the future this will likely be updated to be a warning, but would rather not risk harming your server!")
sys.stderr.write(
Expand Down

0 comments on commit 528d678

Please sign in to comment.