Skip to content

Instantly share code, notes, and snippets.

@adamltyson
Last active November 26, 2024 15:08
Show Gist options
  • Select an option

  • Save adamltyson/119e21ed8b28f3a7ec2b98d92964187a to your computer and use it in GitHub Desktop.

Select an option

Save adamltyson/119e21ed8b28f3a7ec2b98d92964187a to your computer and use it in GitHub Desktop.
Open napari with the brainreg plugin opened.
# /// script
# requires-python = "==3.12"
# dependencies = [
# "napari[all]",
# "brainreg[napari]",
# ]
# ///
import napari
viewer = napari.Viewer()
viewer.window.add_plugin_dock_widget('brainreg', 'Atlas Registration')
napari.run()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment