more info

This commit is contained in:
Martin Diehl 2019-10-20 13:13:48 +02:00
parent 4cae607733
commit 51ed4d68e6
1 changed files with 2 additions and 2 deletions

View File

@ -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)