Skip to content

Commit

Permalink
fix: add missing branch, dcline, sub comparisons
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Muldrew committed May 19, 2020
1 parent 7fadc6c commit 2ff72c6
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions powersimdata/input/grid.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,15 @@ def _univ_eq(ref, test):
other_df = other.plant.drop(excluded_cols, axis=1)
_univ_eq(self_df, other_df)

# compare branch
_univ_eq(self.branch, other.branch)

# compare dcline
_univ_eq(self.dcline, other.dcline)

# compare sub
_univ_eq(self.sub, other.sub)

# check grid helper function equality
_univ_eq(self.type2color, other.type2color)
_univ_eq(self.id2type, other.id2type)
Expand Down

0 comments on commit 2ff72c6

Please sign in to comment.