Skip to content

Commit

Permalink
update samplesheet
Browse files Browse the repository at this point in the history
  • Loading branch information
Karl-Svard committed Feb 6, 2024
1 parent 5bf8c6c commit 362ece9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cg_lims/EPPs/files/sample_sheet/create_ont_sample_sheet.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ def get_sample_id(artifact: Artifact) -> str:

def get_experiment_name(process: Process) -> str:
""""""
return f"{date.today()}_{process.id}"
if not process.udf.get("Experiment Name"):
raise MissingUDFsError(f"Sample sheet generation requires an experiment name!")
return process.udf.get("Experiment Name")


def get_kit(process: Process) -> str:
Expand Down

0 comments on commit 362ece9

Please sign in to comment.