Skip to content

Commit

Permalink
Fix several typos (#127)
Browse files Browse the repository at this point in the history
  • Loading branch information
adrien-berchet committed Jan 22, 2024
1 parent 807d5e4 commit 941e36b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion morph_tool/amira_converter.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Amira morphology format loader.
This package is adaped from
This package is adapted from
https://github.com/zibneuro/udvary-et-al-2022/blob/master/structural_model/util_amira.py
Expand Down
2 changes: 1 addition & 1 deletion morph_tool/converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def single_point_sphere_to_circular_contour(neuron):
Transform a single point soma that represents a sphere into a circular contour that represents
the same sphere.
"""
L.info('Converting 1-point soma (sperical soma) to circular contour '
L.info('Converting 1-point soma (spherical soma) to circular contour '
'representing the same sphere')
assert neuron.soma_type == SomaType.SOMA_SINGLE_POINT
radius = neuron.soma.diameters[0] / 2.
Expand Down
2 changes: 1 addition & 1 deletion morph_tool/resampling.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def _resample_from_linear_density(points, linear_density):
The reason of returning the ids and fractions instead of new points is because
if instead of points a property is used, such as diameter, it will result to its
iterpolation on the polyline. Therefore, the result of this function can be used
interpolation on the polyline. Therefore, the result of this function can be used
to interpolate both points and point properties on a polyline.
Args:
Expand Down

0 comments on commit 941e36b

Please sign in to comment.