Skip to content

Commit ab9b1a0

Browse files
Rename scRNA-seq schema from scRNALevel34 to scRNALevel3and4 (#130)
* Rename scRNA-seq schema from scRNALevel34 to scRNALevel3and4 - Updated class name from scRNALevel34 to scRNALevel3and4 for better readability - Updated enum name from scRNAseqWorkflowTypeEnumLevel34 to scRNAseqWorkflowTypeEnumLevel3and4 - Updated workflow to generate schema with new class name - Updated test references to use new class name - Avoids underscore parsing issues in Synapse while maintaining clarity * chore: auto-generate Python classes from schema changes Auto-generated Python classes from LinkML schema updates. **Auto-generated by GitHub Actions workflow** [skip ci] --------- Co-authored-by: GitHub Action <action@github.com>
1 parent 5ecf4de commit ab9b1a0

File tree

13 files changed

+65
-65
lines changed

13 files changed

+65
-65
lines changed

.github/workflows/json-schema-synapse.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,8 @@ jobs:
157157
# scRNA-seq Level 3/4
158158
poetry run python scripts/linkml_to_flat_synapse_jsonschema.py \
159159
"modules/scRNA-seq/domains/level_3_4.yaml" \
160-
--class-name "scRNALevel34" \
161-
--output "JSON_Schemas/${{ steps.version.outputs.version }}/HTAN.scRNALevel34-${{ steps.version.outputs.version }}-schema.json"
160+
--class-name "scRNALevel3and4" \
161+
--output "JSON_Schemas/${{ steps.version.outputs.version }}/HTAN.scRNALevel3and4-${{ steps.version.outputs.version }}-schema.json"
162162
163163
# SpatialOmics Level 1
164164
echo "Generating SpatialOmics schemas..."
@@ -328,7 +328,7 @@ jobs:
328328
**scRNA-seq Module:**
329329
- scRNALevel1 Schema
330330
- scRNALevel2 Schema
331-
- scRNALevel34 Schema
331+
- scRNALevel3and4 Schema
332332
333333
**SpatialOmics Module:**
334334
- SpatialLevel1 Schema

modules/Biospecimen/src/htan_biospecimen/datamodel/biospecimen.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Auto generated from biospecimen.yaml by pythongen.py version: 0.0.1
2-
# Generation date: 2026-01-22T10:32:44
2+
# Generation date: 2026-01-23T15:49:04
33
# Schema: Biospecimen
44
#
55
# id: https://w3id.org/htan/biospecimen

modules/Clinical/src/htan_clinical/datamodel/clinical.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Auto generated from clinical.yaml by pythongen.py version: 0.0.1
2-
# Generation date: 2026-01-22T10:32:12
2+
# Generation date: 2026-01-23T15:48:34
33
# Schema: Clinical
44
#
55
# id: https://w3id.org/htan/clinical

modules/DigitalPathology/src/htan_digitalpathology/datamodel/digital_pathology.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Auto generated from digital_pathology.yaml by pythongen.py version: 0.0.1
2-
# Generation date: 2026-01-22T10:33:09
2+
# Generation date: 2026-01-23T15:49:23
33
# Schema: DigitalPathology
44
#
55
# id: https://w3id.org/htan/digital_pathology

modules/Imaging/src/htan_imaging/datamodel/imaging.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Auto generated from imaging.yaml by pythongen.py version: 0.0.1
2-
# Generation date: 2026-01-22T10:33:04
2+
# Generation date: 2026-01-23T15:49:20
33
# Schema: Imaging
44
#
55
# id: https://w3id.org/htan/imaging

modules/MultiplexMicroscopy/src/htan_multiplexmicroscopy/datamodel/multiplex_microscopy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Auto generated from multiplex_microscopy.yaml by pythongen.py version: 0.0.1
2-
# Generation date: 2026-01-22T10:33:12
2+
# Generation date: 2026-01-23T15:49:25
33
# Schema: MultiplexMicroscopy
44
#
55
# id: https://w3id.org/htan/multiplex_microscopy

modules/Sequencing/src/htan_sequencing/datamodel/sequencing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Auto generated from sequencing.yaml by pythongen.py version: 0.0.1
2-
# Generation date: 2026-01-22T10:33:02
2+
# Generation date: 2026-01-23T15:49:18
33
# Schema: Sequencing
44
#
55
# id: https://w3id.org/htan/sequencing

modules/SpatialOmics/src/htan_spatial/datamodel/spatial.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Auto generated from spatial.yaml by pythongen.py version: 0.0.1
2-
# Generation date: 2026-01-22T10:33:15
2+
# Generation date: 2026-01-23T15:49:27
33
# Schema: SpatialOmics
44
#
55
# id: https://w3id.org/htan/spatial

modules/WES/src/htan_wes/datamodel/wes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Auto generated from wes.yaml by pythongen.py version: 0.0.1
2-
# Generation date: 2026-01-22T10:32:42
2+
# Generation date: 2026-01-23T15:49:02
33
# Schema: WES
44
#
55
# id: https://w3id.org/htan/wes

modules/scRNA-seq/domains/level_3_4.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: scRNALevel34
1+
name: scRNALevel3and4
22
id: https://w3id.org/htan/scrna_seq/level_3_4
33
description: Single-cell RNA-seq Level 3 and 4 - Gene expression files and cell relationships
44
imports:
@@ -13,7 +13,7 @@ prefixes:
1313
default_prefix: htan
1414

1515
enums:
16-
scRNAseqWorkflowTypeEnumLevel34:
16+
scRNAseqWorkflowTypeEnumLevel3and4:
1717
permissible_values:
1818
"Cell annotation":
1919
description: Cell annotation workflow
@@ -67,7 +67,7 @@ enums:
6767
description: Scaled count matrix
6868

6969
classes:
70-
scRNALevel34:
70+
scRNALevel3and4:
7171
is_a: BaseSequencingAttributes
7272
description: Single-cell RNA-seq Level 3 and 4 - Gene expression files and cell relationships
7373
attributes:
@@ -87,7 +87,7 @@ classes:
8787

8888
# scRNA-seq-specific attributes
8989
SCRNASEQ_WORKFLOW_TYPE:
90-
range: scRNAseqWorkflowTypeEnumLevel34
90+
range: scRNAseqWorkflowTypeEnumLevel3and4
9191
required: true
9292
title: "scRNAseq Workflow Type"
9393
description: Generic name for the workflow used to analyze a data set

0 commit comments

Comments
 (0)