forked from OHIF/Viewers
-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gradient rebase Viewer v3.8.0 stable #19
Open
Adithyan-Dinesh-Trenser
wants to merge
32
commits into
upstream_rebase_3-8-0_copy
Choose a base branch
from
gradient_rebase_06212024
base: upstream_rebase_3-8-0_copy
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
3f5cd97
gradienthealth: whitelabel
Ouwen 86c5507
config: bigquery
Ouwen de7e56e
fix: Ignored Series metadata retrieval promise handling for DicomJSON…
maya-mohan 570c7bc
feat: Deploy viewer to github pages
maya-mohan 2cbbbd1
feat:Added icad config
maya-mohan a27ca11
Merged icad.js config to gradient.js config.
maya-mohan 24aab3a
Added requestTransferSyntaxUID in datasource config
maya-mohan 7d6db2e
feat: stack viewport and non-reconstructable segmentation
Adithyan-Dinesh-Trenser acf1242
Added formpanel to segmentation mode and added form change listener i…
Adithyan-Dinesh-Trenser b7cb23f
Jump to referenced displaySet if segmentation is selected. ALso chang…
Adithyan-Dinesh-Trenser fd2ab40
Removed stack segmentation cache when segmentation is removed. Includ…
Adithyan-Dinesh-Trenser 2e2687e
Deployed to production
Adithyan-Dinesh-Trenser e8db719
Skipped CORS and segment default color usage warnings and reorganized…
Adithyan-Dinesh-Trenser d099698
save to the same segmentation file if modified.
Adithyan-Dinesh-Trenser e0b6687
Changed the min size of segmentation brush and eraser to 0.01
Adithyan-Dinesh-Trenser 20744ea
Removed the old segmentation file from fileManager when saving to sam…
Adithyan-Dinesh-Trenser 4508c6a
updated the cornerstone deployment branch
Adithyan-Dinesh-Trenser ae82fd6
Implemented segment focus, modified segment brush unit and default si…
Adithyan-Dinesh-Trenser c916731
Skiped label dialog in auto saving flow even for new segmentations.
Adithyan-Dinesh-Trenser d0651fc
Made Min and max brush size configurable. Truncated segmentation labe…
Adithyan-Dinesh-Trenser 627a247
Changed the configurable brush sizes unit to mm
Adithyan-Dinesh-Trenser 49636fd
Fixed the issue of min/ max brush sizes not using configured values w…
Adithyan-Dinesh-Trenser 09f9d47
Segmentation series description will be displayed using ImageLaterali…
Adithyan-Dinesh-Trenser f33f06d
Corrected the logic to access referenced displayset for newly created…
Adithyan-Dinesh-Trenser de02969
Added more properties to retain to segmentation file when saving segm…
Adithyan-Dinesh-Trenser 8228d63
Due to script update for modifying the segmentation SeriesDescription…
Adithyan-Dinesh-Trenser 5d699e8
Disabled add segmentation using url param
Adithyan-Dinesh-Trenser 36a476d
Added hotkeys to activate segmentation brush and eraser tools.
Adithyan-Dinesh-Trenser ab378dc
Updated SeriesDate when saving segmentations instead of using the pre…
Adithyan-Dinesh-Trenser 081924a
Trigger deploy
Adithyan-Dinesh-Trenser cb67680
Rebase to v3.8.0 stable changes
Adithyan-Dinesh-Trenser d3c818d
Added a null check for the cached volume.
Adithyan-Dinesh-Trenser File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,105 @@ | ||
name: Deploy viewer to github pages | ||
|
||
on: | ||
push: | ||
branches: [ "gradienthealth/segmentation_mode_sheet_integration" ] | ||
#pull_request: | ||
#branches: [ "main" ] | ||
|
||
jobs: | ||
build-and-deploy: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
node-version: [16.x] | ||
|
||
steps: | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
|
||
- name: Checkout cornerstone3D | ||
uses: actions/checkout@v3 | ||
with: | ||
repository: gradienthealth/cornerstone3D-beta | ||
ref: gradienthealth/segmentation_mode_sheet_integration | ||
path: ./cornerstone3D | ||
|
||
- name: Build cornerstone3D | ||
run: | | ||
cd ./cornerstone3D | ||
yarn install | ||
yarn build:all | ||
|
||
- name: Checkout GradientExtensionsAndModes | ||
uses: actions/checkout@v3 | ||
with: | ||
repository: gradienthealth/GradientExtensionsAndModes | ||
ref: gradienthealth/segmentation_mode_sheet_integration | ||
path: ./GradientExtensionsAndModes | ||
|
||
#- name: Build GradientExtensionsAndModes | ||
# run: | | ||
# cd ./GradientExtensionsAndModes/extensions/ohif-gradienthealth-extension | ||
# yarn install | ||
# yarn build:package | ||
# cd ./modes/cohort | ||
# yarn install | ||
# yarn build:package | ||
|
||
- name: Checkout Viewers | ||
uses: actions/checkout@v3 | ||
with: | ||
repository: gradienthealth/Viewers | ||
path: ./Viewers | ||
|
||
- name: Link | ||
run: | | ||
cd ./cornerstone3D/packages/adapters/dist | ||
yarn link | ||
cd ../../core/dist | ||
yarn link | ||
cd ../../dicomImageLoader/dist | ||
yarn link | ||
#cd ../../nifti-volume-loader/dist | ||
#yarn link | ||
cd ../../streaming-image-volume-loader/dist | ||
yarn link | ||
cd ../../tools/dist | ||
yarn link | ||
cd ../../../../Viewers | ||
yarn link @cornerstonejs/adapters | ||
yarn link @cornerstonejs/core | ||
yarn link @cornerstonejs/dicom-image-loader | ||
#yarn link @cornerstonejs/nifti-volume-loader | ||
yarn link @cornerstonejs/streaming-image-volume-loader | ||
yarn link @cornerstonejs/tools | ||
yarn install | ||
yarn run cli link-extension ../GradientExtensionsAndModes/extensions/ohif-gradienthealth-extension | ||
yarn run cli link-mode ../GradientExtensionsAndModes/modes/cohort | ||
yarn run cli link-mode ../GradientExtensionsAndModes/modes/breast-density-mode | ||
yarn run build:gradient | ||
|
||
- name: Checkout gh page | ||
uses: actions/checkout@v3 | ||
with: | ||
repository: gradienthealth/gradienthealth.github.io | ||
path: ./gradienthealth.github.io | ||
token: ${{ secrets.GH_DEPLOY_TOKEN }} | ||
|
||
- name: Copy | ||
run: | | ||
mv ./gradienthealth.github.io/.git /tmp/ | ||
rm -r ./gradienthealth.github.io | ||
cp -r ./Viewers/platform/app/dist/ ./gradienthealth.github.io | ||
mv /tmp/.git ./gradienthealth.github.io | ||
cd ./gradienthealth.github.io | ||
cp index.html 404.html | ||
git config --global user.name "maya-mohan" | ||
git config --global user.email "[email protected]" | ||
git remote set-url origin https://maya-mohan:${{ secrets.GH_DEPLOY_TOKEN }}@github.com/gradienthealth/gradienthealth.github.io | ||
git add . | ||
git commit -a -m "publishing viewer" | ||
git push -u origin |
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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't we can include above error message with a slight modification in message here?
if (!cachedReferencedVolume) {
throw new Error(
'Referenced Volume is missing for the SEG'
);