morphio 3.3.2__tar.gz → 3.3.3__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.
Files changed (401) hide show
  1. {MorphIO-3.3.2 → MorphIO-3.3.3}/.github/workflows/check-sdist.yml +2 -2
  2. {MorphIO-3.3.2 → MorphIO-3.3.3}/.github/workflows/publish-sdist-wheels.yml +2 -2
  3. {MorphIO-3.3.2 → MorphIO-3.3.3}/.github/workflows/run-tests.yml +6 -5
  4. {MorphIO-3.3.2 → MorphIO-3.3.3}/.gitignore +1 -0
  5. {MorphIO-3.3.2 → MorphIO-3.3.3}/.gitmodules +4 -1
  6. {MorphIO-3.3.2 → MorphIO-3.3.3}/.readthedocs.yaml +12 -2
  7. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/CMakeLists.txt +0 -6
  8. MorphIO-3.3.3/CHANGELOG.md +45 -0
  9. {MorphIO-3.3.2 → MorphIO-3.3.3}/CMakeLists.txt +14 -0
  10. MorphIO-3.3.3/MANIFEST.in +32 -0
  11. {MorphIO-3.3.2 → MorphIO-3.3.3/MorphIO.egg-info}/PKG-INFO +7 -3
  12. {MorphIO-3.3.2 → MorphIO-3.3.3}/MorphIO.egg-info/SOURCES.txt +36 -157
  13. {MorphIO-3.3.2/MorphIO.egg-info → MorphIO-3.3.3}/PKG-INFO +7 -3
  14. {MorphIO-3.3.2 → MorphIO-3.3.3}/README.rst +4 -1
  15. MorphIO-3.3.3/binds/python/CMakeLists.txt +17 -0
  16. {MorphIO-3.3.2 → MorphIO-3.3.3}/binds/python/bind_immutable.cpp +29 -6
  17. {MorphIO-3.3.2 → MorphIO-3.3.3}/binds/python/bind_mutable.cpp +10 -0
  18. {MorphIO-3.3.2 → MorphIO-3.3.3}/binds/python/bind_vasculature.cpp +42 -0
  19. {MorphIO-3.3.2 → MorphIO-3.3.3}/binds/python/bindings_utils.cpp +3 -2
  20. MorphIO-3.3.3/binds/python/pybind11/CMakeLists.txt +297 -0
  21. MorphIO-3.3.3/binds/python/pybind11/LICENSE +29 -0
  22. {MorphIO-3.3.2/3rdparty → MorphIO-3.3.3/binds/python}/pybind11/include/pybind11/attr.h +137 -25
  23. {MorphIO-3.3.2/3rdparty → MorphIO-3.3.3/binds/python}/pybind11/include/pybind11/buffer_info.h +44 -14
  24. MorphIO-3.3.3/binds/python/pybind11/include/pybind11/cast.h +1432 -0
  25. {MorphIO-3.3.2/3rdparty → MorphIO-3.3.3/binds/python}/pybind11/include/pybind11/chrono.h +49 -20
  26. {MorphIO-3.3.2/3rdparty → MorphIO-3.3.3/binds/python}/pybind11/include/pybind11/complex.h +4 -4
  27. {MorphIO-3.3.2/3rdparty → MorphIO-3.3.3/binds/python}/pybind11/include/pybind11/detail/class.h +114 -44
  28. {MorphIO-3.3.2/3rdparty → MorphIO-3.3.3/binds/python}/pybind11/include/pybind11/detail/common.h +284 -77
  29. {MorphIO-3.3.2/3rdparty → MorphIO-3.3.3/binds/python}/pybind11/include/pybind11/detail/descr.h +11 -7
  30. {MorphIO-3.3.2/3rdparty → MorphIO-3.3.3/binds/python}/pybind11/include/pybind11/detail/init.h +23 -12
  31. {MorphIO-3.3.2/3rdparty → MorphIO-3.3.3/binds/python}/pybind11/include/pybind11/detail/internals.h +208 -90
  32. MorphIO-3.3.3/binds/python/pybind11/include/pybind11/detail/type_caster_base.h +985 -0
  33. {MorphIO-3.3.2/3rdparty → MorphIO-3.3.3/binds/python}/pybind11/include/pybind11/detail/typeid.h +5 -5
  34. {MorphIO-3.3.2/3rdparty → MorphIO-3.3.3/binds/python}/pybind11/include/pybind11/eigen.h +44 -45
  35. {MorphIO-3.3.2/3rdparty → MorphIO-3.3.3/binds/python}/pybind11/include/pybind11/embed.h +117 -35
  36. {MorphIO-3.3.2/3rdparty → MorphIO-3.3.3/binds/python}/pybind11/include/pybind11/eval.h +55 -9
  37. {MorphIO-3.3.2/3rdparty → MorphIO-3.3.3/binds/python}/pybind11/include/pybind11/functional.h +37 -17
  38. MorphIO-3.3.3/binds/python/pybind11/include/pybind11/gil.h +193 -0
  39. MorphIO-3.3.3/binds/python/pybind11/include/pybind11/iostream.h +275 -0
  40. {MorphIO-3.3.2/3rdparty → MorphIO-3.3.3/binds/python}/pybind11/include/pybind11/numpy.h +224 -125
  41. {MorphIO-3.3.2/3rdparty → MorphIO-3.3.3/binds/python}/pybind11/include/pybind11/operators.h +11 -16
  42. {MorphIO-3.3.2/3rdparty → MorphIO-3.3.3/binds/python}/pybind11/include/pybind11/options.h +2 -2
  43. {MorphIO-3.3.2/3rdparty → MorphIO-3.3.3/binds/python}/pybind11/include/pybind11/pybind11.h +840 -501
  44. {MorphIO-3.3.2/3rdparty → MorphIO-3.3.3/binds/python}/pybind11/include/pybind11/pytypes.h +529 -134
  45. MorphIO-3.3.3/binds/python/pybind11/include/pybind11/stl/filesystem.h +103 -0
  46. {MorphIO-3.3.2/3rdparty → MorphIO-3.3.3/binds/python}/pybind11/include/pybind11/stl.h +42 -53
  47. {MorphIO-3.3.2/3rdparty → MorphIO-3.3.3/binds/python}/pybind11/include/pybind11/stl_bind.h +156 -58
  48. {MorphIO-3.3.2/3rdparty → MorphIO-3.3.3/binds/python}/pybind11/tools/FindCatch.cmake +17 -4
  49. {MorphIO-3.3.2/3rdparty → MorphIO-3.3.3/binds/python}/pybind11/tools/FindEigen3.cmake +18 -13
  50. {MorphIO-3.3.2/3rdparty → MorphIO-3.3.3/binds/python}/pybind11/tools/FindPythonLibsNew.cmake +128 -73
  51. MorphIO-3.3.3/binds/python/pybind11/tools/pybind11Common.cmake +403 -0
  52. MorphIO-3.3.3/binds/python/pybind11/tools/pybind11NewTools.cmake +278 -0
  53. MorphIO-3.3.3/binds/python/pybind11/tools/pybind11Tools.cmake +219 -0
  54. {MorphIO-3.3.2 → MorphIO-3.3.3}/include/morphio/dendritic_spine.h +5 -4
  55. {MorphIO-3.3.2 → MorphIO-3.3.3}/include/morphio/endoplasmic_reticulum.h +11 -4
  56. {MorphIO-3.3.2 → MorphIO-3.3.3}/include/morphio/enums.h +2 -1
  57. {MorphIO-3.3.2 → MorphIO-3.3.3}/include/morphio/errorMessages.h +26 -24
  58. {MorphIO-3.3.2 → MorphIO-3.3.3}/include/morphio/exceptions.h +1 -1
  59. {MorphIO-3.3.2 → MorphIO-3.3.3}/include/morphio/glial_cell.h +3 -1
  60. {MorphIO-3.3.2 → MorphIO-3.3.3}/include/morphio/mito_section.h +10 -2
  61. {MorphIO-3.3.2 → MorphIO-3.3.3}/include/morphio/mitochondria.h +7 -3
  62. {MorphIO-3.3.2 → MorphIO-3.3.3}/include/morphio/morphology.h +6 -5
  63. {MorphIO-3.3.2 → MorphIO-3.3.3}/include/morphio/mut/dendritic_spine.h +6 -3
  64. {MorphIO-3.3.2 → MorphIO-3.3.3}/include/morphio/mut/endoplasmic_reticulum.h +9 -7
  65. {MorphIO-3.3.2 → MorphIO-3.3.3}/include/morphio/mut/glial_cell.h +4 -3
  66. {MorphIO-3.3.2 → MorphIO-3.3.3}/include/morphio/mut/mito_section.h +13 -6
  67. {MorphIO-3.3.2 → MorphIO-3.3.3}/include/morphio/mut/mitochondria.h +8 -9
  68. {MorphIO-3.3.2 → MorphIO-3.3.3}/include/morphio/mut/modifiers.h +3 -2
  69. {MorphIO-3.3.2 → MorphIO-3.3.3}/include/morphio/mut/morphology.h +8 -13
  70. {MorphIO-3.3.2 → MorphIO-3.3.3}/include/morphio/mut/section.h +27 -16
  71. {MorphIO-3.3.2 → MorphIO-3.3.3}/include/morphio/mut/soma.h +16 -15
  72. {MorphIO-3.3.2 → MorphIO-3.3.3}/include/morphio/properties.h +7 -0
  73. {MorphIO-3.3.2 → MorphIO-3.3.3}/include/morphio/section.h +14 -3
  74. MorphIO-3.3.3/include/morphio/section_base.h +143 -0
  75. {MorphIO-3.3.2 → MorphIO-3.3.3}/include/morphio/section_iterators.hpp +2 -3
  76. {MorphIO-3.3.2 → MorphIO-3.3.3}/include/morphio/soma.h +5 -5
  77. {MorphIO-3.3.2 → MorphIO-3.3.3}/include/morphio/types.h +2 -13
  78. {MorphIO-3.3.2 → MorphIO-3.3.3}/include/morphio/vasc/iterators.hpp +2 -1
  79. {MorphIO-3.3.2 → MorphIO-3.3.3}/include/morphio/vasc/properties.h +2 -1
  80. {MorphIO-3.3.2 → MorphIO-3.3.3}/include/morphio/vasc/section.h +5 -4
  81. {MorphIO-3.3.2 → MorphIO-3.3.3}/include/morphio/vasc/vasculature.h +22 -3
  82. {MorphIO-3.3.2 → MorphIO-3.3.3}/include/morphio/vector_types.h +12 -10
  83. MorphIO-3.3.3/include/morphio/version.h +18 -0
  84. MorphIO-3.3.3/pyproject.toml +2 -0
  85. {MorphIO-3.3.2 → MorphIO-3.3.3}/setup.py +2 -1
  86. {MorphIO-3.3.2 → MorphIO-3.3.3}/src/dendritic_spine.cpp +6 -2
  87. {MorphIO-3.3.2 → MorphIO-3.3.3}/src/endoplasmic_reticulum.cpp +4 -5
  88. {MorphIO-3.3.2 → MorphIO-3.3.3}/src/errorMessages.cpp +36 -14
  89. {MorphIO-3.3.2 → MorphIO-3.3.3}/src/glial_cell.cpp +3 -1
  90. {MorphIO-3.3.2 → MorphIO-3.3.3}/src/mito_section.cpp +4 -2
  91. {MorphIO-3.3.2 → MorphIO-3.3.3}/src/mitochondria.cpp +3 -3
  92. {MorphIO-3.3.2 → MorphIO-3.3.3}/src/morphology.cpp +33 -34
  93. {MorphIO-3.3.2 → MorphIO-3.3.3}/src/mut/dendritic_spine.cpp +2 -1
  94. {MorphIO-3.3.2 → MorphIO-3.3.3}/src/mut/endoplasmic_reticulum.cpp +18 -21
  95. {MorphIO-3.3.2 → MorphIO-3.3.3}/src/mut/glial_cell.cpp +2 -1
  96. {MorphIO-3.3.2 → MorphIO-3.3.3}/src/mut/mito_section.cpp +31 -24
  97. {MorphIO-3.3.2 → MorphIO-3.3.3}/src/mut/mitochondria.cpp +25 -24
  98. {MorphIO-3.3.2 → MorphIO-3.3.3}/src/mut/modifiers.cpp +16 -7
  99. {MorphIO-3.3.2 → MorphIO-3.3.3}/src/mut/morphology.cpp +59 -45
  100. {MorphIO-3.3.2 → MorphIO-3.3.3}/src/mut/section.cpp +51 -27
  101. {MorphIO-3.3.2 → MorphIO-3.3.3}/src/mut/soma.cpp +7 -14
  102. {MorphIO-3.3.2 → MorphIO-3.3.3}/src/mut/writers.cpp +50 -23
  103. {MorphIO-3.3.2 → MorphIO-3.3.3}/src/properties.cpp +28 -15
  104. {MorphIO-3.3.2 → MorphIO-3.3.3}/src/readers/morphologyHDF5.cpp +2 -2
  105. {MorphIO-3.3.2 → MorphIO-3.3.3}/src/readers/morphologyHDF5.h +0 -4
  106. {MorphIO-3.3.2 → MorphIO-3.3.3}/src/readers/vasculatureHDF5.cpp +7 -1
  107. {MorphIO-3.3.2 → MorphIO-3.3.3}/src/section.cpp +18 -12
  108. {MorphIO-3.3.2 → MorphIO-3.3.3}/src/soma.cpp +4 -4
  109. {MorphIO-3.3.2 → MorphIO-3.3.3}/src/vasc/properties.cpp +24 -12
  110. {MorphIO-3.3.2 → MorphIO-3.3.3}/src/vasc/section.cpp +47 -31
  111. {MorphIO-3.3.2 → MorphIO-3.3.3}/src/vasc/vasculature.cpp +26 -7
  112. {MorphIO-3.3.2 → MorphIO-3.3.3}/src/vector_utils.cpp +40 -29
  113. MorphIO-3.3.2/3rdparty/pybind11/CMakeLists.txt +0 -157
  114. MorphIO-3.3.2/3rdparty/pybind11/include/pybind11/cast.h +0 -2159
  115. MorphIO-3.3.2/3rdparty/pybind11/include/pybind11/iostream.h +0 -209
  116. MorphIO-3.3.2/3rdparty/pybind11/tools/check-style.sh +0 -70
  117. MorphIO-3.3.2/3rdparty/pybind11/tools/libsize.py +0 -38
  118. MorphIO-3.3.2/3rdparty/pybind11/tools/mkdoc.py +0 -379
  119. MorphIO-3.3.2/3rdparty/pybind11/tools/pybind11Config.cmake.in +0 -104
  120. MorphIO-3.3.2/3rdparty/pybind11/tools/pybind11Tools.cmake +0 -227
  121. MorphIO-3.3.2/CHANGELOG.md +0 -21
  122. MorphIO-3.3.2/MANIFEST.in +0 -21
  123. MorphIO-3.3.2/binds/python/CMakeLists.txt +0 -18
  124. MorphIO-3.3.2/ci/check_clang_format.sh +0 -27
  125. MorphIO-3.3.2/ci/check_generated_docstrings.sh +0 -49
  126. MorphIO-3.3.2/ci/coverage_test.sh +0 -26
  127. MorphIO-3.3.2/ci/cpp_test.sh +0 -23
  128. MorphIO-3.3.2/ci/python_test.sh +0 -42
  129. MorphIO-3.3.2/doc/Makefile +0 -20
  130. MorphIO-3.3.2/doc/README.md +0 -16
  131. MorphIO-3.3.2/doc/environment.yml +0 -8
  132. MorphIO-3.3.2/doc/source/Doxyfile +0 -2537
  133. MorphIO-3.3.2/doc/source/DoxygenLayout.xml +0 -194
  134. MorphIO-3.3.2/doc/source/_templates/doxygen_page.rst_t +0 -4
  135. MorphIO-3.3.2/doc/source/conf.py +0 -193
  136. MorphIO-3.3.2/doc/source/cpp.rst +0 -8
  137. MorphIO-3.3.2/doc/source/doxygen/.gitignore +0 -0
  138. MorphIO-3.3.2/doc/source/footer.html +0 -6
  139. MorphIO-3.3.2/doc/source/glia.rst +0 -16
  140. MorphIO-3.3.2/doc/source/header.html +0 -27
  141. MorphIO-3.3.2/doc/source/images/section_segment.svg +0 -431
  142. MorphIO-3.3.2/doc/source/images/sections.svg +0 -663
  143. MorphIO-3.3.2/doc/source/images/swc/sequential.svg +0 -272
  144. MorphIO-3.3.2/doc/source/images/swc/sphere.svg +0 -313
  145. MorphIO-3.3.2/doc/source/images/swc/split.svg +0 -376
  146. MorphIO-3.3.2/doc/source/images/swc/three_pt.svg +0 -608
  147. MorphIO-3.3.2/doc/source/images/swc/two_pt.svg +0 -344
  148. MorphIO-3.3.2/doc/source/index.rst +0 -17
  149. MorphIO-3.3.2/doc/source/install.rst +0 -60
  150. MorphIO-3.3.2/doc/source/markers.rst +0 -146
  151. MorphIO-3.3.2/doc/source/mitochondria.rst +0 -68
  152. MorphIO-3.3.2/doc/source/morphology.rst +0 -192
  153. MorphIO-3.3.2/doc/source/python.rst +0 -4
  154. MorphIO-3.3.2/doc/source/reticulum.rst +0 -47
  155. MorphIO-3.3.2/doc/source/specification.rst +0 -228
  156. MorphIO-3.3.2/doc/source/specification_neurolucida.rst +0 -195
  157. MorphIO-3.3.2/doc/source/warnings.rst +0 -87
  158. MorphIO-3.3.2/examples/getting_started.ipynb +0 -711
  159. MorphIO-3.3.2/examples/getting_started_mutable.ipynb +0 -219
  160. MorphIO-3.3.2/include/morphio/section_base.h +0 -88
  161. MorphIO-3.3.2/include/morphio/section_base.tpp +0 -89
  162. MorphIO-3.3.2/include/morphio/version.h +0 -12
  163. MorphIO-3.3.2/pyproject.toml +0 -2
  164. MorphIO-3.3.2/scripts/check-clang-format-all +0 -24
  165. MorphIO-3.3.2/src/readers/utilsHDF5.h +0 -52
  166. MorphIO-3.3.2/tests/CMakeLists.txt +0 -44
  167. MorphIO-3.3.2/tests/contrib/catch.hpp +0 -13922
  168. MorphIO-3.3.2/tests/data/annotations.asc +0 -12
  169. MorphIO-3.3.2/tests/data/astrocyte.h5 +0 -0
  170. MorphIO-3.3.2/tests/data/circle_contour.asc +0 -214
  171. MorphIO-3.3.2/tests/data/complexe.swc +0 -31
  172. MorphIO-3.3.2/tests/data/disconnected_neurite.swc +0 -10
  173. MorphIO-3.3.2/tests/data/h5/empty.h5 +0 -0
  174. MorphIO-3.3.2/tests/data/h5/merged.h5 +0 -0
  175. MorphIO-3.3.2/tests/data/h5/non-valid.h5 +0 -0
  176. MorphIO-3.3.2/tests/data/h5/v1/Neuron-no-soma.h5 +0 -0
  177. MorphIO-3.3.2/tests/data/h5/v1/Neuron.h5 +0 -0
  178. MorphIO-3.3.2/tests/data/h5/v1/endoplasmic-reticulum.h5 +0 -0
  179. MorphIO-3.3.2/tests/data/h5/v1/glia.h5 +0 -0
  180. MorphIO-3.3.2/tests/data/h5/v1/glia_empty_perimeters.h5 +0 -0
  181. MorphIO-3.3.2/tests/data/h5/v1/glia_soma_only.h5 +0 -0
  182. MorphIO-3.3.2/tests/data/h5/v1/glia_wrong_sized_perimeters.h5 +0 -0
  183. MorphIO-3.3.2/tests/data/h5/v1/h5v1.4.h5 +0 -0
  184. MorphIO-3.3.2/tests/data/h5/v1/incorrect_point_columns.h5 +0 -0
  185. MorphIO-3.3.2/tests/data/h5/v1/incorrect_structure_columns.h5 +0 -0
  186. MorphIO-3.3.2/tests/data/h5/v1/make-dendritic-spine.py +0 -35
  187. MorphIO-3.3.2/tests/data/h5/v1/metadata_group_only.h5 +0 -0
  188. MorphIO-3.3.2/tests/data/h5/v1/mitochondria.h5 +0 -0
  189. MorphIO-3.3.2/tests/data/h5/v1/monodim.h5 +0 -0
  190. MorphIO-3.3.2/tests/data/h5/v1/simple-broken-section-type.h5 +0 -0
  191. MorphIO-3.3.2/tests/data/h5/v1/simple-dendritric-spine.h5 +0 -0
  192. MorphIO-3.3.2/tests/data/h5/v1/simple-negative-section-type.h5 +0 -0
  193. MorphIO-3.3.2/tests/data/h5/v1/simple-two-point-soma.h5 +0 -0
  194. MorphIO-3.3.2/tests/data/h5/v1/simple.h5 +0 -0
  195. MorphIO-3.3.2/tests/data/h5/v1/single-neurite.h5 +0 -0
  196. MorphIO-3.3.2/tests/data/h5/v1/soma_after_dendrite.h5 +0 -0
  197. MorphIO-3.3.2/tests/data/h5/v1/soma_no_neurites.h5 +0 -0
  198. MorphIO-3.3.2/tests/data/h5/v1/three-point-soma-two-offset.h5 +0 -0
  199. MorphIO-3.3.2/tests/data/h5/v1/two_child_unmerged.h5 +0 -0
  200. MorphIO-3.3.2/tests/data/h5/v1/unknown_section_type_structure.h5 +0 -0
  201. MorphIO-3.3.2/tests/data/h5/v2/Neuron.h5 +0 -0
  202. MorphIO-3.3.2/tests/data/h5/vasculature-broken-section-type.h5 +0 -0
  203. MorphIO-3.3.2/tests/data/h5/vasculature1.h5 +0 -0
  204. MorphIO-3.3.2/tests/data/h5/vasculature2.h5 +0 -0
  205. MorphIO-3.3.2/tests/data/invalid-incomplete.asc +0 -22
  206. MorphIO-3.3.2/tests/data/iterators.asc +0 -36
  207. MorphIO-3.3.2/tests/data/marker-with-string.asc +0 -12
  208. MorphIO-3.3.2/tests/data/markers.asc +0 -42
  209. MorphIO-3.3.2/tests/data/mono-type.asc +0 -45
  210. MorphIO-3.3.2/tests/data/multiple_point_section.asc +0 -29
  211. MorphIO-3.3.2/tests/data/multiple_soma.swc +0 -11
  212. MorphIO-3.3.2/tests/data/nested_single_children.asc +0 -20
  213. MorphIO-3.3.2/tests/data/neurite_wrong_root_point.swc +0 -7
  214. MorphIO-3.3.2/tests/data/no_soma.swc +0 -3
  215. MorphIO-3.3.2/tests/data/nrn-order-already-sorted.h5 +0 -0
  216. MorphIO-3.3.2/tests/data/nrn_ordering.swc +0 -3788
  217. MorphIO-3.3.2/tests/data/pia.asc +0 -38
  218. MorphIO-3.3.2/tests/data/reversed_NRN_neurite_order.swc +0 -9
  219. MorphIO-3.3.2/tests/data/sections-block.asc +0 -38
  220. MorphIO-3.3.2/tests/data/simple-with-font.asc +0 -36
  221. MorphIO-3.3.2/tests/data/simple-with-image-coord.asc +0 -34
  222. MorphIO-3.3.2/tests/data/simple.asc +0 -44
  223. MorphIO-3.3.2/tests/data/simple.swc +0 -32
  224. MorphIO-3.3.2/tests/data/simple.unknown +0 -44
  225. MorphIO-3.3.2/tests/data/simple2.asc +0 -32
  226. MorphIO-3.3.2/tests/data/single_point_root.asc +0 -8
  227. MorphIO-3.3.2/tests/data/soma_cylinders.swc +0 -8
  228. MorphIO-3.3.2/tests/data/soma_multiple_frustums.swc +0 -6
  229. MorphIO-3.3.2/tests/data/soma_single_frustum.swc +0 -4
  230. MorphIO-3.3.2/tests/data/soma_three_points_cylinder.swc +0 -4
  231. MorphIO-3.3.2/tests/data/spine.asc +0 -29
  232. MorphIO-3.3.2/tests/data/three_point_soma.swc +0 -35
  233. MorphIO-3.3.2/tests/main.cpp +0 -3
  234. MorphIO-3.3.2/tests/requirement_tests.txt +0 -4
  235. MorphIO-3.3.2/tests/test_0_API.py +0 -49
  236. MorphIO-3.3.2/tests/test_10_vasculature.py +0 -78
  237. MorphIO-3.3.2/tests/test_1_swc.py +0 -521
  238. MorphIO-3.3.2/tests/test_2_neurolucida.py +0 -675
  239. MorphIO-3.3.2/tests/test_3_h5.py +0 -83
  240. MorphIO-3.3.2/tests/test_4_immut.py +0 -211
  241. MorphIO-3.3.2/tests/test_5_mut.py +0 -682
  242. MorphIO-3.3.2/tests/test_6_writers.py +0 -313
  243. MorphIO-3.3.2/tests/test_7_modifiers.py +0 -94
  244. MorphIO-3.3.2/tests/test_8_all_morphologies.py +0 -93
  245. MorphIO-3.3.2/tests/test_9_surfaces.py +0 -68
  246. MorphIO-3.3.2/tests/test_immutable_morphology.cpp +0 -341
  247. MorphIO-3.3.2/tests/test_morphology_readers.cpp +0 -198
  248. MorphIO-3.3.2/tests/test_mutable_morphology.cpp +0 -55
  249. MorphIO-3.3.2/tests/utils.py +0 -101
  250. {MorphIO-3.3.2 → MorphIO-3.3.3}/.clang-format +0 -0
  251. {MorphIO-3.3.2 → MorphIO-3.3.3}/.github/workflows/clang_format_check.yaml +0 -0
  252. {MorphIO-3.3.2 → MorphIO-3.3.3}/.github/workflows/coverage_test.yaml +0 -0
  253. {MorphIO-3.3.2 → MorphIO-3.3.3}/.github/workflows/docstring_check.yaml +0 -0
  254. {MorphIO-3.3.2 → MorphIO-3.3.3}/.travis.yml +0 -0
  255. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/GSL_LITE/CMakeLists.txt +0 -0
  256. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/GSL_LITE/cmake/PackageConfig.cmake.in +0 -0
  257. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/GSL_LITE/gsl-lite.natvis +0 -0
  258. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/GSL_LITE/include/gsl/gsl +0 -0
  259. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/GSL_LITE/include/gsl/gsl-lite-vc6.hpp +0 -0
  260. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/GSL_LITE/include/gsl/gsl-lite.h +0 -0
  261. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/GSL_LITE/include/gsl/gsl-lite.hpp +0 -0
  262. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/GSL_LITE/include/gsl.h +0 -0
  263. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/GSL_LITE/include/gsl.hpp +0 -0
  264. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/HighFive/CMake/HighFiveConfig.cmake.in +0 -0
  265. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/HighFive/CMake/HighFiveTargetDeps.cmake +0 -0
  266. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/HighFive/CMake/HighFiveTargetExport.cmake +0 -0
  267. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/HighFive/CMake/config/CompilerFlagsHelpers.cmake +0 -0
  268. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/HighFive/CMake/config/ReleaseDebugAutoFlags.cmake +0 -0
  269. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/HighFive/CMake/config/TestHelpers.cmake +0 -0
  270. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/HighFive/CMake/portability/BlueGenePortability.cmake +0 -0
  271. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/HighFive/CMake/portability/CheckCXXStandardSupport.cmake +0 -0
  272. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/HighFive/CMakeLists.txt +0 -0
  273. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/HighFive/doc/CMakeLists.txt +0 -0
  274. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/HighFive/doc/Doxyfile +0 -0
  275. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/HighFive/doc/mainpage.md +0 -0
  276. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/HighFive/include/highfive/H5Attribute.hpp +0 -0
  277. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/HighFive/include/highfive/H5DataSet.hpp +0 -0
  278. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/HighFive/include/highfive/H5DataSpace.hpp +0 -0
  279. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/HighFive/include/highfive/H5DataType.hpp +0 -0
  280. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/HighFive/include/highfive/H5Easy.hpp +0 -0
  281. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/HighFive/include/highfive/H5Exception.hpp +0 -0
  282. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/HighFive/include/highfive/H5File.hpp +0 -0
  283. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/HighFive/include/highfive/H5FileDriver.hpp +0 -0
  284. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/HighFive/include/highfive/H5Group.hpp +0 -0
  285. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/HighFive/include/highfive/H5Object.hpp +0 -0
  286. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/HighFive/include/highfive/H5PropertyList.hpp +0 -0
  287. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/HighFive/include/highfive/H5Reference.hpp +0 -0
  288. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/HighFive/include/highfive/H5Selection.hpp +0 -0
  289. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/HighFive/include/highfive/H5Utility.hpp +0 -0
  290. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/HighFive/include/highfive/H5Version.hpp.in +0 -0
  291. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/HighFive/include/highfive/bits/H5Annotate_traits.hpp +0 -0
  292. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/HighFive/include/highfive/bits/H5Annotate_traits_misc.hpp +0 -0
  293. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/HighFive/include/highfive/bits/H5Attribute_misc.hpp +0 -0
  294. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/HighFive/include/highfive/bits/H5ConverterEigen_misc.hpp +0 -0
  295. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/HighFive/include/highfive/bits/H5Converter_misc.hpp +0 -0
  296. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/HighFive/include/highfive/bits/H5DataSet_misc.hpp +0 -0
  297. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/HighFive/include/highfive/bits/H5DataType_misc.hpp +0 -0
  298. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/HighFive/include/highfive/bits/H5Dataspace_misc.hpp +0 -0
  299. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/HighFive/include/highfive/bits/H5Exception_misc.hpp +0 -0
  300. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/HighFive/include/highfive/bits/H5FileDriver_misc.hpp +0 -0
  301. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/HighFive/include/highfive/bits/H5File_misc.hpp +0 -0
  302. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/HighFive/include/highfive/bits/H5Iterables_misc.hpp +0 -0
  303. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/HighFive/include/highfive/bits/H5Node_traits.hpp +0 -0
  304. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/HighFive/include/highfive/bits/H5Node_traits_misc.hpp +0 -0
  305. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/HighFive/include/highfive/bits/H5Object_misc.hpp +0 -0
  306. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/HighFive/include/highfive/bits/H5PropertyList_misc.hpp +0 -0
  307. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/HighFive/include/highfive/bits/H5ReadWrite_misc.hpp +0 -0
  308. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/HighFive/include/highfive/bits/H5Reference_misc.hpp +0 -0
  309. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/HighFive/include/highfive/bits/H5Selection_misc.hpp +0 -0
  310. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/HighFive/include/highfive/bits/H5Slice_traits.hpp +0 -0
  311. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/HighFive/include/highfive/bits/H5Slice_traits_misc.hpp +0 -0
  312. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/HighFive/include/highfive/bits/H5Utils.hpp +0 -0
  313. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/HighFive/include/highfive/bits/H5_definitions.hpp +0 -0
  314. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/HighFive/include/highfive/h5easy_bits/H5Easy_Eigen.hpp +0 -0
  315. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/HighFive/include/highfive/h5easy_bits/H5Easy_misc.hpp +0 -0
  316. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/HighFive/include/highfive/h5easy_bits/H5Easy_opencv.hpp +0 -0
  317. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/HighFive/include/highfive/h5easy_bits/H5Easy_public.hpp +0 -0
  318. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/HighFive/include/highfive/h5easy_bits/H5Easy_scalar.hpp +0 -0
  319. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/HighFive/include/highfive/h5easy_bits/H5Easy_vector.hpp +0 -0
  320. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/HighFive/include/highfive/h5easy_bits/H5Easy_xtensor.hpp +0 -0
  321. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/lexertl14/CMakeLists.txt +0 -0
  322. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/lexertl14/include/lexertl/char_traits.hpp +0 -0
  323. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/lexertl14/include/lexertl/debug.hpp +0 -0
  324. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/lexertl14/include/lexertl/dot.hpp +0 -0
  325. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/lexertl14/include/lexertl/enums.hpp +0 -0
  326. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/lexertl14/include/lexertl/generate_cpp.hpp +0 -0
  327. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/lexertl14/include/lexertl/generator.hpp +0 -0
  328. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/lexertl14/include/lexertl/internals.hpp +0 -0
  329. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/lexertl14/include/lexertl/iterator.hpp +0 -0
  330. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/lexertl14/include/lexertl/licence_1_0.txt +0 -0
  331. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/lexertl14/include/lexertl/lookup.hpp +0 -0
  332. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/lexertl14/include/lexertl/match_results.hpp +0 -0
  333. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/lexertl14/include/lexertl/memory_file.hpp +0 -0
  334. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/lexertl14/include/lexertl/narrow.hpp +0 -0
  335. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/lexertl14/include/lexertl/observer_ptr.hpp +0 -0
  336. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/lexertl14/include/lexertl/parser/parser.hpp +0 -0
  337. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/lexertl14/include/lexertl/parser/tokeniser/blocks.hpp +0 -0
  338. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/lexertl14/include/lexertl/parser/tokeniser/fold2.inc +0 -0
  339. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/lexertl14/include/lexertl/parser/tokeniser/fold4.inc +0 -0
  340. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/lexertl14/include/lexertl/parser/tokeniser/re_token.hpp +0 -0
  341. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/lexertl14/include/lexertl/parser/tokeniser/re_tokeniser.hpp +0 -0
  342. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/lexertl14/include/lexertl/parser/tokeniser/re_tokeniser_helper.hpp +0 -0
  343. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/lexertl14/include/lexertl/parser/tokeniser/re_tokeniser_state.hpp +0 -0
  344. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/lexertl14/include/lexertl/parser/tokeniser/scripts.hpp +0 -0
  345. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/lexertl14/include/lexertl/parser/tokeniser/table.inc +0 -0
  346. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/lexertl14/include/lexertl/parser/tokeniser/unicode.hpp +0 -0
  347. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/lexertl14/include/lexertl/parser/tree/end_node.hpp +0 -0
  348. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/lexertl14/include/lexertl/parser/tree/iteration_node.hpp +0 -0
  349. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/lexertl14/include/lexertl/parser/tree/leaf_node.hpp +0 -0
  350. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/lexertl14/include/lexertl/parser/tree/node.hpp +0 -0
  351. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/lexertl14/include/lexertl/parser/tree/selection_node.hpp +0 -0
  352. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/lexertl14/include/lexertl/parser/tree/sequence_node.hpp +0 -0
  353. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/lexertl14/include/lexertl/partition/charset.hpp +0 -0
  354. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/lexertl14/include/lexertl/partition/equivset.hpp +0 -0
  355. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/lexertl14/include/lexertl/rules.hpp +0 -0
  356. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/lexertl14/include/lexertl/runtime_error.hpp +0 -0
  357. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/lexertl14/include/lexertl/serialise.hpp +0 -0
  358. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/lexertl14/include/lexertl/sm_to_csm.hpp +0 -0
  359. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/lexertl14/include/lexertl/sm_traits.hpp +0 -0
  360. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/lexertl14/include/lexertl/state_machine.hpp +0 -0
  361. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/lexertl14/include/lexertl/stream_shared_iterator.hpp +0 -0
  362. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/lexertl14/include/lexertl/string_token.hpp +0 -0
  363. {MorphIO-3.3.2 → MorphIO-3.3.3}/3rdparty/lexertl14/include/lexertl/utf_iterators.hpp +0 -0
  364. {MorphIO-3.3.2 → MorphIO-3.3.3}/AUTHORS.txt +0 -0
  365. {MorphIO-3.3.2 → MorphIO-3.3.3}/CMake/CodeCoverage.cmake +0 -0
  366. {MorphIO-3.3.2 → MorphIO-3.3.3}/CMake/CompilerFlags.cmake +0 -0
  367. {MorphIO-3.3.2 → MorphIO-3.3.3}/CMake/MorphIOConfig.cmake +0 -0
  368. {MorphIO-3.3.2 → MorphIO-3.3.3}/CONTRIBUTING.md +0 -0
  369. {MorphIO-3.3.2 → MorphIO-3.3.3}/COPYING +0 -0
  370. {MorphIO-3.3.2 → MorphIO-3.3.3}/COPYING.LESSER +0 -0
  371. {MorphIO-3.3.2 → MorphIO-3.3.3}/MorphIO.egg-info/dependency_links.txt +0 -0
  372. {MorphIO-3.3.2 → MorphIO-3.3.3}/MorphIO.egg-info/not-zip-safe +0 -0
  373. {MorphIO-3.3.2 → MorphIO-3.3.3}/MorphIO.egg-info/requires.txt +0 -0
  374. {MorphIO-3.3.2 → MorphIO-3.3.3}/MorphIO.egg-info/top_level.txt +0 -0
  375. {MorphIO-3.3.2 → MorphIO-3.3.3}/binds/python/bind_enums.h +0 -0
  376. {MorphIO-3.3.2 → MorphIO-3.3.3}/binds/python/bind_immutable.h +0 -0
  377. {MorphIO-3.3.2 → MorphIO-3.3.3}/binds/python/bind_misc.cpp +0 -0
  378. {MorphIO-3.3.2 → MorphIO-3.3.3}/binds/python/bind_misc.h +0 -0
  379. {MorphIO-3.3.2 → MorphIO-3.3.3}/binds/python/bind_mutable.h +0 -0
  380. {MorphIO-3.3.2 → MorphIO-3.3.3}/binds/python/bind_vasculature.h +0 -0
  381. {MorphIO-3.3.2 → MorphIO-3.3.3}/binds/python/bindings_utils.h +0 -0
  382. {MorphIO-3.3.2 → MorphIO-3.3.3}/binds/python/generated/.clang-format +0 -0
  383. {MorphIO-3.3.2 → MorphIO-3.3.3}/binds/python/generated/docstrings.h +0 -0
  384. {MorphIO-3.3.2 → MorphIO-3.3.3}/binds/python/morphio.cpp +0 -0
  385. {MorphIO-3.3.2/3rdparty → MorphIO-3.3.3/binds/python}/pybind11/include/pybind11/common.h +0 -0
  386. {MorphIO-3.3.2 → MorphIO-3.3.3}/include/morphio/mut/writers.h +0 -0
  387. {MorphIO-3.3.2 → MorphIO-3.3.3}/include/morphio/tools.h +0 -0
  388. {MorphIO-3.3.2 → MorphIO-3.3.3}/morphio/__init__.py +0 -0
  389. {MorphIO-3.3.2 → MorphIO-3.3.3}/morphio/mut/__init__.py +0 -0
  390. {MorphIO-3.3.2 → MorphIO-3.3.3}/morphio/vasculature/__init__.py +0 -0
  391. {MorphIO-3.3.2 → MorphIO-3.3.3}/setup.cfg +0 -0
  392. {MorphIO-3.3.2 → MorphIO-3.3.3}/src/CMakeLists.txt +0 -0
  393. {MorphIO-3.3.2 → MorphIO-3.3.3}/src/enums.cpp +0 -0
  394. {MorphIO-3.3.2 → MorphIO-3.3.3}/src/readers/lex.cpp +0 -0
  395. {MorphIO-3.3.2 → MorphIO-3.3.3}/src/readers/morphologyASC.cpp +0 -0
  396. {MorphIO-3.3.2 → MorphIO-3.3.3}/src/readers/morphologyASC.h +0 -0
  397. {MorphIO-3.3.2 → MorphIO-3.3.3}/src/readers/morphologySWC.cpp +0 -0
  398. {MorphIO-3.3.2 → MorphIO-3.3.3}/src/readers/morphologySWC.h +0 -0
  399. {MorphIO-3.3.2 → MorphIO-3.3.3}/src/readers/vasculatureHDF5.h +0 -0
  400. {MorphIO-3.3.2 → MorphIO-3.3.3}/src/shared_utils.hpp +0 -0
  401. {MorphIO-3.3.2 → MorphIO-3.3.3}/src/version.cpp.in +0 -0
@@ -14,10 +14,10 @@ jobs:
14
14
  with:
15
15
  submodules: 'true'
16
16
 
17
- - name: Set up Python 3.6
17
+ - name: Set up Python 3.8
18
18
  uses: actions/setup-python@v2
19
19
  with:
20
- python-version: 3.6
20
+ python-version: 3.8
21
21
 
22
22
  - name: Build a source tarball
23
23
  run:
@@ -3,7 +3,7 @@ on: [pull_request, push]
3
3
 
4
4
  env:
5
5
  CIBW_BUILD_VERBOSITY: 3
6
- CIBW_BUILD: 'cp3?-*'
6
+ CIBW_BUILD: 'cp*'
7
7
  CIBW_SKIP: 'cp35-* cp36-* *-manylinux_i686 *-musllinux_* *-win32'
8
8
  CIBW_BEFORE_TEST: pip install -r {project}/tests/requirement_tests.txt
9
9
  CIBW_TEST_COMMAND: pytest -s -v {project}/tests
@@ -66,7 +66,7 @@ jobs:
66
66
  C:\windows\system32\tar.exe xf hdf5-1.12.0-Std-win10_64-vs16.zip
67
67
  start /wait msiexec /a "%cd%\hdf\HDF5-1.12.0-win64.msi" /qn TARGETDIR="c:\hdf5\"
68
68
 
69
- call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat" -vcvars_ver=14.0
69
+ call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat" -vcvars_ver=14.1
70
70
 
71
71
  set HDF5_DIR=C:\hdf5\HDF_Group\HDF5\1.12.0\cmake
72
72
 
@@ -3,7 +3,7 @@ on: [pull_request, push]
3
3
 
4
4
  jobs:
5
5
  build:
6
- name: Run tests on ${{ matrix.os }}
6
+ name: Run tests on ${{ matrix.os }}.${{ matrix.compiler.CC }}
7
7
  runs-on: ${{ matrix.os }}
8
8
 
9
9
  # Run on external PRs, but not internal PRs as they'll be run by the push
@@ -13,10 +13,11 @@ jobs:
13
13
  matrix:
14
14
  os: [ubuntu-latest, macos-latest]
15
15
  compiler:
16
- - CC: clang
17
- CXX: clang++
18
- - CC: gcc
19
- CXX: g++
16
+ - {CC: clang, CXX: clang++}
17
+ - {CC: gcc, CXX: g++}
18
+ exclude:
19
+ - os: macos-latest
20
+ compiler: {CC: gcc, CXX: g++}
20
21
 
21
22
  steps:
22
23
  - name: Checkout repository
@@ -47,3 +47,4 @@ build/
47
47
  ci/venv*
48
48
  cmake-build*
49
49
  env*
50
+ venv-clang-format/
@@ -2,7 +2,7 @@
2
2
  path = 3rdparty/HighFive
3
3
  url = https://github.com/BlueBrain/HighFive.git
4
4
  [submodule "3rdparty/pybind11"]
5
- path = 3rdparty/pybind11
5
+ path = binds/python/pybind11
6
6
  url = https://github.com/pybind/pybind11.git
7
7
  [submodule "3rdparty/GSL_LITE"]
8
8
  path = 3rdparty/GSL_LITE
@@ -10,3 +10,6 @@
10
10
  [submodule "3rdparty/lexertl14"]
11
11
  path = 3rdparty/lexertl14
12
12
  url = https://github.com/BenHanson/lexertl14
13
+ [submodule "3rdparty/Catch2"]
14
+ path = 3rdparty/Catch2
15
+ url = https://github.com/catchorg/Catch2.git
@@ -14,8 +14,18 @@ submodules:
14
14
  # doesn't find HDF5, if the hdf5 headers are available by the system, then
15
15
  # it works
16
16
  build:
17
+ os: "ubuntu-20.04"
17
18
  apt_packages:
18
19
  - libhdf5-dev
20
+ tools:
21
+ python: "3.9"
19
22
 
20
- conda:
21
- environment: doc/environment.yml
23
+ sphinx:
24
+ configuration: doc/source/conf.py
25
+
26
+ python:
27
+ install:
28
+ - method: pip
29
+ path: .
30
+ extra_requirements:
31
+ - docs
@@ -14,9 +14,3 @@ target_include_directories(gsl-lite SYSTEM INTERFACE)
14
14
 
15
15
  add_library(lexertl INTERFACE)
16
16
  target_include_directories(lexertl SYSTEM INTERFACE lexertl14/include)
17
-
18
- if(BUILD_BINDINGS)
19
- add_subdirectory(pybind11)
20
- target_include_directories(pybind11 SYSTEM INTERFACE
21
- pybind11)
22
- endif()
@@ -0,0 +1,45 @@
1
+ v3.3.3
2
+ ======
3
+
4
+ New Features:
5
+ * Vasculature section_offsets & section_connectivity (#352)
6
+ * n_points method for immutable Morphology and Vasculature (#359)
7
+ * is_heterogeneous method for checking downstream/upstream section type homogeneity (#360)
8
+
9
+ Fixes:
10
+ * Fixed documentation links (#350)
11
+ * Python version check >=3.7 (#356)
12
+ * Updated pybind11 submodule to v2.8.1 (#362)
13
+ * Added exception for attempting to write unsupported section types into ascii (#370)
14
+ * Wheels for newer python versions
15
+ * fix operator<< instances (#364)
16
+
17
+ v3.3.2
18
+ ======
19
+
20
+ Fixes:
21
+ * Fixed wheel uploading (#355)
22
+
23
+ v3.3.1
24
+ ======
25
+
26
+ New Features:
27
+ * Dendritic spine. Morphology format spec changed from 1.2 to 1.3 (#321)
28
+
29
+ Fixes:
30
+ * Imbue enums with numeric operations (#330)
31
+ * Remove unused AccessMode enum (#331)
32
+ * Don't compile c++ tests when creating python package (#332)
33
+ * Use std::make_unique (#333)
34
+ * Updated tests (#340)
35
+ * Allow lowercase neurite names
36
+ * Allow whitespace in CellBody neurite
37
+ * Excluded musslinux wheels from building (#354)
38
+
39
+ Previously:
40
+ * The first neurite point is no longer connected to the soma. It was previously
41
+ the case if the soma was a multiple points soma. This feature has been
42
+ removed as choosing to which point to connect is interpretation dependant and
43
+ should not be the responsability of an IO tool. This feature was already
44
+ discussed [here](https://github.com/BlueBrain/Brion/pull/94#issuecomment-248010437).
45
+ This will impact primarily the surface and volume computations.
@@ -7,7 +7,9 @@ set(CMAKE_VERBOSE_MAKEFILE ON)
7
7
 
8
8
  option(BUILD_BINDINGS "Build the python bindings" ON)
9
9
  option(MorphIO_CXX_WARNINGS "Compile C++ with warnings" ON)
10
+ option(EXTERNAL_CATCH2 "Use Catch2 from external source" OFF)
10
11
  option(EXTERNAL_HIGHFIVE "Use HighFive from external source" OFF)
12
+ option(EXTERNAL_PYBIND11 "Use pybind11 from external source" OFF)
11
13
  option(MORPHIO_TESTS "Build tests" ON)
12
14
  option(MORPHIO_USE_DOUBLE "Use doubles instead of floats" OFF)
13
15
 
@@ -27,9 +29,15 @@ set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/CMake)
27
29
  include(CompilerFlags)
28
30
  set(CMAKE_CXX_FLAGS "${FLAGS}")
29
31
 
32
+ set(CMAKE_CXX_STANDARD 14)
33
+ set(CMAKE_CXX_STANDARD_REQUIRED ON)
34
+
30
35
  if (EXTERNAL_HIGHFIVE)
31
36
  find_package(HighFive REQUIRED)
32
37
  endif()
38
+ if (EXTERNAL_PYBIND11)
39
+ find_package(pybind11 REQUIRED CONFIG)
40
+ endif()
33
41
  set(MORPHIO_INCLUDE_DIR ${PROJECT_SOURCE_DIR}/include/)
34
42
 
35
43
  add_subdirectory(3rdparty)
@@ -58,5 +66,11 @@ install(
58
66
 
59
67
  if (MORPHIO_TESTS)
60
68
  enable_testing()
69
+ if (EXTERNAL_CATCH2)
70
+ find_package(Catch2 REQUIRED)
71
+ else()
72
+ add_subdirectory(3rdparty/Catch2)
73
+ include(3rdparty/Catch2/contrib/Catch.cmake)
74
+ endif()
61
75
  add_subdirectory(tests)
62
76
  endif()
@@ -0,0 +1,32 @@
1
+ # MorphIO c++
2
+ graft src
3
+ graft include
4
+ include CMakeLists.txt
5
+
6
+ # MorphIO submodule dependencies
7
+ include 3rdparty/GSL_LITE/CMakeLists.txt 3rdparty/GSL_LITE/gsl-lite.natvis
8
+ recursive-include 3rdparty/GSL_LITE/cmake *
9
+ recursive-include 3rdparty/GSL_LITE/include *
10
+
11
+ include 3rdparty/HighFive/CMakeLists.txt
12
+ recursive-include 3rdparty/HighFive/include *
13
+ recursive-include 3rdparty/HighFive/CMake *
14
+ recursive-include 3rdparty/HighFive/doc *
15
+
16
+ include 3rdparty/lexertl14/CMakeLists.txt
17
+ recursive-include 3rdparty/lexertl14/include/lexertl *
18
+
19
+ # pybind11 for python bindings
20
+ recursive-include binds/python/pybind11/include *
21
+ recursive-include binds/python/pybind11/tools *.cmake
22
+ include binds/python/pybind11/CMakeLists.txt
23
+ include binds/python/pybind11/LICENSE
24
+
25
+ # setuptools_scm forces all SCM files to be packaged into sdist
26
+ # we need to manually exclude them to prevent their inclusion
27
+ # see https://github.com/pypa/setuptools_scm/issues/190
28
+ prune ci
29
+ prune doc
30
+ prune tests
31
+ prune scripts
32
+ prune examples
@@ -1,11 +1,14 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: MorphIO
3
- Version: 3.3.2
3
+ Version: 3.3.3
4
4
  Summary: A neuron morphology IO library
5
5
  Home-page: https://github.com/BlueBrain/MorphIO/
6
6
  Author: Blue Brain Project, EPFL
7
7
  License: LGPLv3
8
- Description: |license| |build| |docs|
8
+ Description: .. image:: doc/source/logo/BBP-MorphIO.jpg
9
+
10
+
11
+ |license| |build| |docs|
9
12
 
10
13
  MorphIO
11
14
  =======
@@ -13,7 +16,7 @@ Description: |license| |build| |docs|
13
16
  Documentation
14
17
  -------------
15
18
 
16
- MorphIO documentation is built and hosted on `readthedocs <http://morphio.readthedocs.org/>`.
19
+ MorphIO documentation is built and hosted on `readthedocs <http://morphio.readthedocs.org/>`_.
17
20
 
18
21
  * `latest snapshot <http://morphio.readthedocs.org/en/latest/>`_
19
22
  * `latest release <http://morphio.readthedocs.org/en/stable/>`_
@@ -96,5 +99,6 @@ Description: |license| |build| |docs|
96
99
  Keywords: computational neuroscience,morphology,neuron,neurolucida,neuromorphology
97
100
  Platform: UNKNOWN
98
101
  Classifier: License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)
102
+ Requires-Python: >=3.7
99
103
  Description-Content-Type: text/markdown
100
104
  Provides-Extra: docs
@@ -129,39 +129,6 @@ setup.py
129
129
  3rdparty/lexertl14/include/lexertl/parser/tree/sequence_node.hpp
130
130
  3rdparty/lexertl14/include/lexertl/partition/charset.hpp
131
131
  3rdparty/lexertl14/include/lexertl/partition/equivset.hpp
132
- 3rdparty/pybind11/CMakeLists.txt
133
- 3rdparty/pybind11/include/pybind11/attr.h
134
- 3rdparty/pybind11/include/pybind11/buffer_info.h
135
- 3rdparty/pybind11/include/pybind11/cast.h
136
- 3rdparty/pybind11/include/pybind11/chrono.h
137
- 3rdparty/pybind11/include/pybind11/common.h
138
- 3rdparty/pybind11/include/pybind11/complex.h
139
- 3rdparty/pybind11/include/pybind11/eigen.h
140
- 3rdparty/pybind11/include/pybind11/embed.h
141
- 3rdparty/pybind11/include/pybind11/eval.h
142
- 3rdparty/pybind11/include/pybind11/functional.h
143
- 3rdparty/pybind11/include/pybind11/iostream.h
144
- 3rdparty/pybind11/include/pybind11/numpy.h
145
- 3rdparty/pybind11/include/pybind11/operators.h
146
- 3rdparty/pybind11/include/pybind11/options.h
147
- 3rdparty/pybind11/include/pybind11/pybind11.h
148
- 3rdparty/pybind11/include/pybind11/pytypes.h
149
- 3rdparty/pybind11/include/pybind11/stl.h
150
- 3rdparty/pybind11/include/pybind11/stl_bind.h
151
- 3rdparty/pybind11/include/pybind11/detail/class.h
152
- 3rdparty/pybind11/include/pybind11/detail/common.h
153
- 3rdparty/pybind11/include/pybind11/detail/descr.h
154
- 3rdparty/pybind11/include/pybind11/detail/init.h
155
- 3rdparty/pybind11/include/pybind11/detail/internals.h
156
- 3rdparty/pybind11/include/pybind11/detail/typeid.h
157
- 3rdparty/pybind11/tools/FindCatch.cmake
158
- 3rdparty/pybind11/tools/FindEigen3.cmake
159
- 3rdparty/pybind11/tools/FindPythonLibsNew.cmake
160
- 3rdparty/pybind11/tools/check-style.sh
161
- 3rdparty/pybind11/tools/libsize.py
162
- 3rdparty/pybind11/tools/mkdoc.py
163
- 3rdparty/pybind11/tools/pybind11Config.cmake.in
164
- 3rdparty/pybind11/tools/pybind11Tools.cmake
165
132
  CMake/CodeCoverage.cmake
166
133
  CMake/CompilerFlags.cmake
167
134
  CMake/MorphIOConfig.cmake
@@ -186,42 +153,41 @@ binds/python/bindings_utils.h
186
153
  binds/python/morphio.cpp
187
154
  binds/python/generated/.clang-format
188
155
  binds/python/generated/docstrings.h
189
- ci/check_clang_format.sh
190
- ci/check_generated_docstrings.sh
191
- ci/coverage_test.sh
192
- ci/cpp_test.sh
193
- ci/python_test.sh
194
- doc/Makefile
195
- doc/README.md
196
- doc/environment.yml
197
- doc/source/Doxyfile
198
- doc/source/DoxygenLayout.xml
199
- doc/source/conf.py
200
- doc/source/cpp.rst
201
- doc/source/footer.html
202
- doc/source/glia.rst
203
- doc/source/header.html
204
- doc/source/index.rst
205
- doc/source/install.rst
206
- doc/source/markers.rst
207
- doc/source/mitochondria.rst
208
- doc/source/morphology.rst
209
- doc/source/python.rst
210
- doc/source/reticulum.rst
211
- doc/source/specification.rst
212
- doc/source/specification_neurolucida.rst
213
- doc/source/warnings.rst
214
- doc/source/_templates/doxygen_page.rst_t
215
- doc/source/doxygen/.gitignore
216
- doc/source/images/section_segment.svg
217
- doc/source/images/sections.svg
218
- doc/source/images/swc/sequential.svg
219
- doc/source/images/swc/sphere.svg
220
- doc/source/images/swc/split.svg
221
- doc/source/images/swc/three_pt.svg
222
- doc/source/images/swc/two_pt.svg
223
- examples/getting_started.ipynb
224
- examples/getting_started_mutable.ipynb
156
+ binds/python/pybind11/CMakeLists.txt
157
+ binds/python/pybind11/LICENSE
158
+ binds/python/pybind11/include/pybind11/attr.h
159
+ binds/python/pybind11/include/pybind11/buffer_info.h
160
+ binds/python/pybind11/include/pybind11/cast.h
161
+ binds/python/pybind11/include/pybind11/chrono.h
162
+ binds/python/pybind11/include/pybind11/common.h
163
+ binds/python/pybind11/include/pybind11/complex.h
164
+ binds/python/pybind11/include/pybind11/eigen.h
165
+ binds/python/pybind11/include/pybind11/embed.h
166
+ binds/python/pybind11/include/pybind11/eval.h
167
+ binds/python/pybind11/include/pybind11/functional.h
168
+ binds/python/pybind11/include/pybind11/gil.h
169
+ binds/python/pybind11/include/pybind11/iostream.h
170
+ binds/python/pybind11/include/pybind11/numpy.h
171
+ binds/python/pybind11/include/pybind11/operators.h
172
+ binds/python/pybind11/include/pybind11/options.h
173
+ binds/python/pybind11/include/pybind11/pybind11.h
174
+ binds/python/pybind11/include/pybind11/pytypes.h
175
+ binds/python/pybind11/include/pybind11/stl.h
176
+ binds/python/pybind11/include/pybind11/stl_bind.h
177
+ binds/python/pybind11/include/pybind11/detail/class.h
178
+ binds/python/pybind11/include/pybind11/detail/common.h
179
+ binds/python/pybind11/include/pybind11/detail/descr.h
180
+ binds/python/pybind11/include/pybind11/detail/init.h
181
+ binds/python/pybind11/include/pybind11/detail/internals.h
182
+ binds/python/pybind11/include/pybind11/detail/type_caster_base.h
183
+ binds/python/pybind11/include/pybind11/detail/typeid.h
184
+ binds/python/pybind11/include/pybind11/stl/filesystem.h
185
+ binds/python/pybind11/tools/FindCatch.cmake
186
+ binds/python/pybind11/tools/FindEigen3.cmake
187
+ binds/python/pybind11/tools/FindPythonLibsNew.cmake
188
+ binds/python/pybind11/tools/pybind11Common.cmake
189
+ binds/python/pybind11/tools/pybind11NewTools.cmake
190
+ binds/python/pybind11/tools/pybind11Tools.cmake
225
191
  include/morphio/dendritic_spine.h
226
192
  include/morphio/endoplasmic_reticulum.h
227
193
  include/morphio/enums.h
@@ -234,7 +200,6 @@ include/morphio/morphology.h
234
200
  include/morphio/properties.h
235
201
  include/morphio/section.h
236
202
  include/morphio/section_base.h
237
- include/morphio/section_base.tpp
238
203
  include/morphio/section_iterators.hpp
239
204
  include/morphio/soma.h
240
205
  include/morphio/tools.h
@@ -258,7 +223,6 @@ include/morphio/vasc/vasculature.h
258
223
  morphio/__init__.py
259
224
  morphio/mut/__init__.py
260
225
  morphio/vasculature/__init__.py
261
- scripts/check-clang-format-all
262
226
  src/CMakeLists.txt
263
227
  src/dendritic_spine.cpp
264
228
  src/endoplasmic_reticulum.cpp
@@ -291,93 +255,8 @@ src/readers/morphologyHDF5.cpp
291
255
  src/readers/morphologyHDF5.h
292
256
  src/readers/morphologySWC.cpp
293
257
  src/readers/morphologySWC.h
294
- src/readers/utilsHDF5.h
295
258
  src/readers/vasculatureHDF5.cpp
296
259
  src/readers/vasculatureHDF5.h
297
260
  src/vasc/properties.cpp
298
261
  src/vasc/section.cpp
299
- src/vasc/vasculature.cpp
300
- tests/CMakeLists.txt
301
- tests/main.cpp
302
- tests/requirement_tests.txt
303
- tests/test_0_API.py
304
- tests/test_10_vasculature.py
305
- tests/test_1_swc.py
306
- tests/test_2_neurolucida.py
307
- tests/test_3_h5.py
308
- tests/test_4_immut.py
309
- tests/test_5_mut.py
310
- tests/test_6_writers.py
311
- tests/test_7_modifiers.py
312
- tests/test_8_all_morphologies.py
313
- tests/test_9_surfaces.py
314
- tests/test_immutable_morphology.cpp
315
- tests/test_morphology_readers.cpp
316
- tests/test_mutable_morphology.cpp
317
- tests/utils.py
318
- tests/contrib/catch.hpp
319
- tests/data/annotations.asc
320
- tests/data/astrocyte.h5
321
- tests/data/circle_contour.asc
322
- tests/data/complexe.swc
323
- tests/data/disconnected_neurite.swc
324
- tests/data/invalid-incomplete.asc
325
- tests/data/iterators.asc
326
- tests/data/marker-with-string.asc
327
- tests/data/markers.asc
328
- tests/data/mono-type.asc
329
- tests/data/multiple_point_section.asc
330
- tests/data/multiple_soma.swc
331
- tests/data/nested_single_children.asc
332
- tests/data/neurite_wrong_root_point.swc
333
- tests/data/no_soma.swc
334
- tests/data/nrn-order-already-sorted.h5
335
- tests/data/nrn_ordering.swc
336
- tests/data/pia.asc
337
- tests/data/reversed_NRN_neurite_order.swc
338
- tests/data/sections-block.asc
339
- tests/data/simple-with-font.asc
340
- tests/data/simple-with-image-coord.asc
341
- tests/data/simple.asc
342
- tests/data/simple.swc
343
- tests/data/simple.unknown
344
- tests/data/simple2.asc
345
- tests/data/single_point_root.asc
346
- tests/data/soma_cylinders.swc
347
- tests/data/soma_multiple_frustums.swc
348
- tests/data/soma_single_frustum.swc
349
- tests/data/soma_three_points_cylinder.swc
350
- tests/data/spine.asc
351
- tests/data/three_point_soma.swc
352
- tests/data/h5/empty.h5
353
- tests/data/h5/merged.h5
354
- tests/data/h5/non-valid.h5
355
- tests/data/h5/vasculature-broken-section-type.h5
356
- tests/data/h5/vasculature1.h5
357
- tests/data/h5/vasculature2.h5
358
- tests/data/h5/v1/Neuron-no-soma.h5
359
- tests/data/h5/v1/Neuron.h5
360
- tests/data/h5/v1/endoplasmic-reticulum.h5
361
- tests/data/h5/v1/glia.h5
362
- tests/data/h5/v1/glia_empty_perimeters.h5
363
- tests/data/h5/v1/glia_soma_only.h5
364
- tests/data/h5/v1/glia_wrong_sized_perimeters.h5
365
- tests/data/h5/v1/h5v1.4.h5
366
- tests/data/h5/v1/incorrect_point_columns.h5
367
- tests/data/h5/v1/incorrect_structure_columns.h5
368
- tests/data/h5/v1/make-dendritic-spine.py
369
- tests/data/h5/v1/metadata_group_only.h5
370
- tests/data/h5/v1/mitochondria.h5
371
- tests/data/h5/v1/monodim.h5
372
- tests/data/h5/v1/simple-broken-section-type.h5
373
- tests/data/h5/v1/simple-dendritric-spine.h5
374
- tests/data/h5/v1/simple-negative-section-type.h5
375
- tests/data/h5/v1/simple-two-point-soma.h5
376
- tests/data/h5/v1/simple.h5
377
- tests/data/h5/v1/single-neurite.h5
378
- tests/data/h5/v1/soma_after_dendrite.h5
379
- tests/data/h5/v1/soma_no_neurites.h5
380
- tests/data/h5/v1/three-point-soma-two-offset.h5
381
- tests/data/h5/v1/two_child_unmerged.h5
382
- tests/data/h5/v1/unknown_section_type_structure.h5
383
- tests/data/h5/v2/Neuron.h5
262
+ src/vasc/vasculature.cpp
@@ -1,11 +1,14 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: MorphIO
3
- Version: 3.3.2
3
+ Version: 3.3.3
4
4
  Summary: A neuron morphology IO library
5
5
  Home-page: https://github.com/BlueBrain/MorphIO/
6
6
  Author: Blue Brain Project, EPFL
7
7
  License: LGPLv3
8
- Description: |license| |build| |docs|
8
+ Description: .. image:: doc/source/logo/BBP-MorphIO.jpg
9
+
10
+
11
+ |license| |build| |docs|
9
12
 
10
13
  MorphIO
11
14
  =======
@@ -13,7 +16,7 @@ Description: |license| |build| |docs|
13
16
  Documentation
14
17
  -------------
15
18
 
16
- MorphIO documentation is built and hosted on `readthedocs <http://morphio.readthedocs.org/>`.
19
+ MorphIO documentation is built and hosted on `readthedocs <http://morphio.readthedocs.org/>`_.
17
20
 
18
21
  * `latest snapshot <http://morphio.readthedocs.org/en/latest/>`_
19
22
  * `latest release <http://morphio.readthedocs.org/en/stable/>`_
@@ -96,5 +99,6 @@ Description: |license| |build| |docs|
96
99
  Keywords: computational neuroscience,morphology,neuron,neurolucida,neuromorphology
97
100
  Platform: UNKNOWN
98
101
  Classifier: License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)
102
+ Requires-Python: >=3.7
99
103
  Description-Content-Type: text/markdown
100
104
  Provides-Extra: docs
@@ -1,3 +1,6 @@
1
+ .. image:: doc/source/logo/BBP-MorphIO.jpg
2
+
3
+
1
4
  |license| |build| |docs|
2
5
 
3
6
  MorphIO
@@ -6,7 +9,7 @@ MorphIO
6
9
  Documentation
7
10
  -------------
8
11
 
9
- MorphIO documentation is built and hosted on `readthedocs <http://morphio.readthedocs.org/>`.
12
+ MorphIO documentation is built and hosted on `readthedocs <http://morphio.readthedocs.org/>`_.
10
13
 
11
14
  * `latest snapshot <http://morphio.readthedocs.org/en/latest/>`_
12
15
  * `latest release <http://morphio.readthedocs.org/en/stable/>`_
@@ -0,0 +1,17 @@
1
+ if (NOT EXTERNAL_PYBIND11)
2
+ add_subdirectory(pybind11 EXCLUDE_FROM_ALL)
3
+ endif()
4
+
5
+ pybind11_add_module(_morphio SYSTEM
6
+ morphio.cpp
7
+ bind_immutable.cpp
8
+ bindings_utils.cpp
9
+ bind_misc.cpp
10
+ bind_mutable.cpp
11
+ bind_vasculature.cpp
12
+ )
13
+
14
+ target_link_libraries(_morphio
15
+ PRIVATE morphio_static
16
+ PRIVATE pybind11::module
17
+ )
@@ -87,6 +87,12 @@ void bind_immutable_module(py::module& m) {
87
87
  "Returns a list with all points from all sections (soma points are not included)\n"
88
88
  "Note: points belonging to the n'th section are located at indices:\n"
89
89
  "[Morphology.sectionOffsets(n), Morphology.sectionOffsets(n+1)[")
90
+
91
+ .def_property_readonly(
92
+ "n_points",
93
+ [](const morphio::Morphology& obj) { return obj.points().size(); },
94
+ "Returns the number of points from all sections (soma points are not included)")
95
+
90
96
  .def_property_readonly(
91
97
  "diameters",
92
98
  [](const morphio::Morphology& morpho) {
@@ -108,14 +114,14 @@ void bind_immutable_module(py::module& m) {
108
114
  .def_property_readonly(
109
115
  "section_offsets",
110
116
  [](const morphio::Morphology& morpho) { return as_pyarray(morpho.sectionOffsets()); },
111
- "Returns a list with offsets to access data of a specific section in the points\n"
112
- "and diameters arrays.\n"
117
+ "Returns a list with N+1 offsets to access data of a specific section in the points\n"
118
+ "and diameters arrays (size N).\n"
113
119
  "\n"
114
- "Example: accessing diameters of n'th section will be located in the DIAMETERS\n"
115
- "array from DIAMETERS[sectionOffsets(n)] to DIAMETERS[sectionOffsets(n+1)-1]\n"
120
+ "Example: accessing diameters of n'th section will be located in the diameters\n"
121
+ "array: diameters[section_offsets[n]: section_offsets[n + 1]]\n"
116
122
  "\n"
117
- "Note: for convenience, the last point of this array is the points array size\n"
118
- "so that the above example works also for the last section.")
123
+ "Note: for convenience, the last element of this array is equal to the length of the\n"
124
+ "points/diameters arrays so that the above example works also for the last section.")
119
125
  .def_property_readonly(
120
126
  "section_types",
121
127
  [](const morphio::Morphology& morph) {
@@ -264,6 +270,12 @@ void bind_immutable_module(py::module& m) {
264
270
  "points",
265
271
  [](morphio::Section* section) { return span_array_to_ndarray(section->points()); },
266
272
  "Returns list of section's point coordinates")
273
+
274
+ .def_property_readonly(
275
+ "n_points",
276
+ [](const morphio::Section& section) { return section.points().size(); },
277
+ "Returns the number of points in section")
278
+
267
279
  .def_property_readonly(
268
280
  "diameters",
269
281
  [](morphio::Section* section) { return span_to_ndarray(section->diameters()); },
@@ -273,6 +285,15 @@ void bind_immutable_module(py::module& m) {
273
285
  [](morphio::Section* section) { return span_to_ndarray(section->perimeters()); },
274
286
  "Returns list of section's point perimeters")
275
287
 
288
+ .def("is_heterogeneous",
289
+ &morphio::Section::isHeterogeneous,
290
+ "Returns true if the tree downtream (downstream = true) or upstream (downstream = "
291
+ "false)\n"
292
+ "has the same type as the current section.",
293
+ py::arg("downstream") = true)
294
+
295
+ .def("has_same_shape", &morphio::Section::hasSameShape)
296
+
276
297
  // Iterators
277
298
  .def(
278
299
  "iter",
@@ -342,6 +363,8 @@ void bind_immutable_module(py::module& m) {
342
363
  " - a relative distance of 1 means the mitochondrial point is at the "
343
364
  "end of the neuronal section\n")
344
365
 
366
+ .def("has_same_shape", &morphio::MitoSection::hasSameShape)
367
+
345
368
  // Iterators
346
369
  .def(
347
370
  "iter",
@@ -309,6 +309,8 @@ void bind_mutable_module(py::module& m) {
309
309
  },
310
310
  "Returns the neurite section Ids of all points of this section")
311
311
 
312
+ .def("has_same_shape", &morphio::mut::MitoSection::hasSameShape)
313
+
312
314
  .def("append_section",
313
315
  static_cast<std::shared_ptr<morphio::mut::MitoSection> (morphio::mut::MitoSection::*)(
314
316
  const morphio::Property::MitochondriaPointLevel&)>(
@@ -392,6 +394,14 @@ void bind_mutable_module(py::module& m) {
392
394
  .def_property_readonly("children",
393
395
  &morphio::mut::Section::children,
394
396
  "Returns a list of children IDs")
397
+ .def("is_heterogeneous",
398
+ &morphio::mut::Section::isHeterogeneous,
399
+ "Returns true if the tree downtream (downstream = true) or upstream (downstream = "
400
+ "false)\n"
401
+ "has the same type as the current section.",
402
+ py::arg("downstream") = true)
403
+ .def("has_same_shape", &morphio::mut::Section::hasSameShape)
404
+
395
405
  // Iterators
396
406
  .def(
397
407
  "iter",