Skip to content

Commit

Permalink
Update xml_to_udf.py (#505)(patch)
Browse files Browse the repository at this point in the history
### Changed
- Reverted to the old flow cell path to minimize the amount of different mounts needed
  • Loading branch information
Karl-Svard authored May 24, 2024
1 parent ab3ac52 commit 12ec93f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cg_lims/EPPs/files/xml_to_udf.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def get_run_info(process: Process) -> str:
"""Return RunInfo-file from location on the server."""
flow_cell_id: str = get_flow_cell_id(process=process)
return max(
glob.glob(f"/home/gls/hiseq_data/flow_cell_preproc/*{flow_cell_id}/RunInfo.xml"),
glob.glob(f"/home/gls/hiseq_data/novaseq-clinical-preproc/*{flow_cell_id}/RunInfo.xml"),
key=os.path.getctime,
)

Expand All @@ -69,7 +69,7 @@ def get_run_parameters(process: Process) -> str:
"""Return RunParameters-file from location on the server."""
flow_cell_id: str = get_flow_cell_id(process=process)
return max(
glob.glob(f"/home/gls/hiseq_data/flow_cell_preproc/*{flow_cell_id}/RunParameters.xml"),
glob.glob(f"/home/gls/hiseq_data/novaseq-clinical-preproc/*{flow_cell_id}/RunParameters.xml"),
key=os.path.getctime,
)

Expand Down

0 comments on commit 12ec93f

Please sign in to comment.