typedb: committing delete query throws UNKNOWN
Grakn version: 1.5.0-SNAPSHOT
Expected output:
>>> match $pr isa protein has name "ORM1-like protein 3"; $sourcing ($pr) isa sourcing-of-information; delete $sourcing;
{V1032224, V73928}
>>> commit
>>>
Actual output
>>> match $pr isa protein has name "ORM1-like protein 3"; $sourcing ($pr) isa sourcing-of-information; delete $sourcing;
{V1032224, V73928}
>>> commit
UNKNOWN: Vertex with id 1032224 was removed.. Please check server logs for the stack trace.
>>>
Reproducing
git clone git@github.com:sorsaffari/biograkn.git
cd biograkn/blast
git checkout --track origin/blast-example
path/to/grakn-core-1.5.0-SNAPSHOT/graql console -k proteins -f schema.gql
pip3 install grakn
pip3 install biopython
python3 migrate.py
python3 blast.py
wait for blast output to be imported
enter 0 for all questions (cleaning data) > this is actually where the bug was identified. selecting a protein number from the list, throws the error in question.
path/to/grakn-core-1.5.0-SNAPSHOT/graql console -k proteins
>>> match $pr isa protein has name "ORM1-like protein 3"; $sourcing ($pr) isa sourcing-of-information; delete $sourcing;
{V1032224, V73928}
>>> commit
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 16 (15 by maintainers)
@BFergerson I’ve fixed the original BioGrakn issue, which stemmed from trying to delete inferred concepts - please open a new issue if you keep having issues!
Alright, we’ll look into it this week, @BFergerson ! 😃