Migrated Jira Issue CDDSO-623 Jira creation date 27/02/2025 12:56 ------- This function doesn’t handle situations where the query file doesn't match anything. ```2025-02-27 12:50:16 cdds.extract.common.run_moo_cmd DEBUG: moo command: '['moo', 'select', '-i', '-n', '/data/scratch/malcolm.roberts/proc/GCModelDev/DECK/HadGEM3-GC50-EERIE-N640ORCA12_piControl_r1i1p1f1/100Y_test_run/extract/apm_test.dff', 'moose:/crum/u-cx993/apm.pp', '/data/scratch/malcolm.roberts/data/GCModelDev/DECK/HadGEM3-GC50-EERIE-N640ORCA12/piControl/r1i1p1f1/100Y_test_run/input/u-cx993/apm']' 2025-02-27 12:50:18 cdds.extract.common.run_moo_cmd DEBUG: moo output: 'select command-id=1988219067 failed: (SSC_TASK_REJECTION) one or more tasks are rejected.' 2025-02-27 12:50:18 cdds.extract.common.run_moo_cmd DEBUG: moo output: 'moose:/crum/u-cx993/apm.pp -> /data/scratch/malcolm.roberts/data/GCModelDev/DECK/HadGEM3-GC50-EERIE-N640ORCA12/piControl/r1i1p1f1/100Y_test_run/input/u-cx993/apm: (TSSC_QUERY_MATCHES_NO_RESULTS) no file atoms are matched by query text file.' 2025-02-27 12:50:18 cdds.extract.common.run_moo_cmd DEBUG: moo output: 'select: failed (2)'``` -------