Skip to content

Adding notebook for sidecar widget organization#163

Open
cpparts wants to merge 9 commits into
spacetelescope:mainfrom
cpparts:interactive_MAST_data_exploration
Open

Adding notebook for sidecar widget organization#163
cpparts wants to merge 9 commits into
spacetelescope:mainfrom
cpparts:interactive_MAST_data_exploration

Conversation

@cpparts

@cpparts cpparts commented May 12, 2026

Copy link
Copy Markdown

Establishing a subfolder (interactive_MAST_data_exploration) for MAST Roman upscope notebooks from Team Cobalt with a notebook introducing widget organization via sidecar. Looking forward to feedback!

"* [Exercise](#Exercise)\n",
"\n",
"## Introduction\n",
"This tutorial familiarizes you with how to create and manipulate app sidecars, allowing you to customize your notebook displays for your optimal workflow. We use the package [jupyterlab-sidecar](https://github.com/jupyter-widgets/jupyterlab-sidecar) to create these sidecars in jupyterlab notebooks. In this notebook, we work with the widgets [mast-aladin](https://github.com/spacetelescope/mast-aladin) and [jdaviz](https://github.com/spacetelescope/jdaviz) to demonstrate functionality, though sidecars can be used to organize many other widgets you might use in your workflow."

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can you explain what a sidecar is somewhere in here? Maybe add an image?

@snbianco

Copy link
Copy Markdown
Contributor

I'm not sure what to do about the failing CI job. We may need to exempt these cells if there's a way to accomplish that. @ttdu would probably know more.

@ttdu

ttdu commented May 19, 2026

Copy link
Copy Markdown
Collaborator

Celia and I chatted on slack; there is now a ticket for the CI folks to address this (https://jira.stsci.edu/browse/SPB-3300)

@ttdu

ttdu commented May 19, 2026

Copy link
Copy Markdown
Collaborator

also, I am uncomfortable with the requirement that users have npm installed. all other notebooks require only Python + a Python package manager, so needing to handle javascript would be a fairly substantial change. if we anticipate users running this notebook locally, instead of just in a science platform, that could be an issue.

vanilla ipyaladin can be installed (through pip) without npm; are there any plans to do something similar for mast-aladin?

@@ -0,0 +1,3 @@
git+https://github.com/spacetelescope/mast-aladin.git

@bmorris3 bmorris3 Jun 9, 2026

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This PR depended on mast-aladin@main, which in turn depended on the dev version of ipyaladin. ipyaladin dev is built with npm via hatch-jupyter-builder. Since spacetelescope/mast-aladin#98, mast-aladin requires the latest release of ipyaladin, which has available universal wheels.

The npm dep should disappear next time you run CI. cc @ttdu

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.

4 participants