Fixed variable reference error in preguidance.py

This commit is contained in:
Auden Cote-L'Heureux 2023-10-21 20:09:27 -04:00 committed by GitHub
parent 156e4ee8d0
commit 2280edaf5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,8 +37,8 @@ def run(params):
else:
Logger.Warning('\tThe sequence ID ' + rec.description + ' is invalid. Please make sure that sequence IDs contain no spaces, tabs, etc. This sequence is being excluded.')
masters = []; removed = 0; flag = 0; cycle = 0
if params.sim_cutoff < 1:
masters = []; removed = 0; flag = 0; cycle = 0
if len(recs) > 1:
while flag == 0:
master_file_name = params.output + '/Output/Temp/SF_Diamond/' + og + '_' + taxon_file[:10] + '_master_' + str(cycle)