mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Add doctests for additional allowed types
This commit is contained in:
@@ -74,6 +74,8 @@ def check_expression(text):
|
||||
True
|
||||
>>> check_expression("c3=='chr1' and c5>5")
|
||||
True
|
||||
>>> check_expression("c3=='chr1' and c5>-5 and c5<+5") # Unary +/-
|
||||
True
|
||||
>>> check_expression("c3=='chr1' and d5>5") # Invalid d5 reference
|
||||
False
|
||||
>>> check_expression("c3=='chr1' and c5>5 or exec")
|
||||
|
||||
Reference in New Issue
Block a user