diff --git a/starfish/core/codebook/codebook.py b/starfish/core/codebook/codebook.py index c531625db..3bf0ca27c 100644 --- a/starfish/core/codebook/codebook.py +++ b/starfish/core/codebook/codebook.py @@ -61,6 +61,8 @@ class Codebook(xr.DataArray): """ + __slots__ = () + @property def code_length(self) -> int: """return the length of codes in this codebook""" diff --git a/starfish/core/expression_matrix/expression_matrix.py b/starfish/core/expression_matrix/expression_matrix.py index 320f25988..0db05b23a 100644 --- a/starfish/core/expression_matrix/expression_matrix.py +++ b/starfish/core/expression_matrix/expression_matrix.py @@ -27,6 +27,8 @@ class ExpressionMatrix(xr.DataArray): load an ExpressionMatrix from netCDF """ + __slots__ = () + def save(self, filename: str) -> None: """Save an ExpressionMatrix as a Netcdf File diff --git a/starfish/core/intensity_table/decoded_intensity_table.py b/starfish/core/intensity_table/decoded_intensity_table.py index e57bc7fc3..3158434c3 100644 --- a/starfish/core/intensity_table/decoded_intensity_table.py +++ b/starfish/core/intensity_table/decoded_intensity_table.py @@ -57,6 +57,8 @@ class DecodedIntensityTable(IntensityTable): """ + __slots__ = () + @classmethod def from_intensity_table( cls, diff --git a/starfish/core/intensity_table/intensity_table.py b/starfish/core/intensity_table/intensity_table.py index 8415f7911..2621ffd63 100644 --- a/starfish/core/intensity_table/intensity_table.py +++ b/starfish/core/intensity_table/intensity_table.py @@ -73,6 +73,8 @@ class IntensityTable(xr.DataArray): * c (c) int64 0 1 2 """ + __slots__ = () + @staticmethod def _build_xarray_coords( spot_attributes: SpotAttributes,