Skip to content

Commit

Permalink
fix multiple study pools
Browse files Browse the repository at this point in the history
  • Loading branch information
UlysseFG committed May 12, 2023
1 parent b9e82eb commit 8bfd0b0
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 8bfd0b0

Please sign in to comment.