Skip to content

Commit c032bf3

Browse files
authored
Merge pull request #328 from OHBA-analysis/matsvanes-patch-1
Update src_report.py
2 parents 2edca7e + 1dfe1f1 commit c032bf3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

osl/report/src_report.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,7 @@ def gen_html_summary(reportdir, logsdir=None):
287287
flip_table["Session ID"] = [subject_data[i]["fif_id"] for i in range(len(subject_data))]
288288
flip_table["Correlation before flipping "] = np.round(metrics[:,0], decimals=3)
289289
flip_table["Correlation after flipping "] = np.round(metrics[:,1:].max(axis=1), decimals=3)
290+
flip_table["Correlation change (after-before) "] = np.round(flip_table["Correlation after flipping "]-flip_table["Correlation before flipping "], decimals=3)
290291
flip_table.index += 1 # Start indexing from 1
291292
data['signflip_table'] = flip_table.to_html(classes="display", table_id="signflip_tbl")
292293

0 commit comments

Comments
 (0)