Skip to content

Commit

Permalink
#246 Warning regarding compound structures is solved when running pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
rhutten committed Jun 20, 2022
1 parent 2da747a commit fa4880c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hydrolib/core/io/structure/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ def validate(cls, v):

def _exclude_fields(self) -> Set:
# exclude the non-applicable, or unset props like coordinates or branches
if self.type is "compound":
if self.type == "compound":
exclude_set = self._loc_all_fields
elif self.branchid is not None:
exclude_set = self._loc_coord_fields
Expand Down

0 comments on commit fa4880c

Please sign in to comment.