cylc / cylc-flow

Cylc: a workflow engine for cycling systems.
https://cylc.github.io
GNU General Public License v3.0
331 stars 93 forks source link

Allow negative integer cycle points? #4224

Open hjoliver opened 3 years ago

hjoliver commented 3 years ago

We fail this:

initial cycle point = -10

validation result:

$ cylc val flow.cylc 
IllegalValueError: (type=cycle point) [scheduling]initial cycle point = -10

But @kinow has discovered that the command line accepts negative points, and that the workflow then runs just fine:

$ cylc play --initial-cycle-point=-10 blah/run1

Job log path seems to be fine with - chars present too.

? should we

hjoliver commented 3 years ago

Meeting: allow it, make validation consistent.