Skip to content

Commit

Permalink
Update flepimop/gempyor_pkg/src/gempyor/shared_cli.py
Browse files Browse the repository at this point in the history
Co-authored-by: Timothy Willard <[email protected]>
  • Loading branch information
pearsonca and TimothyWillard authored Oct 22, 2024
1 parent d9243c7 commit d642e26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flepimop/gempyor_pkg/src/gempyor/shared_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class AlphanumericParamType(click.ParamType):
"""A custom click parameter type for alphanumeric strings"""

name = "alphanumeric"
an_pattern = re.compile("^[a-zA-Z0-9]+$")
an_pattern = re.compile("^[a-zA-Z0-9_]+$")

def convert(self, value, param, ctx):
if not isinstance(value, str):
Expand Down

0 comments on commit d642e26

Please sign in to comment.