From 00551d7f0f78be51f2bdb9474adf3e93ce5c52cc Mon Sep 17 00:00:00 2001 From: frehburg Date: Thu, 17 Oct 2024 17:49:17 +0200 Subject: [PATCH] update iter of datamodel --- src/phenopacket_mapper/data_standards/data_model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/phenopacket_mapper/data_standards/data_model.py b/src/phenopacket_mapper/data_standards/data_model.py index 5cd9a2d..335556e 100644 --- a/src/phenopacket_mapper/data_standards/data_model.py +++ b/src/phenopacket_mapper/data_standards/data_model.py @@ -174,7 +174,7 @@ def __str__(self): return ret def __iter__(self): - return iter(self.fields) + return iter(recursive_collect_all_members_data_model(self)) @property def is_hierarchical(self) -> bool: