Skip to content

Commit

Permalink
rename append function
Browse files Browse the repository at this point in the history
  • Loading branch information
kbonney committed Nov 6, 2023
1 parent a55e2e9 commit ff180f3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions wntr/tests/test_multiple_simulations.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def setUpClass(self):
# link_res[key] = pd.concat([self.res2.link[key],self.res3.link[key]],axis=0)
# self.res2.node = node_res
# self.res2.link = link_res
self.res2.append_results_from(self.res3)
self.res2.append(self.res3)
self.res4 = abs(self.res1 - self.res2).max()

@classmethod
Expand Down Expand Up @@ -191,7 +191,7 @@ def setUpClass(self):
self.res3 = sim.run_sim()
self.res3._adjust_time(11*3600)

self.res2.append_results_from(self.res3)
self.res2.append(self.res3)
self.res4 = abs(self.res1 - self.res2).max()

@classmethod
Expand Down Expand Up @@ -290,7 +290,7 @@ def setUpClass(self):
self.res3 = sim.run_sim(solver_options={'TOL':1e-8})
self.res3._adjust_time(10*3600)

self.res2.append_results_from(self.res3)
self.res2.append(self.res3)
self.res4 = abs(self.res1 - self.res2).max()

@classmethod
Expand Down

0 comments on commit ff180f3

Please sign in to comment.