diff --git a/tedana/info.py b/tedana/info.py index cd70d2edb..9371c7cb8 100644 --- a/tedana/info.py +++ b/tedana/info.py @@ -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', diff --git a/tedana/selection/select_comps.py b/tedana/selection/select_comps.py index 0a5d9ca78..dfa6c53a9 100644 --- a/tedana/selection/select_comps.py +++ b/tedana/selection/select_comps.py @@ -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