File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
lib/galaxy/model/dataset_collections Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -112,15 +112,15 @@ def column_title_to_target_type(column_title: str) -> Optional[RuleBuilderMappin
112112
113113 Examples:
114114 >>> column_title_to_target_type("Name")
115- " name"
115+ ' name'
116116 >>> column_title_to_target_type("MD5 Sum")
117- " hash_md5"
117+ ' hash_md5'
118118 >>> column_title_to_target_type("URI 1 (Forward)")
119- " url"
119+ ' url'
120120 >>> column_title_to_target_type("Genome Build")
121- " dbkey"
122- >>> column_title_to_target_type("Unknown Column")
123- None
121+ ' dbkey'
122+ >>> column_title_to_target_type("Unknown Column") is None
123+ True
124124 """
125125 # Normalize: lowercase, remove whitespace/parens/dashes/underscores and "optional"
126126 normalized_title = re .sub (r"[\s\(\)\-\_]|optional" , "" , column_title .lower ())
You can’t perform that action at this time.
0 commit comments