Closed lbianchi-lbl closed 1 year ago
Updated the title to reflect all double loop notebook
Added new items:
@lbianchi-lbl How should I modify the checks.yml so that we can run the RE double loop notebook with the new CI env var?
@lbianchi-lbl How should I modify the checks.yml so that we can run the RE double loop notebook with the new CI env var?
@dguittet In the .github/workflows/notebooks-checks.yml
file, it should be enough to add this at the root level of the YAML tree (i.e. env
should not be indented), e.g. between the defaults
and jobs
top-level keys at line 11:
on:
workflow_dispatch:
defaults:
run:
# important to make sure that all commands on Windows are run using Bash
# -l: login shell, needed when using Conda
shell: bash -l {0}
env:
DISPATCHES_TESTING_MODE: "true"
jobs:
# ... rest of the code
@lbianchi-lbl Thanks. And the notebook is already enabled?
@dguittet good point. The last several cells of DoubleLoopOptimization.ipynb
have a nbval-skip
tag that needs to be removed from each cell in order for that cell to be run.
That can be done:
.ipynb
as a text/JSON file and that tag from the tags: [...]
array (leaving the empty array should be fine)Since it's not really connected to the IDAES v2 transition, I've created #159 to track the changes needed to be able to remove the nbval-skip
tags for the DL notebooks, and closing this as the remaining items have been completed.
Notebooks
DoubleLoopOptimization.ipynb
ThermalGeneratorModelData
seems to be missing from current IDAESPython code
Formerly part of this issue
Cell 10 raises exception on Linux because of capitalization issues in the GMLC-RTS dataset (see https://github.com/gmlc-dispatches/sample-data/issues/1)This is a separate issue and is being tracked in #159