Skip to content

Commit

Permalink
Fixed typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
smartin71 committed Apr 28, 2022
1 parent 0c5778f commit 58446a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web-server/plugins/slycat-dac/py/dac_compute_coords.py
Expand Up @@ -709,7 +709,7 @@ def compute_prop_dist_vec(prop_vec, vec_length):

# helper function for compute alpha to do natural sort
# taken from Ned Batchelder's blog
def natsorted( l ):
def natsorted(l):

convert = lambda text: int(text) if text.isdigit() else text
alphanum_key = lambda key: [convert(c) for c in re.split('([0-9]+)', key)]
Expand Down

0 comments on commit 58446a2

Please sign in to comment.