Skip to content

Incorporate missing standards version into .env files or make version an optional cli param #45

Description

@gerrycampion

Currently this code allows rules to be run with test data from the ruletester endpoint without specifying a standard version:
https://github.com/cdisc-org/cdisc-rules-engine/blob/2cb62eef087d44269fe504aa8dc191f58ce7db47/scripts/run_validation.py#L296-L303

This conflicts with the open rules which runs from the cli, which requires a standard version:
https://github.com/cdisc-org/cdisc-rules-engine/blob/2cb62eef087d44269fe504aa8dc191f58ce7db47/core.py#L367

Note that none of the USDM rule test data have a version specified in the .env file. We will need to:
A. add any missing versions to all of the .env files using the same logic in run_validation
B. allow standard version to be an optional param in the cli

A is preferred but harder.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

Priority

None yet

T-shirt sizing

None yet

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions