PYTHON: Restore zmin/zmax/zblocks for 2D AmunXML snapshots.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
This commit is contained in:
parent
b6edd6ca97
commit
d714974b33
@ -85,6 +85,13 @@ class AmunXML(Amun):
|
||||
self.attributes['nchunks'] = self.attributes['nprocs']
|
||||
del self.attributes['nprocs']
|
||||
|
||||
if not 'zmin' in self.attributes:
|
||||
self.attributes['zmin'] = 0
|
||||
if not 'zmax' in self.attributes:
|
||||
self.attributes['zmax'] = 1
|
||||
if not 'zblocks' in self.attributes:
|
||||
self.attributes['zblocks'] = 1
|
||||
|
||||
|
||||
def __fill_variables__(self):
|
||||
"""
|
||||
|
Loading…
x
Reference in New Issue
Block a user