cdisc-org / cdisc-org/cdisc-rules-engine
Rule blocked: CORERULES-558
- Dominant language
- Python
- Stars
- 113
- Forks
- 43
- Avg merge
- 14h 51m
- Merged PRs (30d)
- 14
Description
**Links to related JIRA Tickets**
- https://jira.cdisc.org/browse/CORERULES-558
**Rule Information**
- **SENDIG**:
- **106**:
- **Rule Description**: If strain information is not included in DM it must be included in TS.
i.e. when the "STRAIN" variable is absent in DM, there must be a record in TS with TSPARMCD=STRAIN
**Describe the bug**
Gerry made a first prototype of an implementation in YAML. When tested on a positive (but also negative) Excel test file, it produces an error for DM.
**Error returned from Rule Engine**
{
"TS": [
{
"executionStatus": "skipped",
"domain": "TS",
"variables": [],
"message": null,
"errors": []
}
],
"DM": [
{
"executionStatus": "execution_error",
"domain": "DM",
"variables": [],
"message": "rule execution error",
"errors": [
{
"error": "An unknown exception has occurred",
"message": "index 0 is out of bounds for axis 0 with size 0"
}
]
}
]
}
**Expected behavior**
Gerry thinks another approach, maybe with new functions, should be taken
**Screenshots**
I attach the "export" from the rule-editor, containing input and output
[SEND_106_bug.zip](https://github.com/cdisc-org/cdisc-rules-engine/files/12312194/SEND_106_bug.zip)
Contributor guide
Assessment
This issue has not been assessed yet.