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

Unbound Local Error in html_output.py #1

Closed
Ksherriff opened this issue Apr 23, 2021 · 2 comments
Closed

Unbound Local Error in html_output.py #1

Ksherriff opened this issue Apr 23, 2021 · 2 comments

Comments

@Ksherriff
Copy link

Hi,

I am attempting to use GutSmash and have run into this error. Running on Ubuntu 20.04. Using the --minimal, --cb-knownclusters, and --enable-genefunctions options. This is the trace back of the error.

Traceback (most recent call last):
File "run_gutsmash.py", line 9, in
entrypoint()
File "/home/kylacochrane/gutsmash/antismash/main.py", line 126, in entrypoint
sys.exit(main(sys.argv[1:]))
File "/home/kylacochrane/gutsmash/antismash/main.py", line 115, in main
antismash.run_antismash(sequence, options)
File "/home/kylacochrane/gutsmash/antismash/main.py", line 609, in run_antismash
result = _run_antismash(sequence_file, options)
File "/home/kylacochrane/gutsmash/antismash/main.py", line 688, in _run_antismash
write_outputs(results, options)
File "/home/kylacochrane/gutsmash/antismash/main.py", line 408, in write_outputs
html.write(results.records, module_results_per_record, options)
File "/home/kylacochrane/gutsmash/antismash/outputs/html/init.py", line 98, in write
generate_webpage(records, results, options)
File "/home/kylacochrane/gutsmash/antismash/outputs/html/generator.py", line 140, in generate_webpage
html_sections = generate_html_sections(record_layers_with_regions, results_by_record_id, options)
File "/home/kylacochrane/gutsmash/antismash/outputs/html/generator.py", line 103, in generate_html_sections
sections.append(handler.generate_html(region, handler_results, record, options))
File "/home/kylacochrane/gutsmash/antismash/modules/clusterblast/html_output.py", line 43, in generate_html
div = generate_div(region_layer, record_layer, options_layer, "knownclusterblast", tooltip)
UnboundLocalError: local variable 'tooltip' referenced before assignment

@victoriapascal
Copy link
Owner

Sorry for the late response. I believe this issue was solved a month ago, see: 140cb2f. Have you been able to run gutSMASH by now already? You can now also try the web server version of it at https://gutsmash.bioinformatics.nl/.

@Ksherriff
Copy link
Author

Ksherriff commented May 26, 2021 via email

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

2 participants