Skip to content

Commit

Permalink
remove prints
Browse files Browse the repository at this point in the history
  • Loading branch information
rannick committed Apr 3, 2024
1 parent f766c0e commit e264a4c
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 2 deletions.
31 changes: 31 additions & 0 deletions fusion_report.log.2023-11-24
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
2023-11-24 14:12:33,234 - CRITICAL - fusion_report.common.net - table "mbca" already exists
Traceback (most recent call last):
File "/Users/annick.renevey/anaconda3/envs/fusion-report/lib/python3.9/site-packages/fusion_report-2.1.5-py3.9.egg/fusion_report/common/db.py", line 61, in setup
self.create_database()
File "/Users/annick.renevey/anaconda3/envs/fusion-report/lib/python3.9/site-packages/fusion_report-2.1.5-py3.9.egg/fusion_report/common/db.py", line 84, in create_database
self.connection.executescript(schema.read().lower())
sqlite3.OperationalError: table "mbca" already exists

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/Users/annick.renevey/anaconda3/envs/fusion-report/lib/python3.9/site-packages/fusion_report-2.1.5-py3.9.egg/fusion_report/app.py", line 72, in run
Download(params)
File "/Users/annick.renevey/anaconda3/envs/fusion-report/lib/python3.9/site-packages/fusion_report-2.1.5-py3.9.egg/fusion_report/download.py", line 23, in __init__
self.download_all(params)
File "/Users/annick.renevey/anaconda3/envs/fusion-report/lib/python3.9/site-packages/fusion_report-2.1.5-py3.9.egg/fusion_report/download.py", line 42, in download_all
Net.get_mitelman(self, return_err)
File "/Users/annick.renevey/anaconda3/envs/fusion-report/lib/python3.9/site-packages/fusion_report-2.1.5-py3.9.egg/fusion_report/common/net.py", line 204, in get_mitelman
db.setup(files, delimiter="\t", skip_header=False, encoding="ISO-8859-1")
File "/Users/annick.renevey/anaconda3/envs/fusion-report/lib/python3.9/site-packages/fusion_report-2.1.5-py3.9.egg/fusion_report/common/db.py", line 79, in setup
raise DbException(ex)
fusion_report.common.exceptions.db.DbException: table "mbca" already exists

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/Users/annick.renevey/Projects/fusion-report/./bin/fusion_report", line 13, in <module>
app.run()
File "/Users/annick.renevey/anaconda3/envs/fusion-report/lib/python3.9/site-packages/fusion_report-2.1.5-py3.9.egg/fusion_report/app.py", line 79, in run
raise AppException(ex)
fusion_report.common.exceptions.app.AppException: table "mbca" already exists
31 changes: 31 additions & 0 deletions fusion_report.log.2023-11-27
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
2023-11-27 10:01:30,030 - CRITICAL - fusion_report.common.net - table "mbca" already exists
Traceback (most recent call last):
File "/Users/annick.renevey/anaconda3/envs/fusion-report/lib/python3.9/site-packages/fusion_report-2.1.5-py3.9.egg/fusion_report/common/db.py", line 61, in setup
self.create_database()
File "/Users/annick.renevey/anaconda3/envs/fusion-report/lib/python3.9/site-packages/fusion_report-2.1.5-py3.9.egg/fusion_report/common/db.py", line 84, in create_database
self.connection.executescript(schema.read().lower())
sqlite3.OperationalError: table "mbca" already exists

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/Users/annick.renevey/anaconda3/envs/fusion-report/lib/python3.9/site-packages/fusion_report-2.1.5-py3.9.egg/fusion_report/app.py", line 72, in run
Download(params)
File "/Users/annick.renevey/anaconda3/envs/fusion-report/lib/python3.9/site-packages/fusion_report-2.1.5-py3.9.egg/fusion_report/download.py", line 23, in __init__
self.download_all(params)
File "/Users/annick.renevey/anaconda3/envs/fusion-report/lib/python3.9/site-packages/fusion_report-2.1.5-py3.9.egg/fusion_report/download.py", line 42, in download_all
Net.get_mitelman(self, return_err)
File "/Users/annick.renevey/anaconda3/envs/fusion-report/lib/python3.9/site-packages/fusion_report-2.1.5-py3.9.egg/fusion_report/common/net.py", line 204, in get_mitelman
db.setup(files, delimiter="\t", skip_header=False, encoding="ISO-8859-1")
File "/Users/annick.renevey/anaconda3/envs/fusion-report/lib/python3.9/site-packages/fusion_report-2.1.5-py3.9.egg/fusion_report/common/db.py", line 79, in setup
raise DbException(ex)
fusion_report.common.exceptions.db.DbException: table "mbca" already exists

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/Users/annick.renevey/Projects/fusion-report/./bin/fusion_report", line 13, in <module>
app.run()
File "/Users/annick.renevey/anaconda3/envs/fusion-report/lib/python3.9/site-packages/fusion_report-2.1.5-py3.9.egg/fusion_report/app.py", line 79, in run
raise AppException(ex)
fusion_report.common.exceptions.app.AppException: table "mbca" already exists
2 changes: 0 additions & 2 deletions fusion_report/modules/index_summary/index_summary.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,8 @@ def tool_detection(self) -> List[List[Any]]:
counts["together"] = 0
running_tools_count: int = len(running_tools)
for fusion in self.manager.fusions:
print(fusion.name)
fusion_tools = fusion.tools.keys()
for tool in fusion_tools:
print(tool)
counts[tool] += 1
# intersection
if len(fusion_tools) == running_tools_count:
Expand Down

0 comments on commit e264a4c

Please sign in to comment.