From 2280edaf5acbd0751c094125d1a010bb1a0ac4b4 Mon Sep 17 00:00:00 2001 From: Auden Cote-L'Heureux <52716489+AudenCote@users.noreply.github.com> Date: Sat, 21 Oct 2023 20:09:27 -0400 Subject: [PATCH] Fixed variable reference error in preguidance.py --- PTL2/Scripts/preguidance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PTL2/Scripts/preguidance.py b/PTL2/Scripts/preguidance.py index dddcbbb..272daea 100644 --- a/PTL2/Scripts/preguidance.py +++ b/PTL2/Scripts/preguidance.py @@ -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)