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

Disable sliders #428

Merged
merged 1 commit into from
Jan 30, 2020
Merged

Disable sliders #428

merged 1 commit into from
Jan 30, 2020

Conversation

forsyth2
Copy link
Contributor

@forsyth2 forsyth2 commented Dec 11, 2019

Disabling sliders until we can implement them properly. This resolves #424 and replaces #426. Tests are in CDAT/jupyter-vcdat#154

},
"nbformat": 4,
"nbformat_minor": 2
}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add newline

@@ -0,0 +1,59 @@
import os
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this file the best way to test that the html displays the plots properly?

f = open(tmp, "rb")
st = f.read()
f.close()
self._parent._display_target_image.value = st
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we need this line outside of the SLIDERS_ENABLED section above.

@forsyth2
Copy link
Contributor Author

Will squash commits before merging.

@forsyth2 forsyth2 mentioned this pull request Dec 11, 2019
debug_print('Run the notebook')
# This is apparently NOT equivalent to running the notebook on the web.
# Generating the HTML this way keeps the plot, whereas running from the web does not.
assert os.system('jupyter nbconvert --to notebook --execute ../test_export_html.ipynb') == 0
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Circle CI apparently expects a different file path.

@muryanto1
Copy link
Member

@forsyth2 please pull the code in master to your branch, your branch's .circleci/config.yml is outdated which is why it is failing in circleci.

if [[ $CIRCLE_BRANCH != "master" ]]; then
exit 0
fi
#if [[ $CIRCLE_BRANCH != "master" ]]; then
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Revert changes in this file before merging.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like you need to revert these changes?

@forsyth2 forsyth2 marked this pull request as ready for review January 29, 2020 00:34
@forsyth2
Copy link
Contributor Author

@downiec @muryanto1 Ready for review. I will revert the second commit before merging.

Copy link
Contributor

@downiec downiec left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Double check that the config.yml is ready for merging before we merge.

if [[ $CIRCLE_BRANCH != "master" ]]; then
exit 0
fi
#if [[ $CIRCLE_BRANCH != "master" ]]; then
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like you need to revert these changes?

@forsyth2 forsyth2 merged commit ff341d6 into master Jan 30, 2020
@forsyth2 forsyth2 deleted the disable-sliders branch January 30, 2020 23:26
@downiec downiec modified the milestones: 8.2, 8.2.1 Jul 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

downloading a jupyter notebook has html does not have the image/plot included
3 participants