Skip to content

Commit

Permalink
Merge pull request #364 from chuan-wang/master
Browse files Browse the repository at this point in the history
Fix bug with data type in frag_an_driver_gen
  • Loading branch information
chuan-wang authored Sep 24, 2024
2 parents 0233e09 + 0766cd6 commit e1656a1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
4 changes: 4 additions & 0 deletions VERSIONLOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Scilifelab_epps Version Log

## 20240924.1

Fix bug with data type in frag_an_driver_gen

## 20240920.1

New EPP for parsing VC100 CSV file
Expand Down
11 changes: 6 additions & 5 deletions scripts/frag_an_driver_gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,12 @@ def main(lims, args):
for output in currentStep.all_outputs():
if output.name == "Driver File":
driver_file_out = output
elif output.output_type == "ResultFile":
location_ar = output.location[1].split(":")
valid_cols.add(location_ar[0])
# idx = (ord(location_ar[0])-65)*12 + int(location_ar[1])-1
ar_driver[output.location[1].replace(":", "")] = output.samples[0].name
else:
if output.location[1]:
location_ar = output.location[1].split(":")
valid_cols.add(location_ar[0])
# idx = (ord(location_ar[0])-65)*12 + int(location_ar[1])-1
ar_driver[output.location[1].replace(":", "")] = output.samples[0].name

col_idx = -1
for column in sorted(list(valid_cols)):
Expand Down

0 comments on commit e1656a1

Please sign in to comment.