From 476ad706febd9dfff6484a0b3e4ec28ebd6256ac Mon Sep 17 00:00:00 2001 From: Jennings Zhang Date: Wed, 7 Jul 2021 03:43:38 -0400 Subject: [PATCH 1/2] Case-sensitive plugin names --- .../setup/create workflows/fastsurfer.ts | 6 +++--- .../create workflows/fetalReconstruction.ts | 2 +- .../setup/create workflows/freesurfer.ts | 6 +++--- src/store/workflows/setup/index.ts | 20 +++++++++---------- 4 files changed, 17 insertions(+), 17 deletions(-) diff --git a/src/store/workflows/setup/create workflows/fastsurfer.ts b/src/store/workflows/setup/create workflows/fastsurfer.ts index a98ed5874..997777466 100644 --- a/src/store/workflows/setup/create workflows/fastsurfer.ts +++ b/src/store/workflows/setup/create workflows/fastsurfer.ts @@ -17,7 +17,7 @@ export function* runFastsurferWorkflow( imageFile: "'m:%_nospc|-_ProtocolName.jpg'", imageScale: "3:none", }; - const pfdicomTagExtract = pluginList["pl-pfdicom_tagextract"]; + const pfdicomTagExtract = pluginList["pl-pfdicom_tagExtract"]; yield client.createPluginInstance( pfdicomTagExtract.data.id, @@ -32,7 +32,7 @@ export function* runFastsurferWorkflow( tagInfo: "'PatientName:%_name|patientID_PatientName ++ PatientID:%_md5|7_PatientID ++ PatientID:%_md5|7_PatientID ++ AccessionNumber:%_md5|8_AccessionNumber ++ PatientBirthDate:%_strmsk|******01_PatientBirthDate ++ re:.*hysician:%_md5|4_#tag ++ re:.*stitution:#tag ++ re:.*stitution:#tag'", }; - const pfdicomTagSub = pluginList["pl-pfdicom_tagsub"]; + const pfdicomTagSub = pluginList["pl-pfdicom_tagSub"]; const pfdicomTagSubInstance: PluginInstance = yield client.createPluginInstance(pfdicomTagSub.data.id, pfdicomTagSubArgs); @@ -101,7 +101,7 @@ export function* runFastsurferWorkflow( }; yield client.createPluginInstance(plPfdoRun.data.id, plPfdoRunArgs); - const plMgz2LutReport = pluginList["pl-mgz2lut_report"]; + const plMgz2LutReport = pluginList["pl-mgz2LUT_report"]; const plMgz2LutReportArgs = { title: "aseg-report", previous_id: plFastsurferInstance.data.id, diff --git a/src/store/workflows/setup/create workflows/fetalReconstruction.ts b/src/store/workflows/setup/create workflows/fetalReconstruction.ts index 0d7af0d44..bd91a7c0d 100644 --- a/src/store/workflows/setup/create workflows/fetalReconstruction.ts +++ b/src/store/workflows/setup/create workflows/fetalReconstruction.ts @@ -21,7 +21,7 @@ export function* runFetalReconstructionWorkflow( ); const plAntsN4BiasFieldCorrection = - pluginList["pl-ants_n4biasfieldcorrection"]; + pluginList["pl-ANTs_N4BiasFieldCorrection"]; const plAntsN4BiasFieldCorrectionArgs = { previous_id: plFetalBrainMaskInstance.data.id, inputPathFilter: "extracted/0.0/*.nii", diff --git a/src/store/workflows/setup/create workflows/freesurfer.ts b/src/store/workflows/setup/create workflows/freesurfer.ts index 391e4014c..8a1f482a3 100644 --- a/src/store/workflows/setup/create workflows/freesurfer.ts +++ b/src/store/workflows/setup/create workflows/freesurfer.ts @@ -18,7 +18,7 @@ export function* runFreesurferWorkflow( imageFile: "m:%_nospc|-_ProtocolName.jpg", imageScale: "3:none", }; - const pfdicomTagExtract = pluginList["pl-pfdicom_tagextract"]; + const pfdicomTagExtract = pluginList["pl-pfdicom_tagExtract"]; yield client.createPluginInstance( pfdicomTagExtract.data.id, @@ -33,7 +33,7 @@ export function* runFreesurferWorkflow( tagInfo: "'PatientName:%_name|patientID_PatientName ++ PatientID:%_md5|7_PatientID ++ PatientID:%_md5|7_PatientID ++ AccessionNumber:%_md5|8_AccessionNumber ++ PatientBirthDate:%_strmsk|******01_PatientBirthDate ++ re:.*hysician:%_md5|4_#tag ++ re:.*stitution:#tag ++ re:.*stitution:#tag'", }; - const pfdicomTagSub = pluginList["pl-pfdicom_tagsub"]; + const pfdicomTagSub = pluginList["pl-pfdicom_tagSub"]; const pfdicomTagSubInstance: PluginInstance = yield client.createPluginInstance(pfdicomTagSub.data.id, pfdicomTagSubArgs); @@ -108,7 +108,7 @@ export function* runFreesurferWorkflow( }; yield client.createPluginInstance(plPfdoRun.data.id, plPfdoRunArgs); - const plMgz2LutReport = pluginList["pl-mgz2lut_report"]; + const plMgz2LutReport = pluginList["pl-mgz2LUT_report"]; const plMgz2LutReportArgs = { title: "segmentation-report", previous_id: plFsHackInstance.data.id, diff --git a/src/store/workflows/setup/index.ts b/src/store/workflows/setup/index.ts index 562f42c27..05f13baef 100644 --- a/src/store/workflows/setup/index.ts +++ b/src/store/workflows/setup/index.ts @@ -246,12 +246,12 @@ export function* setupCovidnet(action: IActionTypeParam) { export function* setupInfantFreesurfer(action: IActionTypeParam) { const infantFreesurferPlugins = [ "pl-dircopy", - "pl-pfdicom_tagsub", - "pl-pfdicom_tagextract", + "pl-pfdicom_tagSub", + "pl-pfdicom_tagExtract", "pl-fshack-infant", "pl-multipass", "pl-pfdorun", - "pl-mgz2lut_report", + "pl-mgz2LUT_report", ]; yield setupFeedDetails(action, infantFreesurferPlugins, "infant-freesurfer"); } @@ -259,12 +259,12 @@ export function* setupInfantFreesurfer(action: IActionTypeParam) { export function* setupAdultFreesurfer(action: IActionTypeParam) { const adultFreesurferPlugins: string[] = [ "pl-dircopy", - "pl-pfdicom_tagsub", - "pl-pfdicom_tagextract", + "pl-pfdicom_tagSub", + "pl-pfdicom_tagExtract", "pl-fshack", "pl-multipass", "pl-pfdorun", - "pl-mgz2lut_report", + "pl-mgz2LUT_report", ]; yield setupFeedDetails(action, adultFreesurferPlugins, "adult-freesurfer"); } @@ -272,13 +272,13 @@ export function* setupAdultFreesurfer(action: IActionTypeParam) { export function* setupFastsurfer(action: IActionTypeParam) { const fastsurferPlugins = [ "pl-dircopy", - "pl-pfdicom_tagextract", - "pl-pfdicom_tagsub", + "pl-pfdicom_tagExtract", + "pl-pfdicom_tagSub", "pl-fshack", "pl-fastsurfer_inference", "pl-multipass", "pl-pfdorun", - "pl-mgz2lut_report", + "pl-mgz2LUT_report", ]; yield setupFeedDetails(action, fastsurferPlugins, "fastsurfer"); } @@ -287,7 +287,7 @@ export function* setupFetalReconstruction(action: IActionTypeParam) { const fetalReconstructionPlugins = [ "pl-dircopy", "pl-fetal-brain-mask", - "pl-ants_n4biasfieldcorrection", + "pl-ANTs_N4BiasFieldCorrection", "pl-fetal-brain-assessment", "pl-irtk-reconstruction", ]; From 985b0fe7bef2d5e2eb393f7bba4471cc42e1fa10 Mon Sep 17 00:00:00 2001 From: Jennings Zhang Date: Wed, 7 Jul 2021 03:44:49 -0400 Subject: [PATCH 2/2] v1.4.7 --- src/containers/Layout/Header.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/containers/Layout/Header.tsx b/src/containers/Layout/Header.tsx index 71451a052..b25f5153c 100644 --- a/src/containers/Layout/Header.tsx +++ b/src/containers/Layout/Header.tsx @@ -41,7 +41,7 @@ const Header: React.FC = ({ onNavToggle, user }: IHeaderProps) => - Version: 1.4.6 + Version: 1.4.7