Skip to content

Commit

Permalink
python3
Browse files Browse the repository at this point in the history
  • Loading branch information
rernst committed Feb 21, 2024
1 parent 9431630 commit f40ed38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clarity_epp/export/hamilton.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def samplesheet_filling_out(lims, process_id, output_file):
process = Process(lims, id=process_id)
well_plate = {}

for placement, artifact in process.output_containers()[0].placements.iteritems():
for placement, artifact in process.output_containers()[0].placements.items():
placement = ''.join(placement.split(':'))
well_plate[placement] = artifact.samples[0].udf['Dx Fractienummer']

Expand All @@ -29,7 +29,7 @@ def samplesheet_purify(lims, process_id, output_file):
parent_process_barcode = process.parent_processes()[0].output_containers()[0].name
well_plate = {}

for placement, artifact in process.output_containers()[0].placements.iteritems():
for placement, artifact in process.output_containers()[0].placements.items():
placement = ''.join(placement.split(':'))
well_plate[placement] = artifact.samples[0].udf['Dx Fractienummer']

Expand Down

0 comments on commit f40ed38

Please sign in to comment.