https://github.com/imagingdatacommons/ohif-idc-mode
OHIF IDC Mode
https://github.com/imagingdatacommons/ohif-idc-mode
Last synced: 9 months ago
JSON representation
OHIF IDC Mode
- Host: GitHub
- URL: https://github.com/imagingdatacommons/ohif-idc-mode
- Owner: ImagingDataCommons
- License: mit
- Archived: true
- Created: 2023-08-04T20:45:31.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-05T23:00:02.000Z (about 2 years ago)
- Last Synced: 2025-03-12T15:51:09.595Z (11 months ago)
- Language: JavaScript
- Size: 998 KB
- Stars: 0
- Watchers: 7
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GCP Mode
This mode adds the following functionalities to your OHIF viewer fork:
- Automatic load of the latest derived display set of active series (no need to double-click the derived display set (e.g. SRs, SEGs) thumbnail in the left panel to render a derived display set)
## Adding the mode to your OHIF fork
1. Update OHIF's app package.json file to include this mode as a dependency, pointing to a branch since this mode is not being published to NPM:
```js
/** File: platform/app/package.json */
"dependencies": {
"ohif-idc-mode": "https://github.com/ImagingDataCommons/ohif-idc-mode#main", /** You can use any valid branch name here (#main or #master or #your-branch) */
...
```
2. Update OHIF's plugin file to load this mode:
```js
/** File: platform/app/pluginConfig.json */
"modes": [
...
{
"packageName": "ohif-idc-mode",
"version": "0.0.1" /** The version here does not matter since we are using a branch name to define this mode dependency instead of npm publishing */
},
...
```