cbg-ethz / shorah

Repo for the software suite ShoRAH (Short Reads Assembly into Haplotypes)
GNU General Public License v3.0
39 stars 14 forks source link

UnboundLocalError: local variable 'new_clusters' referenced before assignment #82

Open bernt-matthias opened 3 years ago

bernt-matthias commented 3 years ago

xref https://github.com/galaxyproject/tools-iuc/issues/3516

Traceback (most recent call last):
File "/dep/_conda/envs/__shorah@1.1.3/lib/python3.6/logging/handlers.py", line 71, in emit
if self.shouldRollover(record):
File "/dep/_conda/envs/__shorah@1.1.3/lib/python3.6/logging/handlers.py", line 187, in shouldRollover
msg = "%s\n" % self.format(record)
File "/dep/_conda/envs/__shorah@1.1.3/lib/python3.6/logging/init.py", line 840, in format
return fmt.format(record)
File "/dep/_conda/envs/__shorah@1.1.3/lib/python3.6/logging/init.py", line 577, in format
record.message = record.getMessage()
File "/dep/_conda/envs/__shorah@1.1.3/lib/python3.6/logging/init.py", line 338, in getMessage
msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
File "/dep/_conda/envs/__shorah@1.1.3/bin/amplian.py", line 429, in
args.s, args.region, args.diversity)
File "/dep/_conda/envs/__shorah@1.1.3/bin/amplian.py", line 350, in main
ret_diri = run_child(diri_exe, diri_args)
File "/dep/_conda/envs/__shorah@1.1.3/bin/amplian.py", line 63, in run_child
amplog.error("Child %s terminated by signal" % exe_name, retcode)
Message: 'Child /dep/_conda/envs/__shorah@1.1.3/bin/diri_sampler terminated by signal'
Arguments: (1,)
Traceback (most recent call last):
File "/dep/_conda/envs/__shorah@1.1.3/bin/amplian.py", line 429, in
args.s, args.region, args.diversity)
File "/dep/_conda/envs/__shorah@1.1.3/bin/amplian.py", line 354, in main
run_diagnostics(win_file, n_reads)
File "/dep/_conda/envs/__shorah@1.1.3/bin/amplian.py", line 88, in run_diagnostics
if new_clusters < q:
UnboundLocalError: local variable 'new_clusters' referenced before assignment