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

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

Open
bernt-matthias opened this issue Mar 16, 2021 · 0 comments

Comments

@bernt-matthias
Copy link

xref galaxyproject/tools-iuc#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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant