don't overwrite data when doing a 'place-like' operation to merge
datasets
This commit is contained in:
Martin Diehl 2021-04-08 17:36:33 +02:00
parent 2d8658822d
commit e89236b14d
7 changed files with 7 additions and 7 deletions

View File

@ -1195,9 +1195,9 @@ class Result:
for ty in ['phase','homogenization']: for ty in ['phase','homogenization']:
for field in self.visible['fields']: for field in self.visible['fields']:
outs = {}
for label in self.visible[ty+'s']: for label in self.visible[ty+'s']:
if field not in f['/'.join([inc,ty,label])].keys(): continue if field not in f['/'.join([inc,ty,label])].keys(): continue
outs = {}
for out in _match(output,f['/'.join([inc,ty,label,field])].keys()): for out in _match(output,f['/'.join([inc,ty,label,field])].keys()):
data = ma.array(_read(f['/'.join([inc,ty,label,field,out])])) data = ma.array(_read(f['/'.join([inc,ty,label,field,out])]))

View File

@ -1 +1 @@
4ab2840cc5ba8d0b17a6fffb014b31a8 3b83384def67552ab7dd211efc0d54fd

View File

@ -1 +1 @@
ff0f4079c18fcbb05fd08cf788230183 c32c86ed50dbb39a93ca2a2ebe47d9cb

View File

@ -1 +1 @@
3e72bea74635365e78a703254107ee07 ead4f6fcaff174fddc041d701e54ac60

View File

@ -1 +1 @@
947f5fe28599a16cfb444b7371df2cae bde8b728110c2c05a6a4740f7c5f9c06

View File

@ -1 +1 @@
76f4147d98999f131272a1d762fcf93c e09bfa9248283fc390003ad28d15d36e

View File

@ -1 +1 @@
e76b8ecc66a516eccd6b3e15fc8adc66 3f21254164f96de8ee4a28249ae72cc6