aboutsummaryrefslogtreecommitdiff
path: root/bh20simplewebuploader
diff options
context:
space:
mode:
authorAdam Novak2020-04-20 11:44:18 -0700
committerAdam Novak2020-04-20 11:44:24 -0700
commit3bd4ac02ded5af9a666ad7e99ebf6891bc339636 (patch)
treeb10a05834c52175cc708262e1f55fd41141a240d /bh20simplewebuploader
parentadf76b6c85da9277921cfe4c45df764310d29737 (diff)
downloadbh20-seq-resource-3bd4ac02ded5af9a666ad7e99ebf6891bc339636.tar.gz
bh20-seq-resource-3bd4ac02ded5af9a666ad7e99ebf6891bc339636.tar.lz
bh20-seq-resource-3bd4ac02ded5af9a666ad7e99ebf6891bc339636.zip
Support any number of series fields
Diffstat (limited to 'bh20simplewebuploader')
-rw-r--r--bh20simplewebuploader/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bh20simplewebuploader/main.py b/bh20simplewebuploader/main.py
index e31f18b..34dc354 100644
--- a/bh20simplewebuploader/main.py
+++ b/bh20simplewebuploader/main.py
@@ -48,7 +48,7 @@ def name_to_label(field_name):
"""
# May end in a number, which should be set off by a space
- set_off_number = re.sub('([0-9])$', r' \1', field_name)
+ set_off_number = re.sub('([0-9]+)$', r' \1', field_name)
return string.capwords(set_off_number.replace('_', ' '))