From 3900e185eca2fb0d8979fd150ef910cbd97f515d Mon Sep 17 00:00:00 2001 From: Noa Arama Date: Tue, 3 Mar 2026 12:19:24 -0800 Subject: [PATCH] Condition on having files in fileList for ordering Metadata files --- onc/+onc/OncDelivery.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/onc/+onc/OncDelivery.m b/onc/+onc/OncDelivery.m index bc35aae..e99e2f8 100644 --- a/onc/+onc/OncDelivery.m +++ b/onc/+onc/OncDelivery.m @@ -275,7 +275,7 @@ end % get metadata if required - if getMetadata + if getMetadata & ~isempty(fileList) dpf = onc.DataProductFile(runId, 'meta', baseUrl, token, this.showInfo); status = dpf.download(timeout, this.pollPeriod, outPath, maxRetries, overwrite); if status ~= 200