Skip to content

Commit

Permalink
import header from brainglobe-utils
Browse files Browse the repository at this point in the history
  • Loading branch information
K-Meech committed Apr 12, 2024
1 parent 9d54161 commit 7a64fb2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 48 deletions.
9 changes: 7 additions & 2 deletions brainglobe_registration/registration_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
import numpy as np
from bg_atlasapi import BrainGlobeAtlas
from bg_atlasapi.list_atlases import get_downloaded_atlases
from brainglobe_utils.qtpy.logo import header_widget
from napari.viewer import Viewer
from qtpy.QtCore import Qt
from qtpy.QtWidgets import (
Expand All @@ -25,7 +26,6 @@
from skimage.segmentation import find_boundaries

from brainglobe_registration.elastix.register import run_registration
from brainglobe_registration.utils.brainglobe_logo import header_widget
from brainglobe_registration.utils.utils import (
adjust_napari_image_layer,
find_layer_index,
Expand Down Expand Up @@ -85,7 +85,12 @@ def __init__(self, napari_viewer: Viewer):
self._moving_image = None

self.setLayout(QVBoxLayout())
self.layout().addWidget(header_widget())
self.layout().addWidget(
header_widget(
"brainglobe-registration",
"Registration to a BrainGlobe atlas using Elastix",
)
)

self.main_tabs = QTabWidget(parent=self)
self.main_tabs.setTabPosition(QTabWidget.West)
Expand Down
Binary file removed brainglobe_registration/resources/brainglobe.png
Binary file not shown.
46 changes: 0 additions & 46 deletions brainglobe_registration/utils/brainglobe_logo.py

This file was deleted.

0 comments on commit 7a64fb2

Please sign in to comment.