-
Notifications
You must be signed in to change notification settings - Fork 5
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
fix: convert Path to str. update notebook #114
Conversation
" output_netcdf='https://pavics.ouranos.ca/wpsoutputs/e8afbb04-42d3-11ea-9531-0242ac12000b/frost-days_SRES-A2-experiment_20460101-20650101.nc',\n", | ||
" output_log='https://pavics.ouranos.ca/wpsoutputs/e8afbb04-42d3-11ea-9531-0242ac12000b/log.txt',\n", | ||
" ref='https://pavics.ouranos.ca/wpsoutputs/e8afbb04-42d3-11ea-9531-0242ac12000b/input.meta4'\n", | ||
" output_netcdf='http://localhost:5000/outputs/13b909e4-686e-11ea-a94b-b052162515fb/frost-days_SRES-A2-experiment_20460101-20650101.nc',\n", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Revert all output url from localhost
to pavics.ouranos.ca
? With the new regex, leaving it as localhost
will pass Jenkins but given this notebooks is used as tutorial, it's weird the output url do not match the host.
Your call, for me what's most important is Jenkins is not broken.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But how do I update the notebook before the working server is live at pavics.ouranos.ca ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But how do I update the notebook before the working server is live at pavics.ouranos.ca ?
Manual, just for that cell ;( Yeah it's ugly. You can leave it as localhost
as well, won't break Jenkins. Users running the tutorials notebook might not notice as well.
"output_type": "stream", | ||
"text": [ | ||
"Metalink content-type detected.\n", | ||
"Downloading to /tmp/tmp8fi43lm1/frost-days_SRES-A2-experiment_20460101-20650101.nc.\n" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This random path most likely will break Jenkins. But I don't have an updated Finch server to test. Will do a blind output-sanitize.cfg
fix.
Travis-CI error that do not look like regex related. Did you "Kernel -> Restart kernel and run all cells"?
|
Pr bird-house/finch#114 merged the explanation differences between the 2 duplicate notebooks.
Blind fix for Pr bird-house/finch#114 since no updated Finch server for testing.
I thought I did... apparently not. |
This is so we can release new notebook before releasing new server. Note the output is not backward compatible, only the code is. So Jenkins will still be broken, but at least the notebook so not appear broken to user when they run it from the tutorial-notebooks folder on the Jupyter env. See discussion in comment #112 (comment)
@huard I just push new change to make the notebook backward compatible with old server, you'll have to pull and re-run all cells again. |
Oh it might be that your jupyterlab and notebook (update both just in case) is old and the output is recorded differently from the latest version from Travis-CI which cause the diff. |
finch.ipynb: deleted since duplicate with the one in Finch repo Pr bird-house/finch#114 merged the explanation differences between the 2 duplicate notebooks. Fixes #156
output-sanitize.cfg: add temp folder from Finch notebook Blind fix for Pr bird-house/finch#114 since no updated Finch server for testing. New regex not adding more errors to Jenkins vs old Finch: http://jenkins.ouranos.ca/job/PAVICS-e2e-workflow-tests/job/output-sanitize-for-Finch-nb/2/console
To get fix for bird-house/finch#114 and bird-house/finch#117
Overview
This PR fixes #113
Changes: