Skip to content

Make filter parsing case insensitive #39

@thomasbalstroem

Description

@thomasbalstroem

Apparently, in Malstroem ver. 270924, the AND operator is not accepted for the Filter option. Example: -filter "volume > 1 AND maxdepth > 0.1".
The error message says:

Traceback (most recent call last):
File "malstroem\scripts\cli.py", line 89, in
File "click\core.py", line 1157, in call
File "click\core.py", line 1078, in main
File "click\core.py", line 1688, in invoke
File "click\core.py", line 1434, in invoke
File "click\core.py", line 783, in invoke
File "malstroem\scripts\complete.py", line 58, in process_all
File "malstroem\scripts_utils.py", line 33, in parse_filter
File "malstroem\scripts_utils.py", line 26, in check_filter
Exception: Unsupported filter statement. Illegal parts: AND
[PYI-16520:ERROR] Failed to execute script 'cli' due to unhandled exception!

Kind regards, Thomas Balstrøm, Univ. of Copenhagen

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions