Skip to content

Commit

Permalink
add batch number
Browse files Browse the repository at this point in the history
  • Loading branch information
pieterprovoost committed Jan 22, 2024
1 parent 0eef5ef commit 15c3070
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions index.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,13 @@ def derive_marker_name(input: str) -> str:
occurrence["occurrenceID"] = occurrence["occurrenceID"].apply(lambda x: f"{x}_{marker}")
dna["occurrenceID"] = dna["occurrenceID"].apply(lambda x: f"{x}_{marker}")

# add batch

if "batch1" in dataset:
occurrence["eventRemarks"] = "sequencing batch 1"
elif "batch2" in dataset:
occurrence["eventRemarks"] = "sequencing batch 2"

# append

occurrence_tables.append(occurrence)
Expand Down

0 comments on commit 15c3070

Please sign in to comment.