-
Notifications
You must be signed in to change notification settings - Fork 42
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
BM8 comparison page using Jupyter #1314
Conversation
Using plotly.express to plot the data. Everything needs to be a dataframe to use express.
Make nbextension addons for Jupyter install correctly.
Insert raw tags on notebooks for now to overcome issues with plotly and liquid syntax. Include require.js in header as now required by plotly, but not actually imported by plotly.js In addition, Clean up main.py to be more functional. Add levelset contour plot and data table Add level contour plot and data table to results notebook order of accuracy plot is implemented Finished order of accuracy plot Include more data Finish frist draft of 8a.1 comparison page Remove ipynb temp files Reduce size of notebook
…ook-comparison-page
…k-comparison-page
Features
Build SystemBug Fixes
Tests
Styles
ContributorsCommit-Lint commandsYou can trigger Commit-Lint actions by commenting on this PR:
|
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
The new PFHub live website is ready for review. |
1 similar comment
The new PFHub live website is ready for review. |
The new PFHub live website is ready for review. |
The new PFHub live website is ready for review. |
2 similar comments
The new PFHub live website is ready for review. |
The new PFHub live website is ready for review. |
The new PFHub live website is ready for review. |
@tkphd: I want to switch off the commit linter, but I can't figure it out. Any ideas? |
I don't have access, but in the Repository Settings you should be able to remove the webhook. |
Previoulsy all notebooks were translated into HTML with raw tags. This was because plotly breaks Jekyll without the raw tags. However, most of the notebooks don't use plotly and use Jekyll tags so should not have raw tags. Raw tags are only added to notebooks in the result/ directory that uses plotly. In future a more sophisticated method might be required for dealing with Plotly and Jekyll clashes.
htmlproofer breaks locally when the locale isn't defined.
Blacklist broken surveymonkey link for htmlproofer.
Switch off the fancy datatables rendering in the notebook version of the results comparison page for BM8.a as this does not render properly when converted to HTML.
The new PFHub live website is ready for review. |
The new PFHub live website is ready for review. |
The new PFHub live website is ready for review. |
The new PFHub live website is ready for review. |
Correct metadata for python-pfhub
@tkphd: please take another look. Thanks! |
The new PFHub live website is ready for review. |
@tkphd: could you approve this one if it's acceptable? Thanks! |
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.
Just a few more minor changes.
Makefile
Outdated
@@ -17,6 +17,11 @@ $(HEXBIN_OUT): $(HEXBIN_IN) | |||
|
|||
%.ipynb.raw.html: %.ipynb | |||
jupyter-nbconvert $< --output $(notdir $@) --to html --template basic | |||
if [ "results/" = "$(dir $@)" ]; then \ | |||
echo 'got here'; \ |
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.
If this is meant to stay, please replace "got here" with a meaningful message, perhaps including the calling process and the filename.
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.
Removed it.
_data/python-pfhub/README.md
Outdated
@@ -0,0 +1,22 @@ | |||
# Nix |
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.
Please include a one-line summary of what python-pfhub is meant to accomplish, at least, insert a top-level # PFHub Python Package
, and increase the existing headings by a level (e.g., # Nix
-> ## Nix
).
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.
Included short description
_data/python-pfhub/pfhub/__init__.py
Outdated
def test(*args): | ||
r"""Run all the module tests. | ||
|
||
Equivalent to running ``py.test pymks`` in the base of |
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.
Not PyMKS.
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.
Removed references to PyMKS
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.
Used ReviewNB to check notebooks -- looks good!
Rendered web page also looks good. Almost there! |
- Remove references to PyMKS - Short description of Python-PFhub in README.md - Remove debug statement in Makefile
The new PFHub live website is ready for review. |
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.
LGTM. Nice work!
Start the switch to using Jupyter notebooks for comparison pages
Address #1311, #1310, #1298, #1208
Remember to tear down the live site when merging or closing this
pull request.
This change is