Skip to content

Commit 84a7d98

Browse files
committed
fix output dir for figure and table
1 parent d2e1716 commit 84a7d98

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

bidsmreye/visualize.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def collect_group_qc_data(cfg: Config) -> pd.DataFrame:
5151
:return:
5252
:rtype: pd.DataFrame
5353
"""
54-
layout = get_dataset_layout(cfg.input_dir, use_database=False)
54+
layout = get_dataset_layout(cfg.output_dir, use_database=False)
5555

5656
subjects = list_subjects(cfg, layout)
5757

@@ -235,10 +235,10 @@ def group_report(cfg: Config) -> None:
235235
)
236236

237237
fig.show()
238-
group_report_file = Path(cfg.input_dir).joinpath("group_eyetrack.html")
238+
group_report_file = Path(cfg.output_dir).joinpath("group_eyetrack.html")
239239
fig.write_html(group_report_file)
240240

241-
qc_data_file = Path(cfg.input_dir).joinpath("group_eyetrack.tsv")
241+
qc_data_file = Path(cfg.output_dir).joinpath("group_eyetrack.tsv")
242242
qc_data.to_csv(qc_data_file, sep="\t", index=False)
243243

244244

0 commit comments

Comments
 (0)