File tree Expand file tree Collapse file tree 1 file changed +4
-9
lines changed
flow360/component/results Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -177,8 +177,10 @@ def _build_coeff_env(params) -> Dict[str, Any]:
177177
178178def _copy_time_columns (src : Dict [str , list ]) -> Dict [str , list ]:
179179 out : Dict [str , list ] = {}
180- out [_PSEUDO_STEP ] = src [_PSEUDO_STEP ]
181- out [_PHYSICAL_STEP ] = src [_PHYSICAL_STEP ]
180+ for key in src .keys ():
181+ if key in [_PSEUDO_STEP , _PHYSICAL_STEP ]:
182+ out [key ] = src [key ]
183+ continue
182184 return out
183185
184186
@@ -326,13 +328,6 @@ class PorousMediumCoefficientsComputation:
326328 # pylint:disable=too-few-public-methods
327329 """Static utilities for porous medium coefficient computations."""
328330
329- @staticmethod
330- def _copy_time_columns (src : Dict [str , list ]) -> Dict [str , list ]:
331- out : Dict [str , list ] = {}
332- out [_PSEUDO_STEP ] = src [_PSEUDO_STEP ]
333- out [_PHYSICAL_STEP ] = src [_PHYSICAL_STEP ]
334- return out
335-
336331 @staticmethod
337332 def _iter_zones (values : Dict [str , list ]):
338333 zone_names = np .unique (
You can’t perform that action at this time.
0 commit comments