|
I am trying to restart some calculations that have failed, and want to query the database for specific structures. To do this, I need to have multiple correct "answers" to a filter. How do I do this properly? I've attached my example code using "or", but I know this isn't correct |
Answered by
jacksund
Jul 17, 2023
Replies: 1 comment
|
close! You want to use the structures = static_results.filter(
spacegroup=148,
formula_reduced__in=["CdRhF6", "CdSnF6"],
).all() |
0 replies
Answer selected by
jacksund
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
close! You want to use the
__inoperator. So your query becomes...