Skip to content

Commit f65f7bc

Browse files
committed
Fix up docs.
1 parent 08e2b00 commit f65f7bc

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

lib/galaxy/model/dataset_collections/rule_target_columns.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff 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())

0 commit comments

Comments
 (0)