Skip to content

Commit

Permalink
Merge pull request #78 from emdupre/hotfix
Browse files Browse the repository at this point in the history
[FIX] Hot fix JSON serialize error
  • Loading branch information
emdupre authored Jun 14, 2018
2 parents 30762df + d31b89d commit 2fa0136
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tedana/info.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Base module variables
"""

__version__ = '0.0.2'
__version__ = '0.0.3'
__author__ = 'tedana developers'
__copyright__ = 'Copyright 2017, tedana developers'
__credits__ = ['Elizabeth DuPre', 'Prantik Kundu', 'Ross Markello',
Expand Down
3 changes: 2 additions & 1 deletion tedana/selection/select_comps.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,8 @@ def selcomps(seldict, mmix, mask, ref_img, manacc, n_echos, t2s, s0, olevel=2,
diagstep_vals = [list(rej), KRcut, Kcut, Rcut, dbscanfailed,
midkfailed, list(KRguess), list(min_acc), list(toacc_hi)]
with open('csstepdata.json', 'w') as ofh:
json.dump(dict(zip(diagstep_keys, diagstep_vals)), ofh, indent=4, sort_keys=True)
json.dump(dict(zip(diagstep_keys, diagstep_vals)), ofh,
indent=4, sort_keys=True, default=str)
return list(sorted(min_acc)), list(sorted(rej)), [], list(sorted(to_clf))

# Find additional components to reject based on Dice - doing this here
Expand Down

0 comments on commit 2fa0136

Please sign in to comment.