Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upClass appears to be a reserved word #129
Comments
|
That's correct: The workaround is to use patsy's quoting operator, # doesn't work:
dmatrix("age + class", data=...)
# does work:
dmatrix("y ~ age + Q('class')", data=...)I suppose we could hack around this by detecting reserved words that can't possibly appear inside an expression (e.g. |
We had some users with qiime2 that had issues with passing in variables with "class" into the formula string.
Is "class" a reserved keyword. Full discussion is here: qiime2/q2-gneiss#24