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

Issue when saving fusion #34

Closed
matq007 opened this issue Jul 5, 2020 · 0 comments
Closed

Issue when saving fusion #34

matq007 opened this issue Jul 5, 2020 · 0 comments

Comments

@matq007
Copy link
Collaborator

matq007 commented Jul 5, 2020

There is a problem when a fusion is in format GENEA--GENEB/GENEC. Missing escaping when saving a fusion.

Processing NFE2L1--SKAP1-AS1:  38%|███▊      | 56/149 [00:07<00:12,  7.38it/s][Errno 2] No such file or directory: './NFE2L1_THRA1/BTR.html'
Traceback (most recent call last):
  File "/fusionreport/lib/python3.7/site-packages/fusion_report/app.py", line 61, in run
    self.generate_report(params)
  File "/fusionreport/lib/python3.7/site-packages/fusion_report/app.py", line 124, in generate_report
    report.render(fusion_page)
  File "/fusionreport/lib/python3.7/site-packages/fusion_report/common/report.py", line 70, in render
    super().render(page, template_variables)
  File "/fusionreport/lib/python3.7/site-packages/fusion_report/common/template.py", line 47, in render
    os.path.join(self.output_dir, page.filename), 'w', encoding='utf-8'
FileNotFoundError: [Errno 2] No such file or directory: './NFE2L1_THRA1/BTR.html'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/fusionreport/bin/fusion_report", line 13, in <module>
    app.run()
  File "/fusionreport/lib/python3.7/site-packages/fusion_report/app.py", line 77, in run
    raise AppException(ex)
fusion_report.common.exceptions.app.AppException: [Errno 2] No such file or directory: './NFE2L1_THRA1/BTR.html'
[Errno 2] No such file or directory: './NFE2L1_THRA1/BTR.html'
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