Skip to content

Commit

Permalink
Jsonify before pushing dict'
Browse files Browse the repository at this point in the history
  • Loading branch information
adelavega committed Oct 13, 2021
1 parent 5078af9 commit e990273
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pyns/models/analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import tqdm
import time
import re
import json

altair = attempt_to_import('altair')
nib = attempt_to_import('nibabel')
Expand Down Expand Up @@ -362,8 +363,8 @@ def _ts_first(paths):
id=id, sub_route='upload', files=files, level='GROUP',
validation_hash=validation_hash, force=force,
fmriprep_version=fmriprep_version, estimator=estimator,
cli_version=cli_version, n_subjects=n_subjects, cli_args=cli_args,
collection_id=collection_id)
cli_version=cli_version, n_subjects=n_subjects,
cli_args=json.dumps(cli_args), collection_id=collection_id)
if collection_id is None:
collection_id = req['collection_id']

Expand Down

0 comments on commit e990273

Please sign in to comment.