Skip to content
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

Spelling and RTD build fixes for latest update of typos and sphinx_rtd_theme #1246

Merged
merged 2 commits into from
Oct 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,6 @@
# Add any paths that contain custom themes here, relative to this directory.
# html_theme_path = []
# html_theme_path = ['_themes', ]
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]

# The name for this set of Sphinx documents.
# "<project> v<release> documentation" by default.
Expand Down
16 changes: 8 additions & 8 deletions examples/test_files/Smoke_Tests/fs_smoke_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def add_UQ_yes(MainWin=MainWin, getButton=getButton, timers=timers):


def uq_sampling_scheme_MC(MainWin=MainWin, getButton=getButton, timers=timers, go=go):
"""Setup up an enseble sampling scheme with Monte Carlo, stops timer once window comes up"""
"""Setup up an ensemble sampling scheme with Monte Carlo, stops timer once window comes up"""
w = MainWin.app.activeWindow()
global errorTitle
errorTitle = "Monte Carlo"
Expand All @@ -188,7 +188,7 @@ def uq_sampling_scheme_MC(MainWin=MainWin, getButton=getButton, timers=timers, g


def uq_sampling_scheme_QMC(MainWin=MainWin, getButton=getButton, timers=timers, go=go):
"""Setup up an enseble sampling scheme with Quasi Monte Carlo, stops timer once window comes up"""
"""Setup up an ensemble sampling scheme with Quasi Monte Carlo, stops timer once window comes up"""
w = MainWin.app.activeWindow()
global errorTitle
errorTitle = "Quasi Monte Carlo/Lognormal Dist"
Expand All @@ -214,7 +214,7 @@ def uq_sampling_scheme_QMC(MainWin=MainWin, getButton=getButton, timers=timers,


def uq_sampling_scheme_LH(MainWin=MainWin, getButton=getButton, timers=timers, go=go):
"""Setup up an enseble sampling scheme with Latin Hypercube, stops timer once window comes up"""
"""Setup up an ensemble sampling scheme with Latin Hypercube, stops timer once window comes up"""
w = MainWin.app.activeWindow()
global errorTitle
errorTitle = "Latin Hypercube/Triangle Distribution"
Expand All @@ -238,7 +238,7 @@ def uq_sampling_scheme_LH(MainWin=MainWin, getButton=getButton, timers=timers, g


def uq_sampling_scheme_OA(MainWin=MainWin, getButton=getButton, timers=timers, go=go):
"""Setup up an enseble sampling scheme with Orthogonal Array, stops timer once window comes up"""
"""Setup up an ensemble sampling scheme with Orthogonal Array, stops timer once window comes up"""
w = MainWin.app.activeWindow()
global errorTitle
errorTitle = "Orthogonal Array/Gamma Distribution"
Expand All @@ -262,7 +262,7 @@ def uq_sampling_scheme_OA(MainWin=MainWin, getButton=getButton, timers=timers, g


def uq_sampling_scheme_MD(MainWin=MainWin, getButton=getButton, timers=timers, go=go):
"""Setup up an enseble sampling scheme with Morris Design, stops timer once window comes up"""
"""Setup up an ensemble sampling scheme with Morris Design, stops timer once window comes up"""
w = MainWin.app.activeWindow()
global errorTitle
errorTitle = "Morris Design/Beta Distribution"
Expand All @@ -288,7 +288,7 @@ def uq_sampling_scheme_MD(MainWin=MainWin, getButton=getButton, timers=timers, g


def uq_sampling_scheme_GMD(MainWin=MainWin, getButton=getButton, timers=timers, go=go):
"""Setup up an enseble sampling scheme with Generalized Morris Design, stops timer once window comes up"""
"""Setup up an ensemble sampling scheme with Generalized Morris Design, stops timer once window comes up"""
w = MainWin.app.activeWindow()
global errorTitle
errorTitle = "Generalized Morris Design/Exponential Distribution"
Expand All @@ -314,7 +314,7 @@ def uq_sampling_scheme_GMD(MainWin=MainWin, getButton=getButton, timers=timers,


def uq_sampling_scheme_GS(MainWin=MainWin, getButton=getButton, timers=timers, go=go):
"""Setup up an enseble sampling scheme with Gradient Sample, stops timer once window comes up"""
"""Setup up an ensemble sampling scheme with Gradient Sample, stops timer once window comes up"""
w = MainWin.app.activeWindow()
global errorTitle
errorTitle = "Gradient Sample/Weibull Distribution"
Expand All @@ -340,7 +340,7 @@ def uq_sampling_scheme_GS(MainWin=MainWin, getButton=getButton, timers=timers, g
def uq_sampling_scheme_METIS(
MainWin=MainWin, getButton=getButton, timers=timers, go=go
):
"""Setup up an enseble sampling scheme with METIS, stops timer once window comes up"""
"""Setup up an ensemble sampling scheme with METIS, stops timer once window comes up"""
w = MainWin.app.activeWindow()
global errorTitle
errorTitle = "METIS"
Expand Down
2 changes: 1 addition & 1 deletion examples/test_files/Smoke_Tests/optimization_smoke_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def msg_no(MainWin=MainWin, getButton=getButton, timers=timers):


def start_opt_scheme(MainWin=MainWin, getButton=getButton, timers=timers, go=go):
"""Setup up an enseble sampling scheme, stops timer once window comes up"""
"""Setup up an ensemble sampling scheme, stops timer once window comes up"""
w = MainWin.app.activeWindow()
if "optMonitor" in str(type(w)):
timers["start_opt_scheme"].stop()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def msg_no(MainWin=MainWin, getButton=getButton, timers=timers):


def start_opt_scheme(MainWin=MainWin, getButton=getButton, timers=timers, go=go):
"""Setup up an enseble sampling scheme, stops timer once window comes up"""
"""Setup up an ensemble sampling scheme, stops timer once window comes up"""
w = MainWin.app.activeWindow()
if "optMonitor" in str(type(w)):
timers["start_opt_scheme"].stop()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def msg_no(MainWin=MainWin, getButton=getButton, timers=timers):


def start_opt_scheme(MainWin=MainWin, getButton=getButton, timers=timers, go=go):
"""Setup up an enseble sampling scheme, stops timer once window comes up"""
"""Setup up an ensemble sampling scheme, stops timer once window comes up"""
w = MainWin.app.activeWindow()
if "optMonitor" in str(type(w)):
timers["start_opt_scheme"].stop()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def msg_no(MainWin=MainWin, getButton=getButton, timers=timers):


def start_opt_scheme(MainWin=MainWin, getButton=getButton, timers=timers, go=go):
"""Setup up an enseble sampling scheme, stops timer once window comes up"""
"""Setup up an ensemble sampling scheme, stops timer once window comes up"""
w = MainWin.app.activeWindow()
if "optMonitor" in str(type(w)):
timers["start_opt_scheme"].stop()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def msg_no(MainWin=MainWin, getButton=getButton, timers=timers):


def start_opt_scheme(MainWin=MainWin, getButton=getButton, timers=timers, go=go):
"""Setup up an enseble sampling scheme, stops timer once window comes up"""
"""Setup up an ensemble sampling scheme, stops timer once window comes up"""
w = MainWin.app.activeWindow()
if "optMonitor" in str(type(w)):
timers["start_opt_scheme"].stop()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def msg_no(MainWin=MainWin, getButton=getButton, timers=timers):


def start_opt_scheme(MainWin=MainWin, getButton=getButton, timers=timers, go=go):
"""Setup up an enseble sampling scheme, stops timer once window comes up"""
"""Setup up an ensemble sampling scheme, stops timer once window comes up"""
w = MainWin.app.activeWindow()
if "optMonitor" in str(type(w)):
timers["start_opt_scheme"].stop()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def msg_no(MainWin=MainWin, getButton=getButton, timers=timers):


def start_opt_scheme(MainWin=MainWin, getButton=getButton, timers=timers, go=go):
"""Setup up an enseble sampling scheme, stops timer once window comes up"""
"""Setup up an ensemble sampling scheme, stops timer once window comes up"""
w = MainWin.app.activeWindow()
if "optMonitor" in str(type(w)):
timers["start_opt_scheme"].stop()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def msg_no(MainWin=MainWin, getButton=getButton, timers=timers):


def start_opt_scheme(MainWin=MainWin, getButton=getButton, timers=timers, go=go):
"""Setup up an enseble sampling scheme, stops timer once window comes up"""
"""Setup up an ensemble sampling scheme, stops timer once window comes up"""
w = MainWin.app.activeWindow()
if "optMonitor" in str(type(w)):
timers["start_opt_scheme"].stop()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def msg_no(MainWin=MainWin, getButton=getButton, timers=timers):


def start_opt_scheme(MainWin=MainWin, getButton=getButton, timers=timers, go=go):
"""Setup up an enseble sampling scheme, stops timer once window comes up"""
"""Setup up an ensemble sampling scheme, stops timer once window comes up"""
w = MainWin.app.activeWindow()
if "optMonitor" in str(type(w)):
timers["start_opt_scheme"].stop()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def msg_no(MainWin=MainWin, getButton=getButton, timers=timers):


def start_opt_scheme(MainWin=MainWin, getButton=getButton, timers=timers, go=go):
"""Setup up an enseble sampling scheme, stops timer once window comes up"""
"""Setup up an ensemble sampling scheme, stops timer once window comes up"""
w = MainWin.app.activeWindow()
if "optMonitor" in str(type(w)):
timers["start_opt_scheme"].stop()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def msg_no(MainWin=MainWin, getButton=getButton, timers=timers):


def start_opt_scheme(MainWin=MainWin, getButton=getButton, timers=timers, go=go):
"""Setup up an enseble sampling scheme, stops timer once window comes up"""
"""Setup up an ensemble sampling scheme, stops timer once window comes up"""
w = MainWin.app.activeWindow()
if "optMonitor" in str(type(w)):
timers["start_opt_scheme"].stop()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def msg_no(MainWin=MainWin, getButton=getButton, timers=timers):


def start_opt_scheme(MainWin=MainWin, getButton=getButton, timers=timers, go=go):
"""Setup up an enseble sampling scheme, stops timer once window comes up"""
"""Setup up an ensemble sampling scheme, stops timer once window comes up"""
w = MainWin.app.activeWindow()
if "optMonitor" in str(type(w)):
timers["start_opt_scheme"].stop()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def msg_no(MainWin=MainWin, getButton=getButton, timers=timers):


def start_opt_scheme(MainWin=MainWin, getButton=getButton, timers=timers, go=go):
"""Setup up an enseble sampling scheme, stops timer once window comes up"""
"""Setup up an ensemble sampling scheme, stops timer once window comes up"""
w = MainWin.app.activeWindow()
if "optMonitor" in str(type(w)):
timers["start_opt_scheme"].stop()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def msg_no(MainWin=MainWin, getButton=getButton, timers=timers):


def start_opt_scheme(MainWin=MainWin, getButton=getButton, timers=timers, go=go):
"""Setup up an enseble sampling scheme, stops timer once window comes up"""
"""Setup up an ensemble sampling scheme, stops timer once window comes up"""
w = MainWin.app.activeWindow()
if "optMonitor" in str(type(w)):
timers["start_opt_scheme"].stop()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def msg_no(MainWin=MainWin, getButton=getButton, timers=timers):


def start_opt_scheme(MainWin=MainWin, getButton=getButton, timers=timers, go=go):
"""Setup up an enseble sampling scheme, stops timer once window comes up"""
"""Setup up an ensemble sampling scheme, stops timer once window comes up"""
w = MainWin.app.activeWindow()
if "optMonitor" in str(type(w)):
timers["start_opt_scheme"].stop()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def msg_no(MainWin=MainWin, getButton=getButton, timers=timers):


def start_opt_scheme(MainWin=MainWin, getButton=getButton, timers=timers, go=go):
"""Setup up an enseble sampling scheme, stops timer once window comes up"""
"""Setup up an ensemble sampling scheme, stops timer once window comes up"""
w = MainWin.app.activeWindow()
if "optMonitor" in str(type(w)):
timers["start_opt_scheme"].stop()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def msg_no(MainWin=MainWin, getButton=getButton, timers=timers):


def start_opt_scheme(MainWin=MainWin, getButton=getButton, timers=timers, go=go):
"""Setup up an enseble sampling scheme, stops timer once window comes up"""
"""Setup up an ensemble sampling scheme, stops timer once window comes up"""
w = MainWin.app.activeWindow()
if "optMonitor" in str(type(w)):
timers["start_opt_scheme"].stop()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def msg_no(MainWin=MainWin, getButton=getButton, timers=timers):


def start_opt_scheme(MainWin=MainWin, getButton=getButton, timers=timers, go=go):
"""Setup up an enseble sampling scheme, stops timer once window comes up"""
"""Setup up an ensemble sampling scheme, stops timer once window comes up"""
w = MainWin.app.activeWindow()
if "optMonitor" in str(type(w)):
timers["start_opt_scheme"].stop()
Expand Down
2 changes: 1 addition & 1 deletion examples/test_files/Smoke_Tests/smoke_test_01 - Full.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def add_UQ_okay(MainWin=MainWin, getButton=getButton, timers=timers):


def uq_sampling_scheme(MainWin=MainWin, getButton=getButton, timers=timers, go=go):
"""Setup up an enseble sampling scheme, stops timer once window comes up"""
"""Setup up an ensemble sampling scheme, stops timer once window comes up"""
w = MainWin.app.activeWindow()
if "SimSetup" in str(type(w)):
timers["uq_sampling_scheme"].stop()
Expand Down
2 changes: 1 addition & 1 deletion examples/test_files/Smoke_Tests/smoke_test_01.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def add_UQ_okay(MainWin=MainWin, getButton=getButton, timers=timers):


def uq_sampling_scheme(MainWin=MainWin, getButton=getButton, timers=timers, go=go):
"""Setup up an enseble sampling scheme, stops timer once window comes up"""
"""Setup up an ensemble sampling scheme, stops timer once window comes up"""
w = MainWin.app.activeWindow()
if "SimSetup" in str(type(w)):
timers["uq_sampling_scheme"].stop()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def add_UQ_okay(MainWin=MainWin, getButton=getButton, timers=timers):


def uq_sampling_scheme(MainWin=MainWin, getButton=getButton, timers=timers, go=go):
"""Setup up an enseble sampling scheme, stops timer once window comes up"""
"""Setup up an ensemble sampling scheme, stops timer once window comes up"""
w = MainWin.app.activeWindow()
global errorTitle
errorTitle = "Set Up Sampling Scheme"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def add_UQ_okay(MainWin=MainWin, getButton=getButton, timers=timers):


def uq_sampling_scheme(MainWin=MainWin, getButton=getButton, timers=timers, go=go):
"""Setup up an enseble sampling scheme, stops timer once window comes up"""
"""Setup up an ensemble sampling scheme, stops timer once window comes up"""
w = MainWin.app.activeWindow()
global errorTitle
errorTitle = "Set Up Sampling Scheme"
Expand Down
2 changes: 1 addition & 1 deletion examples/test_files/Smoke_Tests/uq_smoke_test_inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def add_UQ_okay(MainWin=MainWin, getButton=getButton, timers=timers):


def uq_sampling_scheme(MainWin=MainWin, getButton=getButton, timers=timers, go=go):
"""Setup up an enseble sampling scheme, stops timer once window comes up"""
"""Setup up an ensemble sampling scheme, stops timer once window comes up"""
w = MainWin.app.activeWindow()
global errorTitle
errorTitle = "Set Up Sampling Scheme"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def add_UQ_okay(MainWin=MainWin, getButton=getButton, timers=timers):


def uq_sampling_scheme(MainWin=MainWin, getButton=getButton, timers=timers, go=go):
"""Setup up an enseble sampling scheme, stops timer once window comes up"""
"""Setup up an ensemble sampling scheme, stops timer once window comes up"""
w = MainWin.app.activeWindow()
if "SimSetup" in str(type(w)):
timers["uq_sampling_scheme"].stop()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def add_UQ_okay(MainWin=MainWin, getButton=getButton, timers=timers):


def uq_sampling_scheme(MainWin=MainWin, getButton=getButton, timers=timers, go=go):
"""Setup up an enseble sampling scheme, stops timer once window comes up"""
"""Setup up an ensemble sampling scheme, stops timer once window comes up"""
w = MainWin.app.activeWindow()
if "SimSetup" in str(type(w)):
timers["uq_sampling_scheme"].stop()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def add_UQ_okay(MainWin=MainWin, getButton=getButton, timers=timers):


def uq_sampling_scheme(MainWin=MainWin, getButton=getButton, timers=timers, go=go):
"""Setup up an enseble sampling scheme, stops timer once window comes up"""
"""Setup up an ensemble sampling scheme, stops timer once window comes up"""
w = MainWin.app.activeWindow()
if "SimSetup" in str(type(w)):
timers["uq_sampling_scheme"].stop()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def add_UQ_okay(MainWin=MainWin, getButton=getButton, timers=timers):


def uq_sampling_scheme(MainWin=MainWin, getButton=getButton, timers=timers, go=go):
"""Setup up an enseble sampling scheme, stops timer once window comes up"""
"""Setup up an ensemble sampling scheme, stops timer once window comes up"""
w = MainWin.app.activeWindow()
global errorTitle
errorTitle = "Setting up Sampling Scheme"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def add_UQ_okay(MainWin=MainWin, getButton=getButton, timers=timers):


def uq_sampling_scheme(MainWin=MainWin, getButton=getButton, timers=timers, go=go):
"""Setup up an enseble sampling scheme, stops timer once window comes up"""
"""Setup up an ensemble sampling scheme, stops timer once window comes up"""
w = MainWin.app.activeWindow()
global errorTitle
errorTitle = "Latin Hypercube"
Expand Down
2 changes: 1 addition & 1 deletion foqus_lib/gui/main/mainWindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ def enable(self, b):
This function enables or disables forms that allow editing
of the flowsheet or other session data while something is
running in another thread. This is to prevent
inconsitencies when a problem is running but the problem
inconsistencies when a problem is running but the problem
or flowsheet have been changed in the meantime
---args---
b: bool true to enable false to disable
Expand Down
4 changes: 2 additions & 2 deletions test/system_test/ui_test_01.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def add_UQ_okay(MainWin=MainWin):


def uq_sampling_scheme(MainWin=MainWin):
"""Setup up an enseble sampling scheme, stops timer once window comes up"""
"""Setup up an ensemble sampling scheme, stops timer once window comes up"""
global timers, exit_code, getButton, go
w = MainWin.app.activeWindow()
if "SimSetup" in str(type(w)):
Expand Down Expand Up @@ -268,7 +268,7 @@ def time_out():
assert self.flowsheet.errorStat == 0
_log.info("SUCCESS: Test03: Flowsheet run")

# 4) Start to add a UQ enseble, but cancel it.
# 4) Start to add a UQ ensemble, but cancel it.
MainWin.uqSetupAction.trigger()
if not go():
break
Expand Down
Loading