diff --git a/cg_lims/EPPs/files/xml_to_udf.py b/cg_lims/EPPs/files/xml_to_udf.py index 6879d34f..47b6889f 100644 --- a/cg_lims/EPPs/files/xml_to_udf.py +++ b/cg_lims/EPPs/files/xml_to_udf.py @@ -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, ) @@ -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, )