Skip to content

Show/hide tabs based on models that are available#693

Merged
diazandr3s merged 2 commits intomainfrom
slicer_ui_improvements
Mar 15, 2022
Merged

Show/hide tabs based on models that are available#693
diazandr3s merged 2 commits intomainfrom
slicer_ui_improvements

Conversation

@SachidanandAlle
Copy link
Copy Markdown
Collaborator

Signed-off-by: Sachidanand Alle [email protected]

@SachidanandAlle SachidanandAlle added the 0.4.0 Targeted to Release version 0.4 label Mar 15, 2022
@diazandr3s diazandr3s merged commit 2d69774 into main Mar 15, 2022
@diazandr3s diazandr3s deleted the slicer_ui_improvements branch March 15, 2022 14:55
Comment on lines +498 to +501
if self.info.get("trainers", {}):
self.ui.aclCollapsibleButton.show()
else:
self.ui.aclCollapsibleButton.hide()
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@SachidanandAlle, we are running two segmentation apps that do not make use of any trainers.

With these code changes our workflow of using MONAILabel to segment images from scratch or to use pre-segmentations does not work any more because the buttons 'Next Sample' and 'Submit Sample' are not available any more.

I can understand the rationale behind these code changes but for our use case it doesn't work. Is it possible to discuss these code changes? Thanks.

Copy link
Copy Markdown
Collaborator Author

@SachidanandAlle SachidanandAlle May 5, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are correct.. it was a bug.. we should only hide training part and not fetch/submit actions..
this PR should solve the problem.. #769

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot for the quick fix.

Douwe-Spaanderman pushed a commit to Douwe-Spaanderman/MONAILabel that referenced this pull request Dec 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

0.4.0 Targeted to Release version 0.4

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants