Open
Show file tree
Hide file tree
Changes from all commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Failed to load files.
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
# Auto-generated by tools/update_requirements.py
numpy ==1.19
packaging ==17
setuptools
importlib_resources; python_version < '3.9'
jdata ==0.5
bjdata ==0.4
Original file line numberDiff line numberDiff line change
Expand Up@@ -70,6 +70,7 @@
)
from .spm2analyze import Spm2AnalyzeHeader, Spm2AnalyzeImage
from .spm99analyze import Spm99AnalyzeHeader, Spm99AnalyzeImage
from .jmesh import JMesh

# isort: split

Expand Down
Original file line numberDiff line numberDiff line change
Expand Up@@ -19,6 +19,7 @@
from .parrec import PARRECImage
from .spm2analyze import Spm2AnalyzeImage
from .spm99analyze import Spm99AnalyzeImage
from .jmesh import JMesh

# Ordered by the load/save priority.
all_image_classes = [
Expand All@@ -36,6 +37,7 @@
PARRECImage,
GiftiImage,
AFNIImage,
JMesh,
]

# Image classes known to require spatial axes to be first in index ordering.
Expand Down
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
# emacs: -*- mode: python-mode; py-indent-offset: 4; indent-tabs-mode: nil -*-
# vi: set ft=python sts=4 ts=4 sw=4 et:
### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ##
#
# See COPYING file distributed along with the NiBabel package for the
# copyright and license terms.
#
### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ##
"""JSON and BJData based JMesh format IO

.. currentmodule:: nibabel.jmesh

.. autosummary::
:toctree: ../generated

jmesh
"""

from .jmesh import load, save, JMesh, default_header
Original file line numberDiff line numberDiff line change
Expand Up@@ -14,6 +14,8 @@ dependencies = [
"numpy >=1.19",
"packaging >=17",
"importlib_resources; python_version < '3.9'",
"jdata >=0.5",
"bjdata >=0.4",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
Expand Down
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
# Auto-generated by tools/update_requirements.py
numpy >=1.19
packaging >=17
setuptools
importlib_resources; python_version < '3.9'
jdata >=0.5
bjdata >=0.4