Skip to content

Commit

Permalink
increase img width to 80% and get database URL from artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
sjanssen2 committed Mar 11, 2024
1 parent b104f58 commit 894363e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions qtp_wordcloud/wordcloud.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def _indent(rows, indent=5):
</head>
<body>
<div style="text-align: center;">
<img src = "wordcloud.svg" alt="%s"/>
<img src="wordcloud.svg" alt="%s" width="80%%"/>
</div>
<div style="">
<h1>Query Statistics</h1>
Expand Down Expand Up @@ -168,7 +168,8 @@ def generate_html_summary(qclient, job_id, parameters, out_dir):
if file not in filepaths.keys():
raise ValueError("Cannot find file '%s'" % file)
html = _generate_html_code(filepaths['log'][0],
filepaths['tabular_text'][0], 'kurt')
filepaths['tabular_text'][0],
parameters['dbBact server URL'])
of_fp = join(out_dir, "index.html")
with open(of_fp, 'w') as of:
of.write(html)
Expand Down

0 comments on commit 894363e

Please sign in to comment.