ebi-ait / ebi-ait/ingest-graph-validator
2022-04-25: Modify no_orphaned.adoc to capture orphaned biomaterials
- Dominant language
- Python
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the issue**
As a data wrangler, I would like the tests to correctly detect orphaned entities. More information in [dcp-943](https://github.com/ebi-ait/dcp-ingest-central/issues/943)
**Test modification**
- Test name:
- Test Description:
- Cypher query:
```
MATCH (n)
WHERE NOT EXISTS (n)--(:process)
AND NOT (n:supplementary_file)
AND NOT (n:process)
RETURN n, "Entity does not have linkings with any other entity", labels(n)
```
**Acceptance criteria**
- [ ] The test has been reviewed
- [ ] The test has been implemented into the `graph_test_set` folder
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with no_orphaned.adoc and the existing files in the graph_test_set folder, then review dcp-943 for the fuller orphaned-biomaterials requirements. Verify the Cypher query's intended entities and implement the reviewed test in graph_test_set; done means the test detects orphaned entities and satisfies the listed acceptance criteria.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- databases, testing
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100