mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-30 03:18:11 +08:00
allow hyphen in annotation file name (#1074)
* remove old detritus * allow hyphen in label file name
This commit is contained in:
@@ -221,7 +221,7 @@ def is_safe_collection_name(name):
|
||||
"""
|
||||
if name is None:
|
||||
return False
|
||||
return re.match(r"^\w+$", name) is not None
|
||||
return re.match(r"^[\w\-]+$", name) is not None
|
||||
|
||||
|
||||
def get_api_resources():
|
||||
|
||||
Reference in New Issue
Block a user