Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow string (constants) in expressions #13

Open
brentp opened this issue Mar 7, 2022 · 0 comments
Open

allow string (constants) in expressions #13

brentp opened this issue Mar 7, 2022 · 0 comments

Comments

@brentp
Copy link
Owner

brentp commented Mar 7, 2022

Strings are supported in echtvar by storing an integer index into the list of unique strings. Currently, strings aren't really supported, but
we could pre-populated constants, e.g. for FILTER so, e.g.:

PASS = 0
FAIL = 1
QC = 2
...

then the `echtvar anno expression could use:

FILTER == PASS

but this could lead to collisions so instead we will use:

FILTER == FILTER__PASS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant