Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added new format for hoc language #713

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
30 changes: 28 additions & 2 deletions EDAM_dev.owl
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
xmlns:oboInOwl="http://www.geneontology.org/formats/oboInOwl#"
xmlns:oboOther="http://purl.obolibrary.org/obo/">
<owl:Ontology rdf:about="http://edamontology.org">
<next_id>4019</next_id>
<oboOther:date>16.05.2021 11:52 UTC</oboOther:date>
<next_id>4020</next_id>
<oboOther:date>03.06.2021 19:35 UTC</oboOther:date>
<oboOther:idspace>EDAM http://edamontology.org/ &quot;EDAM relations and concept properties&quot;</oboOther:idspace>
<oboOther:idspace>EDAM_data http://edamontology.org/data_ &quot;EDAM types of data&quot;</oboOther:idspace>
<oboOther:idspace>EDAM_format http://edamontology.org/format_ &quot;EDAM data formats&quot;</oboOther:idspace>
Expand Down Expand Up @@ -37319,6 +37319,32 @@ experiments employing a combination of technologies.</oboInOwl:hasDefinition>



<!-- http://edamontology.org/format_4019 -->

<owl:Class rdf:about="http://edamontology.org/format_4019">
<created_in>1.26</created_in>
<rdfs:label>HOC</rdfs:label>
<oboInOwl:hasExactSynonym>High Order Calculator</oboInOwl:hasExactSynonym>
<file_extension>hoc</file_extension>
<oboInOwl:inSubset rdf:resource="http://purl.obolibrary.org/obo/edam#edam"/>
<oboInOwl:inSubset rdf:resource="http://purl.obolibrary.org/obo/edam#formats"/>
<oboInOwl:hasDefinition>hoc (High Order Calculator) is an interpreted programming language used as the primary scripting language for the NEURON simulator.</oboInOwl:hasDefinition>
<rdfs:subClassOf rdf:resource="http://edamontology.org/format_2330"/>
<rdfs:subClassOf rdf:resource="http://edamontology.org/format_2013"/>
<rdfs:subClassOf>
<owl:Restriction>
<owl:onProperty rdf:resource="http://edamontology.org/is_format_of"/>
<owl:someValuesFrom rdf:resource="http://edamontology.org/data_3241"/>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

property_value = term['owl:someValuesFrom']['@id']
TypeError: list indices must be integers or slices, not str
Error: Process completed with exit code 1.

this's the reason for failing test cases @matuskalas

can you give an example using these two lines, for how should I write them for type consistency.
I wrote them on two lines, but I guess this might work on the same line since data type is list here, according to the failing test cases.

<owl:someValuesFrom rdf:resource="http://edamontology.org/data_3869"/>
</owl:Restriction>
</rdfs:subClassOf>
<documentation rdf:resource="https://www.neuron.yale.edu/neuron/static/new_doc/programming/hoc.html"/>
<rdfs:seeAlso rdf:resource="https://en.wikipedia.org/wiki/Hoc_(programming_language)"/>
<example rdf:resource="https://senselab.med.yale.edu/ModelDB/ModelList?id=1882"/>
</owl:Class>



<!-- http://edamontology.org/operation_0004 -->

<owl:Class rdf:about="http://edamontology.org/operation_0004">
Expand Down