Skip to content

Commit

Permalink
Rename properties
Browse files Browse the repository at this point in the history
  • Loading branch information
johardi committed Aug 23, 2024
1 parent 5ec9ee5 commit 967426e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions schemas/src/digital-objects/asct-b.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ classes:
- Named
- Instance
slots:
- target_cell_type
- cell_type_location
- primary_cell_type
- primary_anatomical_structure
- biomarker_set
- references
- derived_from
Expand Down Expand Up @@ -315,15 +315,15 @@ slots:
slot_uri: ccf:proteoforms_marker_item
annotations:
owl: AnnotationAssertion, AnnotationProperty
target_cell_type:
primary_cell_type:
required: true
slot_uri: ccf:target_cell_type
slot_uri: ccf:primary_cell_type
range: CellType
annotations:
owl: AnnotationAssertion, AnnotationProperty
cell_type_location:
primary_anatomical_structure:
required: true
slot_uri: ccf:cell_type_location
slot_uri: ccf:primary_anatomical_structure
range: AnatomicalStructure
annotations:
owl: AnnotationAssertion, AnnotationProperty
Expand Down
4 changes: 2 additions & 2 deletions src/normalization/normalize-asct-b.js
Original file line number Diff line number Diff line change
Expand Up @@ -352,8 +352,8 @@ function normalizeCellMarkerDescriptor(context, data) {
id: generateCellMarkerDescriptorId(context, recordNumber),
label: `Cell marker descriptor for ${lastCt.name}`,
type_of: [`CellMarkerDescriptor`],
target_cell_type: lastCt.id,
cell_type_location: lastAs,
primary_cell_type: lastCt.id,
primary_anatomical_structure: lastAs,
biomarker_set: validBm,
references: validReferences,
derived_from: generateAsctbRecordId(context, recordNumber)
Expand Down

0 comments on commit 967426e

Please sign in to comment.