Skip to content

Commit

Permalink
Add liquid junction potential correction to Cell Patching card.
Browse files Browse the repository at this point in the history
  • Loading branch information
apdavison committed Sep 12, 2024
1 parent f9c1ec6 commit 8ff72f0
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
1 change: 1 addition & 0 deletions apps/nar-v3/src/components/CellPatchingCard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ function CellPatchingCard(props) {
"Seal resistance": formatQuantList(activity.device[0].sealResistance),
"Series resistance": formatQuantList(activity.device[0].seriesResistance),
"Holding potential": formatQuantList(activity.device[0].holdingPotential),
"Liquid junction potential correction": formatQuantList(activity.device[0].liquidJunctionPotential),
"Bath solution": formatSolution(activity.tissueBathSolution),
"Bath temperature": formatQuant(activity.bathTemperature),
};
Expand Down
1 change: 1 addition & 0 deletions apps/nar-v3/src/routes/queryLibrary.js
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@ const patchClampDatasetQuery = buildKGQuery("core/DatasetVersion", [
L("sealResistance", [L("value", quantValProperties, MULTIPLE)]),
L("seriesResistance", [L("value", quantValProperties, MULTIPLE)]),
L("holdingPotential", [L("value", quantValProperties, MULTIPLE)]),
L("liquidJunctionPotential", [L("value", quantValProperties, MULTIPLE)]),
],
MULTIPLE
),
Expand Down
28 changes: 28 additions & 0 deletions apps/nar-v3/tmp/build_query.py
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,34 @@
)
],
),
QP(
f"{vocab}liquidJunctionPotential",
name="liquidJunctionPotential",
expect_single=True,
properties=[
QP(
f"{vocab}value",
name="values",
properties=[
QP(
f"{vocab}value",
name="value",
),
QP(
f"{vocab}unit",
name="units",
expect_single=True,
properties=[
QP(
f"{vocab}name",
name="name",
)
],
),
],
)
],
),
],
),
Q_tissue_bath_solution,
Expand Down

0 comments on commit 8ff72f0

Please sign in to comment.