pegasusio/views.py
def copy(self) -> "UnimodalData":
        """ After copy, this View object becomes invalid """
        data = self.parent._copy_view(self)

        self.parent = None
        self.barcode_index = self.feature_index = None
        self.barcode_metadata = self.feature_metadata = self.matrices = self.metadata = self.barcode_multiarrays = self.feature_multiarrays = self.barcode_multigraphs = self.feature_multigraphs = None
        self._cur_matrix = self._shape = self._obj_name = None

        return data
 After copy, this View object becomes invalid 
After copy, this View object becomes invalid
After copy this View object becomes invalid
def copy(self) -> "UnimodalData":
        data = self.parent._copy_view(self)
        self.parent = None
        self.barcode_index = self.feature_index = None
        self.barcode_metadata = self.feature_metadata = self.matrices = self.metadata = self.barcode_multiarrays = self.feature_multiarrays = self.barcode_multigraphs = self.feature_multigraphs = None
        self._cur_matrix = self._shape = self._obj_name = None
        return data
def copy ( self ) -> "UnimodalData" : data = self . parent . _copy_view ( self ) self . parent = None self . barcode_index = self . feature_index = None self . barcode_metadata = self . feature_metadata = self . matrices = self . metadata = self . barcode_multiarrays = self . feature_multiarrays = self . barcode_multigraphs = self . feature_multigraphs = None self . _cur_matrix = self . _shape = self . _obj_name = None return data
After copy, this View object becomes invalid
After copy this View object becomes invalid
""" After copy, this View object becomes invalid """
self