-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
17 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,9 @@ | ||
""" | ||
This module is an example of a barebones sample data provider for napari. | ||
from ._reader import reader_function | ||
from vollseg import test_microtubule_kymographs | ||
|
||
It implements the "sample data" specification. | ||
see: https://napari.org/stable/plugins/guides.html?#sample-data | ||
|
||
Replace code below according to your needs. | ||
""" | ||
from __future__ import annotations | ||
def get_microtubule_test_data(): | ||
|
||
import numpy | ||
|
||
|
||
def make_sample_data(): | ||
"""Generates an image""" | ||
# Return list of tuples | ||
# [(data1, add_image_kwargs1), (data2, add_image_kwargs2)] | ||
# Check the documentation for more information about the | ||
# add_image_kwargs | ||
# https://napari.org/stable/api/napari.Viewer.html#napari.Viewer.add_image | ||
return [(numpy.random.rand(512, 512), {})] | ||
extracted_folder = test_microtubule_kymographs() | ||
image = reader_function(extracted_folder)[0][0] | ||
return [(image, {"name": "microtubule_kymographs"})] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
|
||
__version__ = version = '1.4.3' | ||
__version_tuple__ = version_tuple = (1, 4, 3) | ||
__version__ = version = "1.4.4" | ||
__version_tuple__ = version_tuple = (1, 4, 4) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters