Skip to content

Commit 6cbb67d

Browse files
committedOct 28, 2024·
fix makefile target to run pytests
1 parent 2a86455 commit 6cbb67d

File tree

8 files changed

+24416
-24430
lines changed

8 files changed

+24416
-24430
lines changed
 

‎Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ test-schema: gen-project
141141

142142
test-python:
143143
cp biolink-model.yaml src/biolink_model/schema/biolink_model.yaml
144-
$(RUN) python -m unittest discover -p 'test_*.py'
144+
$(RUN) pytest
145145

146146
lint:
147147
cp biolink-model.yaml src/biolink_model/schema/biolink_model.yaml

‎project/jsonld/biolink_model.context.jsonld

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"comments": {
33
"description": "Auto generated by LinkML jsonld context generator",
4-
"generation_date": "2024-10-14T23:06:39",
4+
"generation_date": "2024-10-28T13:35:21",
55
"source": "biolink_model.yaml"
66
},
77
"@context": {

‎project/jsonld/biolink_model.jsonld

+3-3
Original file line numberDiff line numberDiff line change
@@ -35761,9 +35761,9 @@
3576135761
],
3576235762
"metamodel_version": "1.7.0",
3576335763
"source_file": "biolink_model.yaml",
35764-
"source_file_date": "2024-10-14T23:06:36",
35765-
"source_file_size": 401471,
35766-
"generation_date": "2024-10-14T23:06:41",
35764+
"source_file_date": "2024-10-28T13:35:17",
35765+
"source_file_size": 401272,
35766+
"generation_date": "2024-10-28T13:35:23",
3576735767
"@type": "SchemaDefinition",
3576835768
"@context": [
3576935769
"project/jsonld/biolink_model.context.jsonld",

‎project/owl/biolink_model.owl.ttl

+2,883-2,890
Large diffs are not rendered by default.

‎project/shacl/biolink_model.shacl.ttl

+21,525-21,525
Large diffs are not rendered by default.

‎src/biolink_model/datamodel/model.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Auto generated from biolink_model.yaml by pythongen.py version: 0.0.1
2-
# Generation date: 2024-10-14T23:06:54
2+
# Generation date: 2024-10-28T13:35:36
33
# Schema: Biolink-Model
44
#
55
# id: https://w3id.org/biolink/biolink-model

‎src/biolink_model/schema/biolink_model.yaml

+1-8
Original file line numberDiff line numberDiff line change
@@ -2703,7 +2703,6 @@ slots:
27032703
- translator_minimal
27042704
domain: chemical entity or gene or gene product
27052705
range: chemical entity or gene or gene product
2706-
inverse: response affected by
27072706
annotations:
27082707
canonical_predicate: true
27092708
exact_mappings:
@@ -2719,6 +2718,7 @@ slots:
27192718
- translator_minimal
27202719
domain: chemical entity or gene or gene product
27212720
range: chemical entity or gene or gene product
2721+
inverse: affects response to
27222722

27232723
increases response to:
27242724
description: >-
@@ -2842,7 +2842,6 @@ slots:
28422842
range: gene
28432843
annotations:
28442844
canonical_predicate: true
2845-
inverse: has gene product
28462845
in_subset:
28472846
- translator_minimal
28482847

@@ -2883,7 +2882,6 @@ slots:
28832882
range: gene
28842883
annotations:
28852884
canonical_predicate: true
2886-
inverse: transcribed to
28872885
description: >-
28882886
x is transcribed from y if and only if x is synthesized from template y
28892887
exact_mappings:
@@ -2896,7 +2894,6 @@ slots:
28962894
range: protein
28972895
annotations:
28982896
canonical_predicate: true
2899-
inverse: translation of
29002897
description: >-
29012898
x (amino acid chain/polypeptide) is the ribosomal translation of y (transcript) if and only if a ribosome
29022899
reads y (transcript) through a series of triplet codon-amino acid adaptor activities (GO:0030533)
@@ -4525,7 +4522,6 @@ slots:
45254522
canonical_predicate: true
45264523
in_subset:
45274524
- translator_minimal
4528-
inverse: enabled by
45294525
exact_mappings:
45304526
- RO:0002327
45314527

@@ -4572,7 +4568,6 @@ slots:
45724568
in_subset:
45734569
- translator_minimal
45744570
- samples
4575-
inverse: derives into
45764571
exact_mappings:
45774572
- RO:0001000
45784573
- FMA:derives_from
@@ -4684,7 +4679,6 @@ slots:
46844679
opposite_of: is excipient of
46854680
in_subset:
46864681
- translator_minimal
4687-
inverse: is active ingredient of
46884682
mappings:
46894683
- RO:0002248
46904684

@@ -4838,7 +4832,6 @@ slots:
48384832
range: occurrent
48394833
annotations:
48404834
canonical_predicate: true
4841-
inverse: preceded by
48424835
in_subset:
48434836
- translator_minimal
48444837
close_mappings:

‎src/biolink_model/scripts/classprefixes.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Auto generated from class_prefixes.yaml by pythongen.py version: 0.0.1
2-
# Generation date: 2024-10-14T23:07:37
2+
# Generation date: 2024-10-28T13:36:19
33
# Schema: BiolinkClassPrefixes
44
#
55
# id: biolink-model-class-prefixes

0 commit comments

Comments
 (0)
Please sign in to comment.