Skip to content

Commit

Permalink
Merge branch 'main' into webknossos-annotate
Browse files Browse the repository at this point in the history
  • Loading branch information
jingjingwu1225 authored Nov 25, 2024
2 parents f08623f + 1339981 commit 7292261
Show file tree
Hide file tree
Showing 13 changed files with 1,369 additions and 770 deletions.
2 changes: 2 additions & 0 deletions conda.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,7 @@ dependencies:
- ruff
- tifffile
- pip
- h5py
- scipy
- pip:
- cyclopts
5 changes: 3 additions & 2 deletions linc_convert/modalities/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Converters for all imaging modalities."""

__all__ = ["df", "lsm", "wk"]
from . import df, lsm, wk
__all__ = ["df", "lsm", "wk", "psoct"]
from . import df, lsm, wk, psoct

8 changes: 6 additions & 2 deletions linc_convert/modalities/df/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
"""Dark Field microscopy converters."""

__all__ = ["cli", "multi_slice", "single_slice"]
try:
import glymur as _ # noqa: F401

from . import cli, multi_slice, single_slice
__all__ = ["cli", "multi_slice", "single_slice"]
from . import cli, multi_slice, single_slice
except ImportError:
pass
9 changes: 7 additions & 2 deletions linc_convert/modalities/lsm/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
"""Light Sheet Microscopy converters."""

__all__ = ["cli", "mosaic"]
from . import cli, mosaic
try:
import tifffile as _ # noqa: F401

__all__ = ["cli", "mosaic"]
from . import cli, mosaic
except ImportError:
pass
10 changes: 10 additions & 0 deletions linc_convert/modalities/psoct/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
"""Polarization-sensitive optical coherence tomography converters."""

try:
import h5py as _h5py # noqa: F401
import scipy as _scipy # noqa: F401

__all__ = ["cli", "multi_slice", "single_volume"]
from . import cli, multi_slice, single_volume
except ImportError:
pass
Loading

0 comments on commit 7292261

Please sign in to comment.