Skip to content

Commit

Permalink
CI: Fix Sphinx installation
Browse files Browse the repository at this point in the history
Closes #119
  • Loading branch information
jschueller committed Nov 12, 2024
1 parent 6716944 commit 54c95dc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .ci_support/run_docker_linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -xe

export SOURCE_DATE_EPOCH=1609455600
pip install -r /io/doc/requirements.txt --break-system-packages
aurman -S python-sphinx-renku-theme python-sphinx_rtd_theme --noconfirm --noedit

cp -r /io/* /tmp
cd /tmp
Expand Down
7 changes: 3 additions & 4 deletions doc/application/plot_metamodel.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,11 +214,10 @@ def globalMetamodel(sample):

projectFunction = ot.KarhunenLoeveProjection(resultKL)
coefficientSample = projectFunction(outputFMUTestSample)
predictions = metamodel(inputTestSample)

validationKriging = ot.MetaModelValidation(
inputTestSample, coefficientSample, metamodel
)
Q2 = validationKriging.computePredictivityFactor()[0]
validation = ot.MetaModelValidation(coefficientSample, predictions)
Q2 = validation.computeR2Score()[0]
print(Q2)

# %%
Expand Down
2 changes: 1 addition & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
templates_path = ["_templates"]

# The suffix(es) of source filenames.
source_suffix = [".rst"]
source_suffix = {'.rst': 'restructuredtext'}

# The master toctree document.
master_doc = "index"
Expand Down

0 comments on commit 54c95dc

Please sign in to comment.