mirror of
https://github.com/vale981/hopsflow
synced 2025-03-04 16:31:38 -05:00
fix typo in online analysis snapshotting
This commit is contained in:
parent
40ea31b052
commit
1ed2d65605
1 changed files with 3 additions and 3 deletions
|
@ -864,10 +864,10 @@ def ensemble_mean_online(
|
|||
|
||||
aggregate.dump(str(path))
|
||||
if every is not None and (
|
||||
aggregate.n % every == 0 if isintance(every, int) else every(aggregate.n)
|
||||
aggregate.n % every == 0 if isinstance(every, int) else every(aggregate.n)
|
||||
):
|
||||
path.with_stem(f"{path.stem}_{aggregate.n}")
|
||||
aggregate.dump(str(path))
|
||||
snapshot_path = path.with_stem(f"{path.stem}_{aggregate.n}")
|
||||
aggregate.dump(str(snapshot_path))
|
||||
|
||||
return aggregate.ensemble_value
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue