From 4994c86e67ad6926429b38ea2ce3e48cee66635e Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Mon, 16 Sep 2019 13:31:49 -0700 Subject: [PATCH] bugfix: hard-wired keyword resulted in missing materialpoint results --- python/damask/dadf5.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/damask/dadf5.py b/python/damask/dadf5.py index 6e5784a36..a4b71c6a6 100644 --- a/python/damask/dadf5.py +++ b/python/damask/dadf5.py @@ -203,8 +203,8 @@ class DADF5(): for o,p in zip(['constituents','materialpoints'],['con_physics','mat_physics']): for oo in self.iter_visible(o): for pp in self.iter_visible(p): + k = '/'.join([i,o[:-1],oo,pp,label]) try: - k = '/'.join([i,'constituent',oo,pp,label]) f[k] path.append(k) except KeyError as e: