Skip to content

Commit 0144d8c

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent b8f4129 commit 0144d8c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

phys2bids/reporting/html_report.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import sys
44
from distutils.dir_util import copy_tree
5-
from os.path import join, basename
5+
from os.path import basename, join
66
from pathlib import Path
77
from string import Template
88

@@ -229,7 +229,9 @@ def generate_report(out_dir, conversion_path, log_path, phys_in):
229229

230230
log_content = log_content.replace("\n", "<br>")
231231
log_html_path = join(conversion_path, basename(phys_in.filename) + ".html")
232-
qc_html_filename = "_".join(basename(phys_in.filename).split("_")[:-1])+"_desc-log_physio.html"
232+
qc_html_filename = (
233+
"_".join(basename(phys_in.filename).split("_")[:-1]) + "_desc-log_physio.html"
234+
)
233235
qc_html_path = join(conversion_path, qc_html_filename)
234236
html = _save_as_html(log_html_path, log_content, qc_html_path)
235237

0 commit comments

Comments
 (0)