diff --git a/sequencing-server/src/lib/codegen/CommandEDSLPreface.ts b/sequencing-server/src/lib/codegen/CommandEDSLPreface.ts index 40b670bbd0..4331969ab8 100644 --- a/sequencing-server/src/lib/codegen/CommandEDSLPreface.ts +++ b/sequencing-server/src/lib/codegen/CommandEDSLPreface.ts @@ -3287,7 +3287,6 @@ export function hmsToDuration(hms: HMS_STRING, epoch: boolean = false): Temporal if (!epoch) { if (isNegative) {throw new Error(`Signed time (+/-) is not allowed for Relative Times: ${hms}`);} - if (daysNum !== 0) {throw new Error(`Day (DDD) is not allowed for Relative Times: ${hms}`);} } return Temporal.Duration.from({ days: isNegative ? -daysNum : daysNum, diff --git a/sequencing-server/test/__snapshots__/command-types.spec.ts.snap b/sequencing-server/test/__snapshots__/command-types.spec.ts.snap index c2d777396c..b18805597b 100644 --- a/sequencing-server/test/__snapshots__/command-types.spec.ts.snap +++ b/sequencing-server/test/__snapshots__/command-types.spec.ts.snap @@ -3290,7 +3290,6 @@ export function hmsToDuration(hms: HMS_STRING, epoch: boolean = false): Temporal if (!epoch) { if (isNegative) {throw new Error(\`Signed time (+/-) is not allowed for Relative Times: \${hms}\`);} - if (daysNum !== 0) {throw new Error(\`Day (DDD) is not allowed for Relative Times: \${hms}\`);} } return Temporal.Duration.from({ days: isNegative ? -daysNum : daysNum,