From c4bbadba720318dec98ae370bc65260e949a57ee Mon Sep 17 00:00:00 2001 From: Lubomir Chorbadjiev Date: Thu, 4 Jun 2020 16:56:07 +0300 Subject: [PATCH] features view fix --- scgv/models/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scgv/models/model.py b/scgv/models/model.py index 0f6ead4..251826a 100644 --- a/scgv/models/model.py +++ b/scgv/models/model.py @@ -193,7 +193,7 @@ def make_featuremat(self, ordering): if not np.all(list(self.data.featuremat_df.columns) == self.column_labels): self.data.featuremat_df = \ - self.data.featuremat_df.loc[:, ordering].copy() + self.data.featuremat_df.iloc[:, ordering].copy() assert np.all(list(self.data.featuremat_df.columns) == self.column_labels)