Skip to content

Commit

Permalink
Merge pull request #556 from c3g/fix-study-linking-for-pools-qc
Browse files Browse the repository at this point in the history
fix multiple study pools
  • Loading branch information
UlysseFG authored May 15, 2023
2 parents b9e82eb + 8bfd0b0 commit 753ca90
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions backend/fms_core/services/sample.py
Original file line number Diff line number Diff line change
Expand Up @@ -607,10 +607,10 @@ def pool_submitted_samples(samples_info,
except Exception as e:
errors.append(e)

for study_obj in sample['studies']:
_, errors_study, warnings_study = queue_sample_to_study_workflow(pool_sample_obj, study_obj)
errors.extend(errors_study)
warnings.extend(warnings_study)
for study_obj in sample['studies']:
_, errors_study, warnings_study = queue_sample_to_study_workflow(pool_sample_obj, study_obj)
errors.extend(errors_study)
warnings.extend(warnings_study)


return pool_sample_obj, errors, warnings
Expand Down

0 comments on commit 753ca90

Please sign in to comment.