From 7d2b3458a43a0125e408738268d1d4727f5bcd10 Mon Sep 17 00:00:00 2001 From: "Bruce W. Herr II" Date: Tue, 23 Apr 2024 14:01:08 -0400 Subject: [PATCH] Make sure source is added to placements --- src/normalization/normalize-landmark.js | 1 + src/normalization/normalize-ref-organ.js | 1 + 2 files changed, 2 insertions(+) diff --git a/src/normalization/normalize-landmark.js b/src/normalization/normalize-landmark.js index 33be256..a4eca97 100644 --- a/src/normalization/normalize-landmark.js +++ b/src/normalization/normalize-landmark.js @@ -149,6 +149,7 @@ async function processSpatialEntities(context, metadata, gltfFile, cache, crossw label: `Global placement of ${landmarkLabel}`, class_type: 'SpatialPlacement', typeOf: ['SpatialPlacement'], + source: id, target: parentIri, x_scaling: 1, y_scaling: 1, diff --git a/src/normalization/normalize-ref-organ.js b/src/normalization/normalize-ref-organ.js index 8a09fd9..8e53747 100644 --- a/src/normalization/normalize-ref-organ.js +++ b/src/normalization/normalize-ref-organ.js @@ -164,6 +164,7 @@ async function processSpatialEntities(context, metadata, gltfFile, cache, crossw label: `Global placement of ${organLabel}`, class_type: 'SpatialPlacement', typeOf: ['SpatialPlacement'], + source: id, target: parentIri, placement_date: creationDate, x_scaling: 1,