obophenotype / cell-ontology

An ontology of cell types
https://obophenotype.github.io/cell-ontology/
Creative Commons Attribution 4.0 International
142 stars 49 forks source link

Trying to solve serialisation/diff issues #1175

Closed matentzn closed 3 years ago

matentzn commented 3 years ago

@lubianat @paolaroncaglia @dosumis (tag any other CL Editors that have edited CL in the last 3 months). Please provide, in a comment here, three pieces of information (please dont update anything, just share the information as is):

  1. A screenshot of your Protege->About information, see attached.
  2. The exact version of your operating system
  3. The output of docker images obolibrary/odkfull on your terminal (if you have docker installed, if not, say so)
  4. The output of robot --version if you have ROBOT installed, if not, say so

image

I have some mid-term strategy moving forward, but it will take a moment to put it in place (in involves updated the OWLAPI version in Protege without actually updating Protege).

dosumis commented 3 years ago

image image

obolibrary/odkfull latest cb723cf17266 2 months ago 2.18GB obolibrary/odkfull 6e43317fb08d 5 months ago 2.09GB

ROBOT version 1.8.1

matentzn commented 3 years ago

@dosumis your docker image output does not indicate the version tag? Mine says, for example:

~ $ docker images obolibrary/odkfull
REPOSITORY           TAG       IMAGE ID       CREATED         SIZE
obolibrary/odkfull   latest    3950a2ef3f73   3 weeks ago     2.38GB
obolibrary/odkfull   v1.2.30   3950a2ef3f73   3 weeks ago     2.38GB
obolibrary/odkfull   v1.2.29   702666a4e0c0   3 weeks ago     2.38GB
obolibrary/odkfull   v1.2.28   bd19f2ddd82a   2 months ago    2.22GB
paolaroncaglia commented 3 years ago

@lubianat @paolaroncaglia @dosumis (tag any other CL Editors that have edited CL in the last 3 months).

Tagging @shawntanzk, @cmungall , @nicolevasilevsky , @addiehl , and @lubianat for his information.

Please provide, in a comment here, three pieces of information (please dont update anything, just share the information as is):

1. A screenshot of your Protege->About information, see attached.

2. The exact version of your operating system

3. The output of `docker images obolibrary/odkfull` on your terminal (if you have docker installed, if not, say so)

4. The output of `robot --version` if you have ROBOT installed, if not, say so

image

I have some mid-term strategy moving forward, but it will take a moment to put it in place (in involves updated the OWLAPI version in Protege without actually updating Protege).

dosumis commented 3 years ago

Seems not

$ docker images obolibrary/odkfull
REPOSITORY           TAG       IMAGE ID       CREATED         SIZE
obolibrary/odkfull   latest    cb723cf17266   2 months ago    2.18GB
obolibrary/odkfull   <none>    6e43317fb08d   5 months ago    2.09GB

Tried a few options on the command, but none printed version

paolaroncaglia commented 3 years ago
  1. Screen Shot 2021-07-19 at 10 42 18

  2. Screen Shot 2021-07-19 at 10 43 38

  3. I don't have docker installed

  4. I don't have ROBOT installed

Thanks @matentzn !

shawntanzk commented 3 years ago
  1. Screenshot 2021-07-19 at 09 45 26

  2. Screenshot 2021-07-19 at 09 48 56

  3. shawntan@C02DW26DML87 ontology % docker images obolibrary/odkfull
    REPOSITORY           TAG       IMAGE ID       CREATED        SIZE
    obolibrary/odkfull   latest    742aa3c8a1a2   5 weeks ago    2.35GB
    obolibrary/odkfull   <none>    cb723cf17266   2 months ago   2.18GB
    obolibrary/odkfull   <none>    d9f55e6b6404   3 months ago   2.17GB
  4. shawntan@C02DW26DML87 ontology % sh run.sh robot --version
    ROBOT version 1.8.1
lubianat commented 3 years ago

1. image

2. image

  1. REPOSITORY           TAG                 IMAGE ID            CREATED             SIZE
    obolibrary/odkfull   latest              742aa3c8a1a2        5 weeks ago         2.35GB
  2. ROBOT is not installed
nicolevasilevsky commented 3 years ago

image

image

image

I guess I don't have ROBOT installed on this new computer: nicolevasilevsky@CHAI-M-C02FK38 ~ % robot --version zsh: command not found: robot nicolevasilevsky@CHAI-M-C02FK38 ~ %

matentzn commented 3 years ago

Sorry to bug you all again. Can you please:

  1. Open CL (Edit file) in Protege
  2. Save as RDFXML somewhere
  3. share here the last two lines of that file (e.g. tail -2 ~/cl.owl)

Example:

matentzn@mbp:~ $ tail -2 ~/cl.owl
<!-- Generated by the OWL API (version 4.5.9.2019-02-01T07:24:44Z) https://github.com/owlcs/owlapi -->
shawntanzk commented 3 years ago

I have the same as yours @matentzn

<!-- Generated by the OWL API (version 4.5.9.2019-02-01T07:24:44Z) https://github.com/owlcs/owlapi -->

paolaroncaglia commented 3 years ago

Me too @matentzn :

<!-- Generated by the OWL API (version 4.5.9.2019-02-01T07:24:44Z) https://github.com/owlcs/owlapi -->

lubianat commented 3 years ago

@matentzn did the same here, same result too: <!-- Generated by the OWL API (version 4.5.9.2019-02-01T07:24:44Z) https://github.com/owlcs/owlapi -->

matentzn commented 3 years ago

For now, we use this strategy: https://obophenotype.github.io/cell-ontology/Fixing_xsdstring_diffs.html

Expect some hiccups for a few weeks while pull requests are being merged which are not yet normalised.

The longer term solution is to ensure

For now, this wont fix - so I will close it - the discussion will resume on the OWLAPI trakcer.

matentzn commented 3 years ago

@cmungall

See here a diff that @gouttegd got when editing an OBO file with the newest OWL API. Can you check its all in order?

fbbt-edit.obo.txt

cmungall commented 3 years ago

so + is the newer version?

this doesn't look good:

-property_value: IAO:0006011 FBbt:00000464 {xref="FlyBase:FBrf0076757", xref="FlyBase:FBrf0228644", xref="FlyBase:FBrf0228646"}
+property_value: IAO:0006011 "FBbt:00000464" {xref="FlyBase:FBrf0076757", xref="FlyBase:FBrf0228644", xref="FlyBase:FBrf0228646"}

some differences wrt escaping, neither right nor wrong as the spec has always been underspecified here

-comment: Pre-synaptic terminals were assessed by labelling with a UAS-Synaptotagmin reporter (P\{UAS-HA-syt}) [FBtp0015803]. The neurotransmitter was assessed by labelling cells with an anti-ChAT antibody (Hasegawa et al., 2011). The morphology of the terminals was judged from figures in Fischbach and Dittrich (1989) as assessed by FlyBrain Neuron DB. Connectivity and morphology in the medulla were assessed by electron microscopy reconstruction from 7 columns (Takemura et al., 2013).
+comment: Pre-synaptic terminals were assessed by labelling with a UAS-Synaptotagmin reporter (P\{UAS-HA-syt\}) [FBtp0015803]. The neurotransmitter was assessed by labelling cells with an anti-ChAT antibody (Hasegawa et al., 2011). The morphology of the terminals was judged from figures in Fischbach and Dittrich (1989) as assessed by FlyBrain Neuron DB. Connectivity and morphology in the medulla were assessed by electron microscopy reconstruction from 7 columns (Takemura et al., 2013).

we need to test on more than fbbt. Is there a robot jar I could test?

matentzn commented 3 years ago

https://www.dropbox.com/s/3wr8lcuz3pkopoo/robot.jar?dl=0