WFSS 1.20.0 update to work with the latest format of the files. To be deprecated soon#318
WFSS 1.20.0 update to work with the latest format of the files. To be deprecated soon#318Rplesha wants to merge 10 commits intospacetelescope:mainfrom
Conversation
|
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
|
Putting this out for the NIRISS team to review first. We plan to deprecate these notebooks in favor of the jwst-pipeline-notebooks, but we first need to pull out some specific examples that are not shown in those. Talking with @bhilbert4 we still need to add a banner, too, so more changes to come still. |
|
@bhilbert4 the NIRISS team is happy with these changes, so it's ready for any other review that's needed |
|
Ok thanks. Once the failing tests are fixed (looks like maybe it's not finding the data files?) what do you think a reasonable timeline would be between deprecation and removal? 6 months? I think I remember at one point Cami mentioned that deprecation banners are added via an Action rather than manually. @mgough-970 is that true, or am I making things up? |
|
@bhilbert4 I actually don't think the error is on the notebook side or because it can't find the files. If I run the notebook completely independently with the data deleted locally, it runs through fine. I think the error is actually because there's not enough disk space to do the tests (if you look up towards the beginning of the errors) |
|
Ah ok. I thought the two errors were unrelated. This seems like something the CI experts will need to look at then. |
…exists statements to test that instead
This notebook checklist has been made available to us by the the Notebooks For All team.
Its purpose is to serve as a guide for both the notebook author and the technical reviewer highlighting critical aspects to consider when striving to develop an accessible and effective notebook.
The First Cell
<h1>or# in markdown).1., 2.,etc. in Markdown).The Rest of the Cells
#in Markdown) used in the notebook.Text
Code
Images
All images (jpg, png, svgs) have an image description. This could be
altproperty)altattribute with no value)Any text present in images exists in a text form outside of the image (this can be alt text, captions, or surrounding text.)
Visualizations
All visualizations have an image description. Review the previous section, Images, for more information on how to add it.
Visualization descriptions include
All visualizations and their parts have enough color contrast (color contrast checker) to be legible. Remember that transparent colors have lower contrast than their opaque versions.
All visualizations convey information with more visual cues than color coding. Use text labels, patterns, or icons alongside color to achieve this.
All visualizations have an additional way for notebook readers to access the information. Linking to the original data, including a table of the data in the same notebook, or sonifying the plot are all options.