diff options
author | Adam Novak | 2020-04-20 11:44:18 -0700 |
---|---|---|
committer | Adam Novak | 2020-04-20 11:44:24 -0700 |
commit | 3bd4ac02ded5af9a666ad7e99ebf6891bc339636 (patch) | |
tree | b10a05834c52175cc708262e1f55fd41141a240d /bh20simplewebuploader | |
parent | adf76b6c85da9277921cfe4c45df764310d29737 (diff) | |
download | bh20-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.py | 2 |
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('_', ' ')) |