Skip to content

AD module does not appear to accept the "CLAMPn" directive allowed in archon manual #40

Description

@weatherhead99

WDL has logic to parse the AD clamp logic in the format

SLOT 5 AD {
CLAMP 1 = 0.0;
}

for example. But not in the form

SLOT5 AD {
CLAMP1 = 0.0;
}

which would be the natural way to write it if you had only read the archon manual cover to cover and not the entirety of the wdl source code. The error message emitted is "unknown token" because it reads CLAMP1 as the token which isn't in the big switch statement in wdlParser.py.

Would be more ergonomic (and make no difference to generation) to accept both of these forms.

Metadata

Metadata

Labels

No labels
No labels
No fields configured for Feature.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions