From 51ed4d68e6241a287bbde362d5ce97d815c705d2 Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Sun, 20 Oct 2019 13:13:48 +0200 Subject: [PATCH] more info --- python/damask/dadf5.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/damask/dadf5.py b/python/damask/dadf5.py index d5a99b988..733f06a1c 100644 --- a/python/damask/dadf5.py +++ b/python/damask/dadf5.py @@ -316,8 +316,8 @@ class DADF5(): """Return information on all active datasets in the file.""" message = '' with h5py.File(self.filename,'r') as f: - for i in self.iter_visible('increments'): - message+='\n{}\n'.format(i) + for s,i in enumerate(self.iter_visible('increments')): + message+='\n{} ({}s)\n'.format(i,self.times[s]) for o,p in zip(['constituents','materialpoints'],['con_physics','mat_physics']): for oo in self.iter_visible(o): message+=' {}\n'.format(oo)