Skip to content

Commit

Permalink
🚧
Browse files Browse the repository at this point in the history
Ref #1211
  • Loading branch information
shnizzedy committed Mar 12, 2020
1 parent b275c7c commit b713844
Show file tree
Hide file tree
Showing 3 changed files with 2,468 additions and 105,663 deletions.
1 change: 0 additions & 1 deletion dev/circleci_data/configs/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ C-PAC:
1.6.2:
default: cpac_default
fmriprep: CPAC_1.6.2/cpac_fmriprep
on_nuisance_new: on_nuisance_new
fmriprep:
1: fmriprep_1
2: fmriprep_2
4 changes: 4 additions & 0 deletions dev/circleci_data/scripts/compare.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ def calc_corr(data1, data2):
return(pearsonr(data1.flatten(), data2.flatten())[0])
if len(data1) == len(data2):
return(pearsonr(data1, data2)[0])
if len(data1) == len(data2) + 1:
return(pearsonr(data1[1:], data2)[0])
if len(data2) == len(data1) + 1:
return(pearsonr(data1, data2[1:])[0])
return(float(np.nan))


Expand Down
Loading

0 comments on commit b713844

Please sign in to comment.