Skip to content

Commit 1d8aadd

Browse files
author
cmaumet
committed
Adapt templates to new base template / template system
1 parent 1e7c7f5 commit 1d8aadd

8 files changed

Lines changed: 9 additions & 12 deletions

nidm/nidm-results/scripts/create_fsl_example_002.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
def main():
1313
nidm_classes = {
14-
"HeightThreshold_P_FWE": dict(
14+
"HeightThresholdNoValue_PFWE": dict(
1515
height_threshold_id="niiri:height_threshold_id",
1616
label="Height Threshold: p<0.05 (FWE)",
1717
p_fwe="0.050000",
@@ -22,7 +22,7 @@ def main():
2222
label="Extent Threshold: k>=0",
2323
p_fwe="1.0"
2424
),
25-
"Inference_Used_Thresh": dict(
25+
"InferenceUsedThresh": dict(
2626
inference_id="niiri:inference_id",
2727
height_thresh_id="niiri:height_threshold_id",
2828
extent_thresh_id="niiri:extent_threshold_id",

nidm/nidm-results/scripts/create_fsl_example_003.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
def main():
1313
nidm_classes = {
14-
"HeightThreshold_P_Unc": dict(
14+
"HeightThresholdNoValue_PUnc": dict(
1515
height_threshold_id="niiri:height_threshold_id",
1616
label="Height Threshold: p<0.05 (uncorrected)",
1717
p_unc="0.050000",
@@ -22,7 +22,7 @@ def main():
2222
label="Extent Threshold: k>=0",
2323
p_fwe="1.0"
2424
),
25-
"Inference_Used_Thresh": dict(
25+
"InferenceUsedThresh": dict(
2626
inference_id="niiri:inference_id",
2727
height_thresh_id="niiri:height_threshold_id",
2828
extent_thresh_id="niiri:extent_threshold_id",
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
$height_threshold_id a prov:Entity , nidm:HeightThreshold ;
2+
rdfs:label "$label" ;
3+
nidm:userSpecifiedThresholdType "$thresh_type"^^xsd:string .
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
nidm:pValueFWER "$p_fwe"^^xsd:float .
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
nidm:pValueUncorrected "$p_unc"^^xsd:float .

nidm/nidm-results/terms/templates/HeightThreshold_P_FWE.txt

Lines changed: 0 additions & 4 deletions
This file was deleted.

nidm/nidm-results/terms/templates/HeightThreshold_P_Unc.txt

Lines changed: 0 additions & 4 deletions
This file was deleted.

nidm/nidm-results/terms/templates/Inference_Used_Thresh.txt renamed to nidm/nidm-results/terms/templates/InferenceUsedThresh.txt

File renamed without changes.

0 commit comments

Comments
 (0)