cochleogram 0.7.2__tar.gz → 0.7.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {cochleogram-0.7.2 → cochleogram-0.7.4}/PKG-INFO +2 -2
- {cochleogram-0.7.2 → cochleogram-0.7.4}/cochleogram/gui.enaml +4 -12
- {cochleogram-0.7.2 → cochleogram-0.7.4}/cochleogram/main.py +2 -2
- {cochleogram-0.7.2 → cochleogram-0.7.4}/cochleogram/version.py +2 -2
- {cochleogram-0.7.2 → cochleogram-0.7.4}/cochleogram.egg-info/PKG-INFO +2 -2
- {cochleogram-0.7.2 → cochleogram-0.7.4}/cochleogram.egg-info/requires.txt +1 -1
- {cochleogram-0.7.2 → cochleogram-0.7.4}/pyproject.toml +1 -1
- {cochleogram-0.7.2 → cochleogram-0.7.4}/.github/workflows/publish-to-pypi.yml +0 -0
- {cochleogram-0.7.2 → cochleogram-0.7.4}/.gitignore +0 -0
- {cochleogram-0.7.2 → cochleogram-0.7.4}/cochleogram/__init__.py +0 -0
- {cochleogram-0.7.2 → cochleogram-0.7.4}/cochleogram/config.py +0 -0
- {cochleogram-0.7.2 → cochleogram-0.7.4}/cochleogram/icons/__init__.py +0 -0
- {cochleogram-0.7.2 → cochleogram-0.7.4}/cochleogram/icons/cells.png +0 -0
- {cochleogram-0.7.2 → cochleogram-0.7.4}/cochleogram/icons/exclude.png +0 -0
- {cochleogram-0.7.2 → cochleogram-0.7.4}/cochleogram/icons/main-icon.ico +0 -0
- {cochleogram-0.7.2 → cochleogram-0.7.4}/cochleogram/icons/main-icon.png +0 -0
- {cochleogram-0.7.2 → cochleogram-0.7.4}/cochleogram/icons/make_icons.py +0 -0
- {cochleogram-0.7.2 → cochleogram-0.7.4}/cochleogram/icons/spiral.png +0 -0
- {cochleogram-0.7.2 → cochleogram-0.7.4}/cochleogram/icons/tile.png +0 -0
- {cochleogram-0.7.2 → cochleogram-0.7.4}/cochleogram/instructions.html +0 -0
- {cochleogram-0.7.2 → cochleogram-0.7.4}/cochleogram/model.py +0 -0
- {cochleogram-0.7.2 → cochleogram-0.7.4}/cochleogram/plot.py +0 -0
- {cochleogram-0.7.2 → cochleogram-0.7.4}/cochleogram/presenter.py +0 -0
- {cochleogram-0.7.2 → cochleogram-0.7.4}/cochleogram/readers.py +0 -0
- {cochleogram-0.7.2 → cochleogram-0.7.4}/cochleogram/util.py +0 -0
- {cochleogram-0.7.2 → cochleogram-0.7.4}/cochleogram.egg-info/SOURCES.txt +0 -0
- {cochleogram-0.7.2 → cochleogram-0.7.4}/cochleogram.egg-info/dependency_links.txt +0 -0
- {cochleogram-0.7.2 → cochleogram-0.7.4}/cochleogram.egg-info/entry_points.txt +0 -0
- {cochleogram-0.7.2 → cochleogram-0.7.4}/cochleogram.egg-info/top_level.txt +0 -0
- {cochleogram-0.7.2 → cochleogram-0.7.4}/development.rst +0 -0
- {cochleogram-0.7.2 → cochleogram-0.7.4}/readme.rst +0 -0
- {cochleogram-0.7.2 → cochleogram-0.7.4}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: cochleogram
|
|
3
|
-
Version: 0.7.
|
|
3
|
+
Version: 0.7.4
|
|
4
4
|
Summary: Module for creating cochleograms from confocal images
|
|
5
5
|
Author-email: Brad Buran <buran@ohsu.edu>
|
|
6
6
|
Maintainer-email: Brad Buran <buran@ohsu.edu>
|
|
@@ -9,7 +9,7 @@ Description-Content-Type: text/x-rst
|
|
|
9
9
|
Requires-Dist: atom
|
|
10
10
|
Requires-Dist: enaml[qt6-pyside]
|
|
11
11
|
Requires-Dist: matplotlib
|
|
12
|
-
Requires-Dist: ndimage-enaml>=0.0.
|
|
12
|
+
Requires-Dist: ndimage-enaml>=0.0.4
|
|
13
13
|
Requires-Dist: numpy
|
|
14
14
|
Requires-Dist: raster_geometry
|
|
15
15
|
Requires-Dist: pandas
|
|
@@ -20,7 +20,7 @@ from enaml.widgets.api import (Action, ActionGroup, ButtonGroup, CheckBox,
|
|
|
20
20
|
Slider, VGroup, Window)
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
from ndimage_enaml.gui import DisplayConfig, NDImageCanvas
|
|
23
|
+
from ndimage_enaml.gui import bind_focus, DisplayConfig, NDImageCanvas
|
|
24
24
|
|
|
25
25
|
from cochleogram import plot, util
|
|
26
26
|
from cochleogram.model import Cochlea
|
|
@@ -284,15 +284,11 @@ enamldef ActionGuessCells(HGroup):
|
|
|
284
284
|
|
|
285
285
|
enamldef TileDockItem(DockItem): dock_item:
|
|
286
286
|
|
|
287
|
-
title << '{}{}'.format(
|
|
287
|
+
title << '{}{}'.format('*' if presenter.unsaved_changes else '', presenter.obj.name)
|
|
288
288
|
|
|
289
289
|
attr presenter
|
|
290
290
|
closable = False
|
|
291
291
|
|
|
292
|
-
initialized ::
|
|
293
|
-
bind_focus(container.children, canvas.set_focus)
|
|
294
|
-
deferred_call(canvas.set_focus)
|
|
295
|
-
|
|
296
292
|
initialized ::
|
|
297
293
|
bind_focus(container.children, canvas.set_focus)
|
|
298
294
|
deferred_call(canvas.set_focus)
|
|
@@ -378,15 +374,11 @@ enamldef TileDockItem(DockItem): dock_item:
|
|
|
378
374
|
|
|
379
375
|
enamldef CochleogramDockItem(DockItem): dock_item:
|
|
380
376
|
|
|
381
|
-
title << 'Piece {}
|
|
377
|
+
title << '{}Piece {}'.format('*' if presenter.unsaved_changes else '', presenter.obj.piece)
|
|
382
378
|
|
|
383
379
|
attr presenter
|
|
384
380
|
closable = False
|
|
385
381
|
|
|
386
|
-
initialized ::
|
|
387
|
-
bind_focus(container.children, canvas.set_focus)
|
|
388
|
-
deferred_call(canvas.set_focus)
|
|
389
|
-
|
|
390
382
|
initialized ::
|
|
391
383
|
bind_focus(container.children, canvas.set_focus)
|
|
392
384
|
deferred_call(canvas.set_focus)
|
|
@@ -638,7 +630,7 @@ def get_title(reader):
|
|
|
638
630
|
return f'Cochleogram :: {reader.get_name()}'
|
|
639
631
|
|
|
640
632
|
|
|
641
|
-
enamldef
|
|
633
|
+
enamldef CochleogramWindow(MainWindow): window:
|
|
642
634
|
|
|
643
635
|
initial_size = (900, 900)
|
|
644
636
|
title << get_title(reader)
|
|
@@ -42,7 +42,7 @@ def main():
|
|
|
42
42
|
logging.basicConfig(level='INFO')
|
|
43
43
|
|
|
44
44
|
with enaml.imports():
|
|
45
|
-
from cochleogram.gui import
|
|
45
|
+
from cochleogram.gui import CochleogramWindow, load_dataset
|
|
46
46
|
|
|
47
47
|
parser = argparse.ArgumentParser("Cochleogram helper")
|
|
48
48
|
parser.add_argument("path", nargs='?')
|
|
@@ -52,7 +52,7 @@ def main():
|
|
|
52
52
|
config = get_config()
|
|
53
53
|
|
|
54
54
|
current_path = config['DEFAULT']['current_path']
|
|
55
|
-
view =
|
|
55
|
+
view = CochleogramWindow(current_path=current_path)
|
|
56
56
|
if args.path is not None:
|
|
57
57
|
deferred_call(load_dataset, args.path, view)
|
|
58
58
|
view.show()
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: cochleogram
|
|
3
|
-
Version: 0.7.
|
|
3
|
+
Version: 0.7.4
|
|
4
4
|
Summary: Module for creating cochleograms from confocal images
|
|
5
5
|
Author-email: Brad Buran <buran@ohsu.edu>
|
|
6
6
|
Maintainer-email: Brad Buran <buran@ohsu.edu>
|
|
@@ -9,7 +9,7 @@ Description-Content-Type: text/x-rst
|
|
|
9
9
|
Requires-Dist: atom
|
|
10
10
|
Requires-Dist: enaml[qt6-pyside]
|
|
11
11
|
Requires-Dist: matplotlib
|
|
12
|
-
Requires-Dist: ndimage-enaml>=0.0.
|
|
12
|
+
Requires-Dist: ndimage-enaml>=0.0.4
|
|
13
13
|
Requires-Dist: numpy
|
|
14
14
|
Requires-Dist: raster_geometry
|
|
15
15
|
Requires-Dist: pandas
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|