Skip to content

Commit

Permalink
add warning
Browse files Browse the repository at this point in the history
  • Loading branch information
kedhammar committed Aug 27, 2024
1 parent 0cbddfc commit 20f6dbd
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion scripts/generate_aviti_run_manifest.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,14 @@ def get_flowcell_id(process: Process) -> str:
]

assert len(set(flowcell_ids)) == 1, "Expected one flowcell ID."
flowcell_id = flowcell_ids[0]

return flowcell_ids[0]
if "-" in flowcell_id:
logging.warning(
f"Container name {flowcell_id} contains a dash, did you forget to set the name of the LIMS container to the flowcell ID?"
)

return flowcell_id


def get_runValues_section(process: Process, file_name: str) -> str:
Expand Down

0 comments on commit 20f6dbd

Please sign in to comment.