Skip to content
This repository was archived by the owner on Sep 4, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 16 additions & 4 deletions .github/workflows/ci-lint-validate-convert.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ name: Make JSON-LD and Build Dependencies Table
on:
pull_request:
branches: 'main'
paths: 'HTAN.model.csv'
paths:
- 'HTAN.model.csv'
- '.github/workflows/ci-lint-validate-convert.yml'
release:
types: [published]
workflow_dispatch:
Expand Down Expand Up @@ -117,10 +119,20 @@ jobs:
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: Push changes in non-PR context
- name: Create PR for JSON-LD updates
if: steps.check_pr.outputs.is_pr == 'false'
run: |
git push origin HEAD:${{ github.ref_name }}
uses: peter-evans/create-pull-request@v5
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: "Update HTAN.model.jsonld"
branch: update-jsonld
title: "Update HTAN.model.jsonld"
body: "This PR updates HTAN.model.jsonld with the latest changes."
base: main
committer: GitHub <noreply@github.com>
author: aditigopalan <aditigopalan@users.noreply.github.com>
signoff: false
delete-branch: true

build-dependencies:
name: Build Dependencies Table
Expand Down
28 changes: 24 additions & 4 deletions HTAN.model.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -4910,9 +4910,6 @@
{
"@id": "bts:OvarianCancerSurgicalOutcome"
},
{
"@id": "bts:ReadIndicator"
},
{
"@id": "bts:ExpressionUnits"
},
Expand Down Expand Up @@ -4940,6 +4937,9 @@
{
"@id": "bts:Race"
},
{
"@id": "bts:ReadIndicator"
},
{
"@id": "bts:SlicingMethod"
},
Expand Down Expand Up @@ -33919,7 +33919,7 @@
{
"@id": "bts:ReadIndicator",
"@type": "rdfs:Class",
"rdfs:comment": "Indicate if this is Read 1 (R1), Read 2 (R2), Index Reads (I1), or Other",
"rdfs:comment": "Indicate if this is Read 1 (R1), Read 2 (R2), Index Reads 1 (I1), Index Reads 2 (I2), or Other",
"rdfs:label": "ReadIndicator",
"rdfs:subClassOf": [
{
Expand All @@ -33942,6 +33942,9 @@
{
"@id": "bts:I1"
},
{
"@id": "bts:I2"
},
{
"@id": "bts:Other"
}
Expand Down Expand Up @@ -53883,6 +53886,23 @@
"sms:required": "sms:false",
"sms:validationRules": []
},
{
"@id": "bts:I2",
"@type": "rdfs:Class",
"rdfs:comment": "TBD",
"rdfs:label": "I2",
"rdfs:subClassOf": [
{
"@id": "bts:ReadIndicator"
}
],
"schema:isPartOf": {
"@id": "http://schema.biothings.io"
},
"sms:displayName": "I2",
"sms:required": "sms:false",
"sms:validationRules": []
},
{
"@id": "bts:CDNAOffset",
"@type": "rdfs:Class",
Expand Down