Skip to content

Commit

Permalink
Merge pull request #59 from neutrons/prepare_for_release
Browse files Browse the repository at this point in the history
Disable generate tab for first release
  • Loading branch information
AndreiSavici authored Apr 17, 2023
2 parents f0361c2 + 9dbc015 commit 53ff30b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: shiver
channels:
- conda-forge
- mantid
- mantid/label/nightly
dependencies:
- mantidworkbench
- pre-commit
Expand Down
2 changes: 1 addition & 1 deletion src/shiver/presenters/histogram.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def create_corrections_tab(self, name):
# inline functions
def _help():
"""Show the help for the corrections tab"""
webbrowser.open("https://neutrons.github.io/Shiver/")
webbrowser.open("https://neutrons.github.io/Shiver/GUI")

def _apply():
"""Apply the corrections"""
Expand Down
3 changes: 3 additions & 0 deletions src/shiver/views/mainwindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ def __init__(self, parent=None):
GeneratePresenter(generate, generate_model)
tabs.addTab(generate, "Generate")

# Disable unfinished tab for first release
tabs.setTabVisible(1, False)

layout = QVBoxLayout()
layout.addWidget(tabs)
layout.addWidget(AlgorithmProgressWidget(self))
Expand Down
2 changes: 1 addition & 1 deletion src/shiver/views/sample.py
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ def btn_cancel_action(self):

def btn_help_action(self):
"""Show the help for the sample dialog"""
webbrowser.open("https://neutrons.github.io/Shiver/")
webbrowser.open("https://neutrons.github.io/Shiver/GUI")

def matrix_update_all_background_color(self, color):
"""Update the background color of all ub matrix cells"""
Expand Down

2 comments on commit 53ff30b

@github-actions
Copy link

Choose a reason for hiding this comment

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

GitLab pipeline for shiver-dev has been submitted for this commit:

@github-actions
Copy link

Choose a reason for hiding this comment

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

GitLab pipeline for shiver-dev has been submitted for this commit: "https://code.ornl.gov/sns-hfir-scse/deployments/conda-legacy-deploy/-/pipelines/367388"

Please sign in to comment.