Skip to content

Commit

Permalink
Remove __slots__ as this breaks when using extra particle types
Browse files Browse the repository at this point in the history
  • Loading branch information
JBorrow committed Nov 12, 2020
1 parent be13915 commit 8b6b793
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions swiftsimio/reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ class MassTable(object):
particle type names.
"""

__slots__ = list(metadata.particle_types.particle_name_underscores.values())

def __init__(self, base_mass_table: np.array, mass_units: unyt.unyt_quantity):
"""
Parameters
Expand Down

0 comments on commit 8b6b793

Please sign in to comment.