From 15c30700008bdc0cef1ccb0eff3e2252bd193015 Mon Sep 17 00:00:00 2001 From: Pieter Provoost Date: Mon, 22 Jan 2024 15:35:04 +0000 Subject: [PATCH] add batch number --- index.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/index.py b/index.py index 1d117c1..56772a9 100644 --- a/index.py +++ b/index.py @@ -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)