Skip to content

Commit

Permalink
features view fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lchorbadjiev committed Jun 4, 2020
1 parent 9a94704 commit c4bbadb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scgv/models/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit c4bbadb

Please sign in to comment.