larray-project / larray-editor

Graphical User Interface for LArray
GNU General Public License v3.0
2 stars 2 forks source link

SessionComparator is broken #167

Closed alixdamman closed 5 years ago

alixdamman commented 5 years ago

fails with error

TypeError: equals() got an unexpected keyword argument 'nans_equal'

because it tries to apply equals method on Axis objects.

line

array_names = sorted(set.union(*[set(s.names) for s in self.sessions]))

in _setup_and_check of SessionComparator must be replaced by:

array_names = sorted(set.union(*[set(s.filter(kind=LArray).names) for s in self.sessions]))