Skip to content

Commit

Permalink
Merge pull request #202 from c3g/qc-exp-group-fix
Browse files Browse the repository at this point in the history
Fixed experimental group JSON bug
  • Loading branch information
UlysseFG authored Dec 16, 2021
2 parents 88a9e47 + 0443faa commit 7c6aa59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/fms_core/services/sample.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def create_full_sample(name, volume, collection_site, creation_date,
**(dict(tissue_source=tissue_source) if tissue_source is not None else dict()),
)
if experimental_group:
derived_sample_data['experimental_group'] = json.dumps([
derived_sample_data['experimental_group'] = ([
g.strip()
for g in RE_SEPARATOR.split(experimental_group)
if g.strip()
Expand Down

0 comments on commit 7c6aa59

Please sign in to comment.