Skip to content

Commit

Permalink
Update to OT schema 1.7.5
Browse files Browse the repository at this point in the history
  • Loading branch information
tskir committed Jan 20, 2021
1 parent b1f78a1 commit a2fd920
Show file tree
Hide file tree
Showing 9 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions docs/generate-evidence-strings.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ export OT_RELEASE=YYYY-MM
export CLINVAR_RELEASE_YEAR=YYYY
export CLINVAR_RELEASE_MONTH=MM

# Open Targets JSON schema version
export OT_SCHEMA_VERSION=1.7.3
# Open Targets JSON schema version.
export OT_SCHEMA_VERSION=1.7.5

# Open Targets validator schema version
export OT_VALIDATOR_VERSION=0.6.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"type": null,
"id": []
},
"validated_against_schema_version": "1.7.3",
"validated_against_schema_version": "1.7.5",
"disease": {
"id": []
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"type": "somatic_mutation",
"access_level": "public",
"sourceID": "eva_somatic",
"validated_against_schema_version": "1.7.3",
"validated_against_schema_version": "1.7.5",
"disease": {
"id": []
},
Expand Down
2 changes: 1 addition & 1 deletion tests/evidence_string_generation/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@

snp_2_gene_file = os.path.join(test_dir, 'resources/snp2gene_extract.tsv')
test_clinvar_record_file = os.path.join(test_dir, 'resources/test_clinvar_record.json')
open_targets_schema_gz = os.path.join(test_dir, 'resources/opentargets.1.7.3.json.gz')
open_targets_schema_gz = os.path.join(test_dir, 'resources/opentargets.1.7.5.json.gz')
expected_genetics_evidence_string = os.path.join(test_dir, 'resources/expected_genetics_evidence_string.json')
expected_somatic_evidence_string = os.path.join(test_dir, 'resources/expected_somatic_evidence_string.json')
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
"phenotype": "http://www.orpha.net/ORDO/Orphanet_88991",
"variant_id": "rs28940313"
},
"validated_against_schema_version": "1.7.3",
"validated_against_schema_version": "1.7.5",
"variant": {
"id": "http://identifiers.org/dbsnp/rs28940313",
"type": "snp single"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,5 +100,5 @@
"phenotype": "http://www.orpha.net/ORDO/Orphanet_88991",
"variant_id": "rs28940313"
},
"validated_against_schema_version": "1.7.3"
"validated_against_schema_version": "1.7.5"
}
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion tests/evidence_string_generation/test_evidence_strings.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ def setUp(self):
test_args = get_input_data_for_evidence_string_generation()
self.test_ses = evidence_strings.CTTVSomaticEvidenceString(*test_args)
ot_schema_path = os.path.join(
os.path.dirname(__file__), 'resources', 'opentargets.1.7.3.json.gz')
os.path.dirname(__file__), 'resources', 'opentargets.1.7.5.json.gz')
self.ot_schema_contents = json.loads(gzip.open(ot_schema_path).read().decode('utf-8'))

def test_db_xref_url(self):
Expand Down

0 comments on commit a2fd920

Please sign in to comment.