Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Histogram refactor #58

Merged
merged 6 commits into from
Apr 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions docs/api.rst
Original file line number Diff line number Diff line change
@@ -1,19 +1,23 @@
API
===


.. automodule:: pytools
:members:

.. automodule:: pytools.meta
:members:

.. automodule:: pytools.utils.zarr
:members:

.. automodule:: pytools.convert
.. automodule:: pytools.utils.histogram
:members:

.. automodule:: pytools.ng.mrc2nifti
.. automodule:: pytools.convert
:members:

.. automodule:: pytools.ng.build_histogram
.. automodule:: pytools.ng.mrc2nifti
:members:

.. automodule:: pytools.zarr_rechunk
Expand Down
9 changes: 2 additions & 7 deletions docs/commandline.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,17 @@ The Pytools packages contain a command line executables for various tasks. They

.. code-block :: bash
mrc_visual_min_max --help
mrc2nifti --help
Or the preferred way using the `python` executable to execute the module entry point:

.. code-block :: bash
python -m mrc_visual_min_max --help
python -m mrc2nifti --help
With either method of invoking the command line interface, the following sections describes the sub-commands available
and the command line options available.

.. click:: pytools.ng.mrc2nifti:main
:prog: mrc2nifti

.. click:: pytools.ng.mrc2ngpc:main
:prog: mrc2npgc

.. click:: pytools.ng.build_histogram:main
:prog: mrc_visual_min_max
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ local_scheme = "dirty-tag"

[project.scripts]
mrc2nifti = "pytools.ng.mrc2nifti:main"
mrc_visual_min_max = "pytools.ng.build_histogram:main"
zarr_rechunk = "pytools.zarr_rechunk:main"
zarr_build_multiscales = "pytools.zarr_build_multiscales:main"

11 changes: 10 additions & 1 deletion pytools/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,19 @@
# limitations under the License.
#

from .workflow_functions import visual_min_max

import logging

logger = logging.getLogger(__name__)
del logging

_installed_package = "tomojs_pytools"

try:
from ._version import version as __version__
except ImportError:
pass

__all__ = ["__version__"]

__all__ = ["__version__", "visual_min_max", "logger"]
Loading