Skip to content

Commit

Permalink
fix a couple docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
schlegelp committed Oct 26, 2021
1 parent cb344e5 commit 4be7a79
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dvid/fetch.py
Original file line number Diff line number Diff line change
Expand Up @@ -1374,7 +1374,7 @@ def skeletonize_neuron(bodyid,
Fetches voxels from DVID, creates a mesh (via `mesh_neuron`) and then
skeletonizes it. This can be useful if the precomputed skeletons are not
up-to-date or have corrupt topology. This function requires `skeletor` to
up-to-date or have incorrect topology. This function requires `skeletor` to
be installed::
pip3 install skeletor
Expand Down Expand Up @@ -1600,7 +1600,7 @@ def mesh_neuron(bodyid,
If not provided, will try reading from global.
**kwargs
Keyword arguments are passed through to
`dv.meshign.mesh_from_voxels`.
`dv.meshing.mesh_from_voxels`.
Returns
Expand Down
2 changes: 1 addition & 1 deletion dvid/meshing.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ def _mesh_from_voxels_chunked(voxels,

# Now we encode the indices (x, y, z) chunk indices as packed integer:
# Each (xyz) chunk is encoded as single integer which speeds things up a lot
# For example chunk (1, 2, 3) becomes:
# For example with base = 16, chunk (1, 2, 3) becomes:
# N = 2 ** 16 = 65,536
# (1 * N ** 2) + (2 * N) + 3 = 4,295,098,371
# This obviously only works as long as we can still squeeze the chunks into
Expand Down
2 changes: 1 addition & 1 deletion dvid/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ def make_url(*args, **GET):
Keyword arguments are assumed to be GET request queries
and will be encoded in the url. For example::
>>> make_url('http://my-server.com', 'skeleton', node_gt: 100)
>>> make_url('http://my-server.com', 'skeleton', node_gt=100)
'http://my-server.com/skeleton?node_gt=100'
Returns
Expand Down

0 comments on commit 4be7a79

Please sign in to comment.