-
Notifications
You must be signed in to change notification settings - Fork 196
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade OHIF v3 plugin to support OHIF 3.9+ version (#1787)
* First draft - support latest ohif 3.10.x Signed-off-by: Sachidanand Alle <[email protected]> * Fix probe tool Signed-off-by: Sachidanand Alle <[email protected]> * Fix remove server uri Signed-off-by: Sachidanand Alle <[email protected]> * Add options/config dialog + fix 2D segment Signed-off-by: Sachidanand Alle <[email protected]> * Fix monailable mode visibility Signed-off-by: Sachidanand Alle <[email protected]> * Fix toolbar + viewinfo constants Signed-off-by: Sachidanand Alle <[email protected]> * Add Active Learning Section Signed-off-by: Sachidanand Alle <[email protected]> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Add copyright header Signed-off-by: Sachidanand Alle <[email protected]> * Fix review comments Signed-off-by: Sachidanand Alle <[email protected]> * verify sam2 only once in integration tests Signed-off-by: Sachidanand Alle <[email protected]> --------- Signed-off-by: Sachidanand Alle <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
ed0fdee
commit da0247e
Showing
48 changed files
with
2,578 additions
and
3,096 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,26 @@ | ||
diff --git a/platform/app/pluginConfig.json b/platform/app/pluginConfig.json | ||
index 08a42deb0..69e5aa005 100644 | ||
index 06ae62e55..d0be6b022 100644 | ||
--- a/platform/app/pluginConfig.json | ||
+++ b/platform/app/pluginConfig.json | ||
@@ -22,6 +22,11 @@ | ||
@@ -57,6 +57,10 @@ | ||
"default": false, | ||
"version": "3.0.0" | ||
}, | ||
+ { | ||
+ "packageName": "@ohif/extension-monai-label", | ||
+ "default": false, | ||
+ "version": "0.0.1" | ||
+ "version": "3.0.0" | ||
+ }, | ||
{ | ||
"packageName": "@ohif/extension-dicom-microscopy", | ||
"packageName": "@ohif/extension-cornerstone-dicom-rt", | ||
"default": false, | ||
@@ -60,6 +65,9 @@ | ||
{ | ||
"packageName": "@ohif/mode-segmentation" | ||
@@ -84,6 +88,10 @@ | ||
"default": false, | ||
"version": "3.0.0" | ||
}, | ||
+ { | ||
+ "packageName": "@ohif/mode-monai-label" | ||
+ "packageName": "@ohif/mode-monai-label", | ||
+ "version": "3.0.0" | ||
+ }, | ||
{ | ||
"packageName": "@ohif/mode-tmtv" | ||
}, | ||
"packageName": "@ohif/mode-basic-dev-mode", | ||
"default": false, |
12 changes: 12 additions & 0 deletions
12
plugins/ohifv3/extensions/monai-label/.webpack/webpack.dev.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
const path = require('path'); | ||
const webpackCommon = require('./../../../.webpack/webpack.base.js'); | ||
const SRC_DIR = path.join(__dirname, '../src'); | ||
const DIST_DIR = path.join(__dirname, '../dist'); | ||
|
||
const ENTRY = { | ||
app: `${SRC_DIR}/index.tsx`, | ||
}; | ||
|
||
module.exports = (env, argv) => { | ||
return webpackCommon(env, argv, { SRC_DIR, DIST_DIR, ENTRY }); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.