Skip to content

Commit

Permalink
Add slice preparation description and slicing angle
Browse files Browse the repository at this point in the history
  • Loading branch information
apdavison committed Jul 25, 2024
1 parent 42d3a02 commit 23dcf1f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/nar-v3/src/components/SlicePreparationCard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,13 @@ function SlicePreparationCard(props) {

if (activity) {
const data = {
"Description": activity.description,
"Device name": activity.device[0].device.name,
"Device type": activity.device[0].device.deviceType,
Manufacturer: formatManufacturer(activity.device[0].device.manufacturer),
"Slice thickness": formatQuant(activity.device[0].sliceThickness),
"Slicing plane": activity.device[0].slicingPlane,
"Slicing angle": formatQuant(activity.device[0].slicingAngle),
"Study targets": activity.studyTarget.join(", "),
Temperature: formatQuant(activity.temperature),
"Dissecting solution": formatSolution(activity.tissueBathSolution),
Expand Down
2 changes: 2 additions & 0 deletions apps/nar-v3/src/routes/queryLibrary.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ const patchClampDatasetQuery = buildKGQuery("core/DatasetVersion", [
// slice preparation
S("lookupLabel"),
S("@type"),
S("description"),
L(
"device",
[
Expand All @@ -137,6 +138,7 @@ const patchClampDatasetQuery = buildKGQuery("core/DatasetVersion", [
deviceProperty,
L("sliceThickness", quantValProperties),
L("slicingPlane/name"),
L("slicingAngle", quantValProperties)
],
MULTIPLE
),
Expand Down

0 comments on commit 23dcf1f

Please sign in to comment.