morphio 3.3.6__tar.gz → 3.3.7__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.
- {MorphIO-3.3.6 → MorphIO-3.3.7}/.github/workflows/check-sdist.yml +7 -3
- {MorphIO-3.3.6 → MorphIO-3.3.7}/.github/workflows/clang_format_check.yaml +6 -3
- {MorphIO-3.3.6 → MorphIO-3.3.7}/.github/workflows/coverage_test.yaml +4 -1
- {MorphIO-3.3.6 → MorphIO-3.3.7}/.github/workflows/docstring_check.yaml +6 -1
- {MorphIO-3.3.6 → MorphIO-3.3.7}/.github/workflows/publish-sdist-wheels.yml +76 -52
- {MorphIO-3.3.6 → MorphIO-3.3.7}/.github/workflows/run-tests.yml +6 -1
- {MorphIO-3.3.6 → MorphIO-3.3.7}/CHANGELOG.md +8 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/CMakeLists.txt +7 -3
- MorphIO-3.3.7/LICENSE.txt +201 -0
- MorphIO-3.3.7/MorphIO.egg-info/PKG-INFO +104 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/MorphIO.egg-info/SOURCES.txt +6 -3
- MorphIO-3.3.7/PKG-INFO +104 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/README.rst +3 -3
- {MorphIO-3.3.6 → MorphIO-3.3.7}/binds/python/bind_enums.cpp +4 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/binds/python/bind_enums.h +4 -3
- {MorphIO-3.3.6 → MorphIO-3.3.7}/binds/python/bind_immutable.cpp +4 -0
- MorphIO-3.3.7/binds/python/bind_immutable.h +9 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/binds/python/bind_misc.cpp +4 -0
- MorphIO-3.3.7/binds/python/bind_misc.h +9 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/binds/python/bind_mutable.cpp +7 -4
- {MorphIO-3.3.6 → MorphIO-3.3.7}/binds/python/bind_mutable.h +4 -3
- {MorphIO-3.3.6 → MorphIO-3.3.7}/binds/python/bind_vasculature.cpp +4 -0
- MorphIO-3.3.7/binds/python/bind_vasculature.h +9 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/binds/python/bindings_utils.cpp +8 -5
- {MorphIO-3.3.6 → MorphIO-3.3.7}/binds/python/bindings_utils.h +5 -1
- {MorphIO-3.3.6 → MorphIO-3.3.7}/binds/python/generated/docstrings.h +7 -9
- {MorphIO-3.3.6 → MorphIO-3.3.7}/binds/python/morphio.cpp +4 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/include/morphio/collection.h +4 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/include/morphio/dendritic_spine.h +4 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/include/morphio/endoplasmic_reticulum.h +4 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/include/morphio/enums.h +5 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/include/morphio/errorMessages.h +9 -8
- {MorphIO-3.3.6 → MorphIO-3.3.7}/include/morphio/exceptions.h +4 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/include/morphio/glial_cell.h +4 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/include/morphio/mito_section.h +4 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/include/morphio/mitochondria.h +4 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/include/morphio/morphology.h +4 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/include/morphio/mut/dendritic_spine.h +4 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/include/morphio/mut/endoplasmic_reticulum.h +4 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/include/morphio/mut/glial_cell.h +4 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/include/morphio/mut/mito_section.h +4 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/include/morphio/mut/mitochondria.h +4 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/include/morphio/mut/modifiers.h +4 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/include/morphio/mut/morphology.h +4 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/include/morphio/mut/section.h +4 -2
- {MorphIO-3.3.6 → MorphIO-3.3.7}/include/morphio/mut/soma.h +4 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/include/morphio/mut/writers.h +10 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/include/morphio/vasc/iterators.hpp +5 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/include/morphio/vasc/properties.h +4 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/include/morphio/vasc/section.h +4 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/include/morphio/vasc/vasculature.h +4 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/include/morphio/vector_types.h +3 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/include/morphio/version.h +0 -3
- {MorphIO-3.3.6 → MorphIO-3.3.7}/morphio/__init__.py +2 -2
- {MorphIO-3.3.6 → MorphIO-3.3.7}/setup.py +6 -3
- {MorphIO-3.3.6 → MorphIO-3.3.7}/src/CMakeLists.txt +7 -3
- {MorphIO-3.3.6 → MorphIO-3.3.7}/src/collection.cpp +4 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/src/dendritic_spine.cpp +4 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/src/endoplasmic_reticulum.cpp +4 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/src/enums.cpp +4 -1
- {MorphIO-3.3.6 → MorphIO-3.3.7}/src/errorMessages.cpp +10 -38
- {MorphIO-3.3.6 → MorphIO-3.3.7}/src/glial_cell.cpp +4 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/src/mito_section.cpp +4 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/src/mitochondria.cpp +4 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/src/morphology.cpp +4 -18
- {MorphIO-3.3.6 → MorphIO-3.3.7}/src/mut/dendritic_spine.cpp +4 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/src/mut/endoplasmic_reticulum.cpp +4 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/src/mut/glial_cell.cpp +4 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/src/mut/mito_section.cpp +4 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/src/mut/mitochondria.cpp +4 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/src/mut/modifiers.cpp +4 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/src/mut/morphology.cpp +6 -6
- {MorphIO-3.3.6 → MorphIO-3.3.7}/src/mut/section.cpp +4 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/src/mut/soma.cpp +4 -0
- MorphIO-3.3.7/src/mut/writer_asc.cpp +90 -0
- MorphIO-3.3.7/src/mut/writer_hdf5.cpp +240 -0
- MorphIO-3.3.7/src/mut/writer_swc.cpp +187 -0
- MorphIO-3.3.7/src/mut/writer_utils.cpp +74 -0
- MorphIO-3.3.7/src/mut/writer_utils.h +25 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/src/point_utils.cpp +4 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/src/point_utils.h +4 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/src/properties.cpp +32 -28
- {MorphIO-3.3.6 → MorphIO-3.3.7}/src/readers/NeurolucidaLexer.inc +5 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/src/readers/morphologyASC.cpp +25 -3
- {MorphIO-3.3.6 → MorphIO-3.3.7}/src/readers/morphologyASC.h +5 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/src/readers/morphologyHDF5.cpp +29 -27
- {MorphIO-3.3.6 → MorphIO-3.3.7}/src/readers/morphologyHDF5.h +8 -3
- {MorphIO-3.3.6 → MorphIO-3.3.7}/src/readers/morphologySWC.cpp +26 -47
- {MorphIO-3.3.6 → MorphIO-3.3.7}/src/readers/morphologySWC.h +5 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/src/readers/vasculatureHDF5.cpp +5 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/src/readers/vasculatureHDF5.h +5 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/src/section.cpp +4 -0
- MorphIO-3.3.7/src/shared_utils.cpp +149 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/src/shared_utils.hpp +17 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/src/soma.cpp +4 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/src/vasc/properties.cpp +22 -19
- {MorphIO-3.3.6 → MorphIO-3.3.7}/src/vasc/section.cpp +4 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/src/vasc/vasculature.cpp +4 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/src/version.cpp.in +0 -15
- MorphIO-3.3.6/COPYING +0 -674
- MorphIO-3.3.6/COPYING.LESSER +0 -165
- MorphIO-3.3.6/MorphIO.egg-info/PKG-INFO +0 -100
- MorphIO-3.3.6/PKG-INFO +0 -100
- MorphIO-3.3.6/binds/python/bind_immutable.h +0 -5
- MorphIO-3.3.6/binds/python/bind_misc.h +0 -5
- MorphIO-3.3.6/binds/python/bind_vasculature.h +0 -5
- MorphIO-3.3.6/src/mut/writers.cpp +0 -487
- MorphIO-3.3.6/src/shared_utils.cpp +0 -66
- {MorphIO-3.3.6 → MorphIO-3.3.7}/.clang-format +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/.gitignore +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/.gitmodules +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/.readthedocs.yaml +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/CMakeLists.txt +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/GSL_LITE/CMakeLists.txt +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/GSL_LITE/cmake/gsl-lite-config-version.cmake.in +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/GSL_LITE/cmake/gsl-lite-config.cmake.in +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/GSL_LITE/gsl-lite.natvis +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/GSL_LITE/include/gsl/gsl +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/GSL_LITE/include/gsl/gsl-lite-vc6.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/GSL_LITE/include/gsl/gsl-lite.h +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/GSL_LITE/include/gsl/gsl-lite.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/GSL_LITE/include/gsl-lite/gsl-lite.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/GSL_LITE/include/gsl.h +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/GSL_LITE/include/gsl.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/HighFive/CMake/HighFiveConfig.cmake.in +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/HighFive/CMake/HighFiveTargetDeps.cmake +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/HighFive/CMake/HighFiveTargetExport.cmake +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/HighFive/CMake/config/CompilerFlagsHelpers.cmake +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/HighFive/CMake/config/ReleaseDebugAutoFlags.cmake +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/HighFive/CMake/config/TestHelpers.cmake +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/HighFive/CMakeLists.txt +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/HighFive/doc/CMakeLists.txt +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/HighFive/doc/Doxyfile +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/HighFive/doc/DoxygenLayout.xml +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/HighFive/doc/doxygen-awesome-css/doxygen-awesome.css +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/HighFive/doc/doxygen-awesome-css/update_doxygen_awesome.sh +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/HighFive/doc/environment.yaml +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/HighFive/doc/poster/example1_hdf5.cpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/HighFive/doc/poster/example1_highfive.cpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/HighFive/doc/poster/example3.cpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/HighFive/doc/poster/example6.cpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/HighFive/doc/poster/example_boost.cpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/HighFive/doc/poster/example_boost_ublas.cpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/HighFive/doc/poster/example_easy_h5py.py +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/HighFive/doc/poster/example_easy_highfive.cpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/HighFive/doc/poster/example_eigen.cpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/HighFive/doc/poster/example_props.cpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/HighFive/doc/poster/examples.js +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/HighFive/doc/poster/godbolt.org.ico +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/HighFive/doc/poster/index.html +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/HighFive/include/highfive/H5Attribute.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/HighFive/include/highfive/H5DataSet.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/HighFive/include/highfive/H5DataSpace.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/HighFive/include/highfive/H5DataType.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/HighFive/include/highfive/H5Easy.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/HighFive/include/highfive/H5Exception.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/HighFive/include/highfive/H5File.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/HighFive/include/highfive/H5FileDriver.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/HighFive/include/highfive/H5Group.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/HighFive/include/highfive/H5Object.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/HighFive/include/highfive/H5PropertyList.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/HighFive/include/highfive/H5Reference.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/HighFive/include/highfive/H5Selection.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/HighFive/include/highfive/H5Utility.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/HighFive/include/highfive/H5Version.hpp.in +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/HighFive/include/highfive/bits/H5Annotate_traits.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/HighFive/include/highfive/bits/H5Annotate_traits_misc.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/HighFive/include/highfive/bits/H5Attribute_misc.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/HighFive/include/highfive/bits/H5Converter_misc.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/HighFive/include/highfive/bits/H5DataSet_misc.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/HighFive/include/highfive/bits/H5DataType_misc.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/HighFive/include/highfive/bits/H5Dataspace_misc.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/HighFive/include/highfive/bits/H5Exception_misc.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/HighFive/include/highfive/bits/H5FileDriver_misc.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/HighFive/include/highfive/bits/H5File_misc.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/HighFive/include/highfive/bits/H5Friends.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/HighFive/include/highfive/bits/H5Iterables_misc.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/HighFive/include/highfive/bits/H5Node_traits.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/HighFive/include/highfive/bits/H5Node_traits_misc.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/HighFive/include/highfive/bits/H5Object_misc.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/HighFive/include/highfive/bits/H5Path_traits.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/HighFive/include/highfive/bits/H5Path_traits_misc.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/HighFive/include/highfive/bits/H5PropertyList_misc.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/HighFive/include/highfive/bits/H5ReadWrite_misc.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/HighFive/include/highfive/bits/H5Reference_misc.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/HighFive/include/highfive/bits/H5Selection_misc.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/HighFive/include/highfive/bits/H5Slice_traits.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/HighFive/include/highfive/bits/H5Slice_traits_misc.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/HighFive/include/highfive/bits/H5Utils.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/HighFive/include/highfive/bits/H5_definitions.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/HighFive/include/highfive/h5easy_bits/H5Easy_Eigen.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/HighFive/include/highfive/h5easy_bits/H5Easy_misc.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/HighFive/include/highfive/h5easy_bits/H5Easy_opencv.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/HighFive/include/highfive/h5easy_bits/H5Easy_public.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/HighFive/include/highfive/h5easy_bits/H5Easy_scalar.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/HighFive/include/highfive/h5easy_bits/H5Easy_vector.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/HighFive/include/highfive/h5easy_bits/H5Easy_xtensor.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/ghc_filesystem/CMakeLists.txt +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/ghc_filesystem/LICENSE +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/ghc_filesystem/cmake/GhcHelper.cmake +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/ghc_filesystem/cmake/config.cmake.in +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/ghc_filesystem/include/ghc/filesystem.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/ghc_filesystem/include/ghc/fs_fwd.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/ghc_filesystem/include/ghc/fs_impl.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/ghc_filesystem/include/ghc/fs_std.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/ghc_filesystem/include/ghc/fs_std_fwd.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/ghc_filesystem/include/ghc/fs_std_impl.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/lexertl14/CMakeLists.txt +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/lexertl14/include/lexertl/char_traits.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/lexertl14/include/lexertl/debug.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/lexertl14/include/lexertl/dot.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/lexertl14/include/lexertl/enums.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/lexertl14/include/lexertl/generate_cpp.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/lexertl14/include/lexertl/generator.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/lexertl14/include/lexertl/internals.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/lexertl14/include/lexertl/iterator.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/lexertl14/include/lexertl/licence_1_0.txt +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/lexertl14/include/lexertl/lookup.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/lexertl14/include/lexertl/match_results.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/lexertl14/include/lexertl/memory_file.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/lexertl14/include/lexertl/narrow.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/lexertl14/include/lexertl/observer_ptr.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/lexertl14/include/lexertl/parser/parser.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/lexertl14/include/lexertl/parser/tokeniser/blocks.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/lexertl14/include/lexertl/parser/tokeniser/fold2.inc +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/lexertl14/include/lexertl/parser/tokeniser/fold4.inc +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/lexertl14/include/lexertl/parser/tokeniser/re_token.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/lexertl14/include/lexertl/parser/tokeniser/re_tokeniser.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/lexertl14/include/lexertl/parser/tokeniser/re_tokeniser_helper.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/lexertl14/include/lexertl/parser/tokeniser/re_tokeniser_state.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/lexertl14/include/lexertl/parser/tokeniser/scripts.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/lexertl14/include/lexertl/parser/tokeniser/table.inc +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/lexertl14/include/lexertl/parser/tokeniser/unicode.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/lexertl14/include/lexertl/parser/tree/end_node.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/lexertl14/include/lexertl/parser/tree/iteration_node.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/lexertl14/include/lexertl/parser/tree/leaf_node.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/lexertl14/include/lexertl/parser/tree/node.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/lexertl14/include/lexertl/parser/tree/selection_node.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/lexertl14/include/lexertl/parser/tree/sequence_node.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/lexertl14/include/lexertl/partition/charset.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/lexertl14/include/lexertl/partition/equivset.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/lexertl14/include/lexertl/rules.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/lexertl14/include/lexertl/runtime_error.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/lexertl14/include/lexertl/serialise.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/lexertl14/include/lexertl/sm_to_csm.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/lexertl14/include/lexertl/sm_traits.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/lexertl14/include/lexertl/state_machine.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/lexertl14/include/lexertl/stream_shared_iterator.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/lexertl14/include/lexertl/string_token.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/3rdparty/lexertl14/include/lexertl/utf_iterators.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/AUTHORS.txt +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/CMake/CodeCoverage.cmake +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/CMake/CompilerFlags.cmake +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/CMake/MorphIOConfig.cmake +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/CONTRIBUTING.md +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/MANIFEST.in +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/MorphIO.egg-info/dependency_links.txt +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/MorphIO.egg-info/not-zip-safe +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/MorphIO.egg-info/requires.txt +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/MorphIO.egg-info/top_level.txt +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/binds/python/CMakeLists.txt +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/binds/python/generated/.clang-format +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/binds/python/pybind11/CMakeLists.txt +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/binds/python/pybind11/LICENSE +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/binds/python/pybind11/include/pybind11/attr.h +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/binds/python/pybind11/include/pybind11/buffer_info.h +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/binds/python/pybind11/include/pybind11/cast.h +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/binds/python/pybind11/include/pybind11/chrono.h +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/binds/python/pybind11/include/pybind11/common.h +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/binds/python/pybind11/include/pybind11/complex.h +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/binds/python/pybind11/include/pybind11/detail/class.h +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/binds/python/pybind11/include/pybind11/detail/common.h +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/binds/python/pybind11/include/pybind11/detail/descr.h +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/binds/python/pybind11/include/pybind11/detail/init.h +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/binds/python/pybind11/include/pybind11/detail/internals.h +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/binds/python/pybind11/include/pybind11/detail/type_caster_base.h +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/binds/python/pybind11/include/pybind11/detail/typeid.h +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/binds/python/pybind11/include/pybind11/eigen.h +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/binds/python/pybind11/include/pybind11/embed.h +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/binds/python/pybind11/include/pybind11/eval.h +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/binds/python/pybind11/include/pybind11/functional.h +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/binds/python/pybind11/include/pybind11/gil.h +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/binds/python/pybind11/include/pybind11/iostream.h +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/binds/python/pybind11/include/pybind11/numpy.h +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/binds/python/pybind11/include/pybind11/operators.h +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/binds/python/pybind11/include/pybind11/options.h +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/binds/python/pybind11/include/pybind11/pybind11.h +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/binds/python/pybind11/include/pybind11/pytypes.h +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/binds/python/pybind11/include/pybind11/stl/filesystem.h +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/binds/python/pybind11/include/pybind11/stl.h +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/binds/python/pybind11/include/pybind11/stl_bind.h +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/binds/python/pybind11/tools/FindCatch.cmake +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/binds/python/pybind11/tools/FindEigen3.cmake +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/binds/python/pybind11/tools/FindPythonLibsNew.cmake +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/binds/python/pybind11/tools/pybind11Common.cmake +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/binds/python/pybind11/tools/pybind11NewTools.cmake +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/binds/python/pybind11/tools/pybind11Tools.cmake +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/include/morphio/properties.h +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/include/morphio/section.h +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/include/morphio/section_base.h +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/include/morphio/section_iterators.hpp +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/include/morphio/soma.h +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/include/morphio/tools.h +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/include/morphio/types.h +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/morphio/mut/__init__.py +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/morphio/vasculature/__init__.py +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/pyproject.toml +0 -0
- {MorphIO-3.3.6 → MorphIO-3.3.7}/setup.cfg +0 -0
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
name: Check that `sdist` builds and installs
|
|
2
2
|
on: [pull_request, push]
|
|
3
3
|
|
|
4
|
+
env:
|
|
5
|
+
apt_options: -o Acquire::Retries=3
|
|
6
|
+
|
|
4
7
|
jobs:
|
|
5
8
|
build_sdist:
|
|
6
9
|
name: Build sdist
|
|
@@ -14,10 +17,10 @@ jobs:
|
|
|
14
17
|
with:
|
|
15
18
|
submodules: 'true'
|
|
16
19
|
|
|
17
|
-
- name: Set up Python 3.
|
|
20
|
+
- name: Set up Python 3.10
|
|
18
21
|
uses: actions/setup-python@v4
|
|
19
22
|
with:
|
|
20
|
-
python-version: 3.
|
|
23
|
+
python-version: '3.10'
|
|
21
24
|
|
|
22
25
|
- name: Build a source tarball
|
|
23
26
|
run:
|
|
@@ -25,7 +28,8 @@ jobs:
|
|
|
25
28
|
|
|
26
29
|
- name: Test tarball
|
|
27
30
|
run: |
|
|
28
|
-
sudo apt
|
|
31
|
+
sudo apt-get ${{env.apt_options}} update -y
|
|
32
|
+
sudo apt-get ${{env.apt_options}} install -y libhdf5-dev
|
|
29
33
|
pip install -r tests/requirement_tests.txt
|
|
30
34
|
pip install dist/*
|
|
31
35
|
pytest -s -v tests
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
name: clang-format-check
|
|
2
2
|
on: [pull_request, push]
|
|
3
3
|
|
|
4
|
+
env:
|
|
5
|
+
apt_options: -o Acquire::Retries=3
|
|
6
|
+
|
|
4
7
|
jobs:
|
|
5
8
|
build:
|
|
6
9
|
name: clang-format-check
|
|
@@ -14,9 +17,9 @@ jobs:
|
|
|
14
17
|
uses: actions/checkout@v3
|
|
15
18
|
with:
|
|
16
19
|
fetch-depth: 2
|
|
17
|
-
- name: Install apt
|
|
18
|
-
run: sudo apt-get update -y
|
|
19
20
|
- name: Install packages
|
|
20
|
-
run:
|
|
21
|
+
run: |
|
|
22
|
+
sudo apt-get ${{env.apt_options}} update -y
|
|
23
|
+
sudo apt-get ${{env.apt_options}} install -y python3-venv
|
|
21
24
|
- name: check_clang_format
|
|
22
25
|
run: ci/check_clang_format.sh
|
|
@@ -4,6 +4,7 @@ on: [pull_request, push]
|
|
|
4
4
|
env:
|
|
5
5
|
CC: gcc-9
|
|
6
6
|
CXX: g++-9
|
|
7
|
+
apt_options: -o Acquire::Retries=3
|
|
7
8
|
|
|
8
9
|
jobs:
|
|
9
10
|
build:
|
|
@@ -21,7 +22,9 @@ jobs:
|
|
|
21
22
|
- name: Get submodules
|
|
22
23
|
run: git submodule update --init --force --recursive
|
|
23
24
|
- name: Install packages
|
|
24
|
-
run:
|
|
25
|
+
run: |
|
|
26
|
+
sudo apt-get ${{env.apt_options}} update -y
|
|
27
|
+
sudo apt-get ${{env.apt_options}} install -y build-essential libhdf5-dev lcov
|
|
25
28
|
- name: Build and run unittests
|
|
26
29
|
run: ci/coverage_test.sh
|
|
27
30
|
- name: Upload Coverage to Coveralls
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
name: docstring-check
|
|
2
2
|
on: [pull_request, push]
|
|
3
3
|
|
|
4
|
+
env:
|
|
5
|
+
apt_options: -o Acquire::Retries=3
|
|
6
|
+
|
|
4
7
|
jobs:
|
|
5
8
|
build:
|
|
6
9
|
name: docstring-check
|
|
@@ -15,7 +18,9 @@ jobs:
|
|
|
15
18
|
with:
|
|
16
19
|
submodules: recursive
|
|
17
20
|
- name: Install packages
|
|
18
|
-
run:
|
|
21
|
+
run: |
|
|
22
|
+
sudo apt-get ${{env.apt_options}} update -y
|
|
23
|
+
sudo apt-get ${{env.apt_options}} install -y build-essential libhdf5-dev python3-venv libclang1-12
|
|
19
24
|
- name: Check docstrings
|
|
20
25
|
run: |
|
|
21
26
|
export LIBCLANG_PATH=/usr/lib/x86_64-linux-gnu/libclang-12.so
|
|
@@ -2,11 +2,16 @@ name: Publish sdist and wheels for macos, manylinux, and windows, publish to pyp
|
|
|
2
2
|
on: [pull_request, push]
|
|
3
3
|
|
|
4
4
|
env:
|
|
5
|
+
apt_options: -o Acquire::Retries=3
|
|
6
|
+
|
|
5
7
|
CIBW_BUILD_VERBOSITY: 3
|
|
6
8
|
CIBW_BUILD: 'cp*'
|
|
7
|
-
CIBW_SKIP: 'cp35-* cp36-* *-manylinux_i686 *-musllinux_* *-win32
|
|
9
|
+
CIBW_SKIP: 'cp35-* cp36-* cp37-* *-manylinux_i686 *-musllinux_* *-win32'
|
|
8
10
|
CIBW_BEFORE_TEST: pip install -r {project}/tests/requirement_tests.txt
|
|
9
11
|
CIBW_TEST_COMMAND: pytest -s -v {project}/tests
|
|
12
|
+
UNIXY_AEC_VERSION: 1.0.4
|
|
13
|
+
UNIXY_HDF5_VERSION: 1.14.2
|
|
14
|
+
WINDOWS_HDF5: 1.14.2
|
|
10
15
|
|
|
11
16
|
jobs:
|
|
12
17
|
build_wheels:
|
|
@@ -24,71 +29,90 @@ jobs:
|
|
|
24
29
|
with:
|
|
25
30
|
submodules: 'true'
|
|
26
31
|
|
|
27
|
-
-
|
|
28
|
-
|
|
32
|
+
- name: Install Python
|
|
33
|
+
uses: actions/setup-python@v4
|
|
29
34
|
with:
|
|
30
|
-
python-version: '3.
|
|
35
|
+
python-version: '3.10'
|
|
31
36
|
|
|
32
37
|
- name: Install cibuildwheel
|
|
33
38
|
run: |
|
|
34
39
|
python -m pip install cibuildwheel
|
|
35
40
|
|
|
41
|
+
- name: Cache HDF5 On Linux/macOS
|
|
42
|
+
if: runner.os == 'Linux' || runner.os == 'macOS'
|
|
43
|
+
uses: actions/cache@v3
|
|
44
|
+
id: cache-hdf5-posix
|
|
45
|
+
env:
|
|
46
|
+
cache-name: cache-hdf5-posix
|
|
47
|
+
with:
|
|
48
|
+
path: src-cache/
|
|
49
|
+
key: ${{ runner.os }}-build-${{ env.cache-name }}
|
|
50
|
+
|
|
36
51
|
- name: Build wheels on Linux
|
|
37
52
|
if: runner.os == 'Linux'
|
|
38
53
|
env:
|
|
39
54
|
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
|
|
40
55
|
CIBW_BEFORE_ALL: |
|
|
41
|
-
AEC_VERSION="1.0.4"
|
|
42
|
-
HDF5_VERSION="1.12.1"
|
|
43
|
-
|
|
44
|
-
yum update -y
|
|
45
56
|
yum -y install zlib-devel
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
./configure
|
|
55
|
-
make -j 2
|
|
56
|
-
make install
|
|
57
|
-
ldconfig
|
|
58
|
-
popd
|
|
59
|
-
|
|
60
|
-
echo "Downloading & unpacking HDF5 ${HDF5_VERSION}"
|
|
61
|
-
curl -fsSLO "https://www.hdfgroup.org/ftp/HDF5/releases/hdf5-${HDF5_VERSION%.*}/hdf5-$HDF5_VERSION/src/hdf5-$HDF5_VERSION.tar.gz"
|
|
62
|
-
tar -xzvf hdf5-$HDF5_VERSION.tar.gz
|
|
63
|
-
|
|
64
|
-
echo "Building & installing HDF5"
|
|
65
|
-
pushd hdf5-$HDF5_VERSION
|
|
66
|
-
./configure \
|
|
67
|
-
--prefix=/usr \
|
|
68
|
-
--enable-build-mode=production \
|
|
69
|
-
--with-szlib \
|
|
70
|
-
--enable-tools=no \
|
|
71
|
-
--enable-tests=no
|
|
72
|
-
make -j 2
|
|
73
|
-
make install
|
|
74
|
-
ldconfig
|
|
75
|
-
popd
|
|
57
|
+
|
|
58
|
+
# CMake complains if the dependencies come from within the same tree
|
|
59
|
+
# as the source, so we'll just pretend they are elsewhere
|
|
60
|
+
mkdir -p $PWD/src-cache
|
|
61
|
+
ln -s $PWD/src-cache /opt/src-cache
|
|
62
|
+
|
|
63
|
+
bash ci/hdf5-build.sh /opt/src-cache
|
|
64
|
+
|
|
76
65
|
run: |
|
|
66
|
+
export HDF5_ROOT=/opt/src-cache/install-
|
|
67
|
+
export CIBW_ENVIRONMENT_PASS=HDF5_ROOT
|
|
68
|
+
|
|
77
69
|
python -m cibuildwheel --output-dir dist
|
|
78
70
|
|
|
79
71
|
- name: Build wheels Mac OS
|
|
80
72
|
if: runner.os == 'macOS'
|
|
81
73
|
env:
|
|
82
|
-
|
|
74
|
+
CIBW_ENVIRONMENT_PASS: "HDF5_ROOT CMAKE_OSX_ARCHITECTURES MACOSX_DEPLOYMENT_TARGET"
|
|
83
75
|
CIBW_BEFORE_BUILD: |
|
|
84
|
-
#
|
|
85
|
-
#
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
76
|
+
# CMake complains if the dependencies come from within the same tree
|
|
77
|
+
# as the source, so we'll just pretend they are elsewhere
|
|
78
|
+
mkdir -p $PWD/src-cache
|
|
79
|
+
ln -s $PWD/src-cache /Users/runner/work/src-cache
|
|
80
|
+
|
|
81
|
+
bash ci/hdf5-build.sh /Users/runner/work/src-cache
|
|
89
82
|
run: |
|
|
83
|
+
# x86_64 macOS allows for cross compilation; first we do arm64,
|
|
84
|
+
# only for the 11.0 target; and store in the cache the compiled code...
|
|
85
|
+
export CIBW_ARCHS_MACOS="arm64"
|
|
86
|
+
export CMAKE_OSX_ARCHITECTURES="arm64"
|
|
87
|
+
export MACOSX_DEPLOYMENT_TARGET="11.0"
|
|
88
|
+
export HDF5_ROOT=/Users/runner/work/src-cache/install-$CIBW_ARCHS_MACOS
|
|
89
|
+
python -m cibuildwheel --output-dir dist
|
|
90
|
+
|
|
91
|
+
# ...and now we do both targets for x86_64
|
|
92
|
+
export CIBW_ARCHS_MACOS="x86_64"
|
|
93
|
+
export CMAKE_OSX_ARCHITECTURES="x86_64"
|
|
94
|
+
unset MACOSX_DEPLOYMENT_TARGET
|
|
95
|
+
export HDF5_ROOT=/Users/runner/work/src-cache/install-$CIBW_ARCHS_MACOS
|
|
90
96
|
python -m cibuildwheel --output-dir dist
|
|
91
97
|
|
|
98
|
+
- name: Cache HDF5 On Windows
|
|
99
|
+
if: runner.os == 'Windows'
|
|
100
|
+
id: cache-hdf5-windows
|
|
101
|
+
uses: actions/cache@v3
|
|
102
|
+
env:
|
|
103
|
+
cache-name: cache-hdf5-windows
|
|
104
|
+
with:
|
|
105
|
+
path: C:\cache\hdf5\${{ env.WINDOWS_HDF5 }}
|
|
106
|
+
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ env.WINDOWS_HDF5 }}
|
|
107
|
+
|
|
108
|
+
- name: Fill Windows Cache
|
|
109
|
+
if: runner.os == 'Windows' && steps.cache-hdf5-windows.outputs.cache-hit != 'true'
|
|
110
|
+
continue-on-error: false
|
|
111
|
+
shell: cmd
|
|
112
|
+
run: |
|
|
113
|
+
mkdir C:\cache\hdf5\${{ env.WINDOWS_HDF5 }}
|
|
114
|
+
curl -L -o C:\cache\hdf5\${{ env.WINDOWS_HDF5 }}\hdf5.zip https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.14/hdf5-1.14.2/bin/windows/hdf5-1.14.2-Std-win10_64-vs16.zip
|
|
115
|
+
|
|
92
116
|
- name: Build wheels Windows
|
|
93
117
|
if: runner.os == 'Windows'
|
|
94
118
|
shell: cmd
|
|
@@ -99,13 +123,12 @@ jobs:
|
|
|
99
123
|
# this has a partial table:
|
|
100
124
|
# https://devblogs.microsoft.com/cppblog/side-by-side-minor-version-msvc-toolsets-in-visual-studio-2017/
|
|
101
125
|
run: |
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
start /wait msiexec /a "%cd%\hdf\HDF5-1.12.0-win64.msi" /qn TARGETDIR="c:\hdf5\"
|
|
126
|
+
C:\windows\system32\tar.exe xf C:\cache\hdf5\${{ env.WINDOWS_HDF5 }}\hdf5.zip
|
|
127
|
+
start /wait msiexec /a "%cd%\hdf\HDF5-${{ env.WINDOWS_HDF5 }}-win64.msi" /qn TARGETDIR="c:\hdf5\"
|
|
105
128
|
|
|
106
129
|
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat" -vcvars_ver=14.1
|
|
107
130
|
|
|
108
|
-
set HDF5_DIR=C:\hdf5\HDF_Group\HDF5
|
|
131
|
+
set HDF5_DIR=C:\hdf5\HDF_Group\HDF5\${{ env.WINDOWS_HDF5 }}\cmake
|
|
109
132
|
|
|
110
133
|
python -m cibuildwheel --output-dir dist
|
|
111
134
|
|
|
@@ -125,10 +148,10 @@ jobs:
|
|
|
125
148
|
with:
|
|
126
149
|
submodules: 'true'
|
|
127
150
|
|
|
128
|
-
- name: Set up Python
|
|
151
|
+
- name: Set up Python
|
|
129
152
|
uses: actions/setup-python@v4
|
|
130
153
|
with:
|
|
131
|
-
python-version: 3.
|
|
154
|
+
python-version: '3.10'
|
|
132
155
|
|
|
133
156
|
- name: Build a source tarball
|
|
134
157
|
run:
|
|
@@ -136,7 +159,8 @@ jobs:
|
|
|
136
159
|
|
|
137
160
|
- name: Test tarball
|
|
138
161
|
run: |
|
|
139
|
-
sudo apt
|
|
162
|
+
sudo apt-get ${{env.apt_options}} update -y
|
|
163
|
+
sudo apt-get ${{env.apt_options}} install -y libhdf5-dev
|
|
140
164
|
pip install -r tests/requirement_tests.txt
|
|
141
165
|
pip install dist/*
|
|
142
166
|
pytest -s -v tests
|
|
@@ -166,7 +190,7 @@ jobs:
|
|
|
166
190
|
working-directory: dist
|
|
167
191
|
|
|
168
192
|
- name: Publish package to PyPI
|
|
169
|
-
uses: pypa/gh-action-pypi-publish@
|
|
193
|
+
uses: pypa/gh-action-pypi-publish@release/v1
|
|
170
194
|
with:
|
|
171
195
|
user: __token__
|
|
172
196
|
password: ${{ secrets.PYPI_PASSWORD }}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
name: Run tests
|
|
2
2
|
on: [pull_request, push]
|
|
3
3
|
|
|
4
|
+
env:
|
|
5
|
+
apt_options: -o Acquire::Retries=3
|
|
6
|
+
|
|
4
7
|
jobs:
|
|
5
8
|
build:
|
|
6
9
|
name: Run tests on ${{ matrix.os }}.${{ matrix.compiler.CC }}
|
|
@@ -32,7 +35,9 @@ jobs:
|
|
|
32
35
|
|
|
33
36
|
- name: Install packages on Linux
|
|
34
37
|
if: runner.os == 'Linux'
|
|
35
|
-
run:
|
|
38
|
+
run: |
|
|
39
|
+
sudo apt-get ${{env.apt_options}} update -y
|
|
40
|
+
sudo apt-get ${{env.apt_options}} install -y build-essential libhdf5-dev
|
|
36
41
|
|
|
37
42
|
- name: Install packages on MacOS
|
|
38
43
|
if: runner.os == 'macOS'
|
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
v3.3.7
|
|
2
|
+
======
|
|
3
|
+
* Change license from LGPL-3.0 to Apache-2.0 #467
|
|
4
|
+
* Switch to HDF5 1.14 for all wheels
|
|
5
|
+
* Add wheel building for python 3.12
|
|
6
|
+
* Add wheel building for ARM64 Apple Silicon
|
|
7
|
+
* Better write for soma types #411
|
|
8
|
+
|
|
1
9
|
v3.3.6
|
|
2
10
|
======
|
|
3
11
|
Improvements:
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
cmake_minimum_required(VERSION 3.2)
|
|
2
|
+
#allow using of HDF5_ROOT for building with a custom HDF5 version
|
|
3
|
+
cmake_policy(SET CMP0074 NEW)
|
|
2
4
|
project(MorphIO VERSION 2.0.0)
|
|
3
5
|
|
|
4
6
|
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/bin)
|
|
@@ -52,20 +54,22 @@ if(BUILD_BINDINGS)
|
|
|
52
54
|
add_subdirectory(binds/python)
|
|
53
55
|
endif(BUILD_BINDINGS)
|
|
54
56
|
|
|
57
|
+
include(GNUInstallDirs)
|
|
58
|
+
|
|
55
59
|
install(
|
|
56
60
|
DIRECTORY ${MORPHIO_INCLUDE_DIR}
|
|
57
|
-
DESTINATION
|
|
61
|
+
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
|
|
58
62
|
)
|
|
59
63
|
|
|
60
64
|
install(
|
|
61
65
|
EXPORT MorphIOTargets
|
|
62
66
|
NAMESPACE MorphIO::
|
|
63
|
-
DESTINATION
|
|
67
|
+
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/MorphIO
|
|
64
68
|
)
|
|
65
69
|
|
|
66
70
|
install(
|
|
67
71
|
FILES ${CMAKE_CURRENT_LIST_DIR}/CMake/MorphIOConfig.cmake
|
|
68
|
-
DESTINATION
|
|
72
|
+
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/MorphIO
|
|
69
73
|
)
|
|
70
74
|
|
|
71
75
|
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright 2005-2023 Blue Brain Project/EPFL
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: MorphIO
|
|
3
|
+
Version: 3.3.7
|
|
4
|
+
Summary: A neuron morphology IO library
|
|
5
|
+
Home-page: https://github.com/BlueBrain/MorphIO/
|
|
6
|
+
Author: Blue Brain Project, EPFL
|
|
7
|
+
License: Apache License 2.0
|
|
8
|
+
Keywords: computational neuroscience,morphology,neuron,neurolucida,neuromorphology
|
|
9
|
+
Classifier: Intended Audience :: Education
|
|
10
|
+
Classifier: Intended Audience :: Science/Research
|
|
11
|
+
Classifier: Programming Language :: Python
|
|
12
|
+
Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
|
|
13
|
+
Requires-Python: >=3.8
|
|
14
|
+
Description-Content-Type: text/x-rst
|
|
15
|
+
Provides-Extra: docs
|
|
16
|
+
License-File: LICENSE.txt
|
|
17
|
+
License-File: AUTHORS.txt
|
|
18
|
+
|
|
19
|
+
.. image:: doc/source/logo/BBP-MorphIO.jpg
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|license| |docs|
|
|
23
|
+
|
|
24
|
+
MorphIO
|
|
25
|
+
=======
|
|
26
|
+
|
|
27
|
+
Documentation
|
|
28
|
+
-------------
|
|
29
|
+
|
|
30
|
+
MorphIO documentation is built and hosted on `readthedocs <http://morphio.readthedocs.org/>`_.
|
|
31
|
+
|
|
32
|
+
* `latest snapshot <http://morphio.readthedocs.org/en/latest/>`_
|
|
33
|
+
* `latest release <http://morphio.readthedocs.org/en/stable/>`_
|
|
34
|
+
|
|
35
|
+
Introduction
|
|
36
|
+
------------
|
|
37
|
+
|
|
38
|
+
MorphIO is a library for reading and writing neuron morphology files. It supports the following
|
|
39
|
+
formats:
|
|
40
|
+
|
|
41
|
+
* SWC
|
|
42
|
+
* ASC (aka. neurolucida)
|
|
43
|
+
* H5 v1
|
|
44
|
+
* H5 v2 is not supported anymore, see `H5v2`_
|
|
45
|
+
|
|
46
|
+
It provides 3 C++ classes that are the starting point of every morphology analysis:
|
|
47
|
+
|
|
48
|
+
* ``Soma``: contains the information related to the soma.
|
|
49
|
+
|
|
50
|
+
* ``Section``: a section is the succession of points between two bifurcations. To the bare minimum
|
|
51
|
+
the ``Section`` object will contain the section type, the position and diameter of each point.
|
|
52
|
+
|
|
53
|
+
* ``Morphology``: the morphology object contains general information about the loaded cell
|
|
54
|
+
but also provides accessors to the different sections.
|
|
55
|
+
|
|
56
|
+
One important concept is that MorphIO is split into a *read-only* part and a *read/write* one.
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
H5v2
|
|
60
|
+
====
|
|
61
|
+
|
|
62
|
+
Starting at version 2.6.0, the file format ``h5v2`` is no longer supported. If you have
|
|
63
|
+
morphologies in this format, you can convert them to h5v1 with:
|
|
64
|
+
|
|
65
|
+
.. code-block:: bash
|
|
66
|
+
|
|
67
|
+
pip install "morphio<2.6" "morph-tool==2.3.0"
|
|
68
|
+
|
|
69
|
+
and then:
|
|
70
|
+
|
|
71
|
+
.. code-block:: bash
|
|
72
|
+
|
|
73
|
+
# single file, OUTPUT must end with `.h5`
|
|
74
|
+
morph-tool convert file INPUTFILE OUTPUT
|
|
75
|
+
# bulk conversion
|
|
76
|
+
morph-tool convert folder -ext h5 INPUTDIR OUTPUTDIR
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
Contributing
|
|
80
|
+
============
|
|
81
|
+
If you want to improve the project or you see any issue, every contribution is welcome.
|
|
82
|
+
Please check the `contribution guidelines <https://github.com/BlueBrain/morphio/blob/master/CONTRIBUTING.md>`_ for more
|
|
83
|
+
information.
|
|
84
|
+
|
|
85
|
+
Acknowledgements
|
|
86
|
+
================
|
|
87
|
+
The development of this software was supported by funding to the Blue Brain Project, a research center of the École polytechnique fédérale de Lausanne (EPFL), from the Swiss government’s ETH Board of the Swiss Federal Institutes of Technology.
|
|
88
|
+
|
|
89
|
+
This research was supported by the EBRAINS research infrastructure, funded from the European Union’s Horizon 2020 Framework Programme for Research and Innovation under the Specific Grant Agreement No. 945539 (Human Brain Project SGA3).
|
|
90
|
+
|
|
91
|
+
License
|
|
92
|
+
=======
|
|
93
|
+
MorphIO is licensed under the terms of the Apache License 2.0.
|
|
94
|
+
See LICENSE.txt for further details.
|
|
95
|
+
|
|
96
|
+
Copyright (c) 2013-2023 Blue Brain Project/EPFL
|
|
97
|
+
|
|
98
|
+
.. |license| image:: https://img.shields.io/pypi/l/morphio
|
|
99
|
+
:target: https://github.com/BlueBrain/morphio/blob/master/COPYING.LESSER
|
|
100
|
+
|
|
101
|
+
.. |docs| image:: https://readthedocs.org/projects/morphio/badge/?version=latest
|
|
102
|
+
:target: https://morphio.readthedocs.io/
|
|
103
|
+
:alt: documentation status
|
|
104
|
+
|