We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3112fdb commit 8daa9f7Copy full SHA for 8daa9f7
velociraptor/catalogue/registration.py
@@ -165,7 +165,7 @@ def registration_ids(
165
Registers all quantities related to particle ids and halo ids (those beginning or ending with ID).
166
"""
167
168
- if not field_path[:2] == "ID" or field_path[-2:] == "ID":
+ if not (field_path[:2] == "ID" or field_path[-2:] == "ID"):
169
raise RegistrationDoesNotMatchError
170
171
# As identifiers, all of these quantities are dimensionless
0 commit comments