Skip to content

Commit

Permalink
update xlsx
Browse files Browse the repository at this point in the history
  • Loading branch information
rannick committed May 30, 2024
1 parent f535e2c commit 4f0c86d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions fusion_report/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,13 +145,14 @@ def export_results(self, path: str, extension: str) -> None:
output, delimiter=",", quotechar='"', quoting=csv.QUOTE_MINIMAL
)
# header
header = ["Fusion", "Databases", "Score", "Explained score"]
header = ["Fusion", "Databases", "Tools", "Score", "Explained score"]
header.extend([x for x in sorted(self.manager.running_tools)])
csv_writer.writerow(header)
for fusion in self.manager.fusions:
row: List[Any] = [
fusion.name,
",".join(fusion.dbs),
[",".join(fusion.dbs)],
fusion.tools,
fusion.score,
fusion.score_explained,
]
Expand Down
2 changes: 1 addition & 1 deletion fusion_report/templates/views/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
{{ include_raw('assets/js/popper-1.14.7.min.js') | safe }}
{{ include_raw('assets/js/bootstrap-4.3.1.min.js') | safe }}
{{ include_raw('assets/js/tabulator.min.js') | safe }}
{{ include_raw('assets/js/xlsx.core-0.14.0.min.js') | safe }}
{{ include_raw('assets/js/xlsx.core-0.20.2.min.js') | safe }}
{{ include_raw('assets/js/jspdf-1.5.3.min.js') | safe }}
{{ include_raw('assets/js/jspdf.plugin.autotable-3.0.10.min.js') | safe }}
{{ include_raw('assets/js/highcharts-7.0.1.js') | safe }}
Expand Down

0 comments on commit 4f0c86d

Please sign in to comment.