Skip to content

Commit

Permalink
fix time-dep basic statistics pp and history set sync pp (#515)
Browse files Browse the repository at this point in the history
* fix time-dep basic statistics pp and history set sync pp

* add regold files
  • Loading branch information
wangcj05 authored and PaulTalbot-INL committed Jan 18, 2018
1 parent a3f4c54 commit 290829d
Show file tree
Hide file tree
Showing 7 changed files with 194 additions and 2,233 deletions.
6 changes: 3 additions & 3 deletions framework/PostProcessorFunctions/HistorySetSync.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,10 @@ def run(self,inputDic):
minTime = min(minInitTime)
newTime = np.linspace(minTime,maxTime,self.numberOfSamples)
elif self.syncMethod == 'all':
times = set()
times = []
for hist in inputDic['data'][self.pivotParameter]:
times.add(hist.values)
times = list(times)
times.extend(hist)
times = list(set(times))
times.sort()
newTime = np.array(times)
elif self.syncMethod in ['min','max']:
Expand Down

This file was deleted.

Loading

0 comments on commit 290829d

Please sign in to comment.