Skip to content

Commit 00551d7

Browse files
committed
update iter of datamodel
1 parent 8d53a77 commit 00551d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/phenopacket_mapper/data_standards/data_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ def __str__(self):
174174
return ret
175175

176176
def __iter__(self):
177-
return iter(self.fields)
177+
return iter(recursive_collect_all_members_data_model(self))
178178

179179
@property
180180
def is_hierarchical(self) -> bool:

0 commit comments

Comments
 (0)