Skip to content

Commit

Permalink
fixing test for publications attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanDietzMorris committed Apr 12, 2024
1 parent 1fe8d36 commit 61efd26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PLATER/tests/test_question.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,11 @@ def test_format_attribute():

t2_expected_trapi = {'knowledge_graph': {'nodes': {'CURIE:1': {'attributes': [
{'original_attribute_name': 'pub', 'value': 'x', 'value_type_id': 'EDAM:data_0006', 'attribute_type_id': 'preserved_attrib'},
{'original_attribute_name': 'publications', 'value': 'x', 'value_type_id': 'EDAM:data_0006', 'attribute_type_id': 'biolink:publications'},
{'original_attribute_name': 'publications', 'value': 'x', 'value_type_id': 'linkml:Uriorcurie', 'attribute_type_id': 'biolink:publications'},
{'original_attribute_name': 'endogenous', 'value': 'false', 'value_type_id': 'xsd:boolean', 'attribute_type_id': 'aragorn:endogenous'},
{'original_attribute_name': 'p-value', 'value': '1.234', 'value_type_id': 'EDAM:data_0006', 'attribute_type_id': 'biolink:Attribute'},
{'original_attribute_name': 'chi-squared-statistic', 'value': '2.345', 'value_type_id': 'EDAM:data_0006', 'attribute_type_id': 'biolink:Attribute'},
{"original_attribute_name": "equivalent_identifiers", "attribute_type_id": "biolink:same_as", "value": ["some_identifier"], 'value_type_id': 'metatype:uriorcurie'}
{"original_attribute_name": "equivalent_identifiers", "attribute_type_id": "biolink:same_as", "value": ["some_identifier"], 'value_type_id': 'linkml:Uriorcurie'}
]
}}}}

Expand Down

0 comments on commit 61efd26

Please sign in to comment.