Skip to content

Commit

Permalink
Add duplicate code todo
Browse files Browse the repository at this point in the history
  • Loading branch information
rernst committed Mar 4, 2024
1 parent a2ceef6 commit af57ce0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions clarity_epp/export/merge.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ def create_file(lims, process_id, output_file):
output_container = process.output_containers()[0]

# Get unique sample artifacts in run
# TODO: This is a copy of the code from ped.py. It should be refactored to a common function.
sample_artifacts = []
for lane_artifact in output_container.get_placements().values():
for sample_artifact in get_sample_artifacts_from_pool(lims, lane_artifact):
Expand Down
1 change: 1 addition & 0 deletions clarity_epp/export/ped.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ def create_file(lims, process_id, output_file):
output_container = process.output_containers()[0]

# Get unique sample artifacts in run
# TODO: This is a copy of the code from merge.py. It should be refactored to a common function.
sample_artifacts = []
for lane_artifact in output_container.get_placements().values():
for sample_artifact in get_sample_artifacts_from_pool(lims, lane_artifact):
Expand Down

0 comments on commit af57ce0

Please sign in to comment.