Skip to content

Commit

Permalink
fix test warning (#404)
Browse files Browse the repository at this point in the history
  • Loading branch information
wxicu authored Oct 17, 2023
1 parent b01f318 commit c46e089
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/tools/_metadata/test_cell_line.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def adata(self) -> AnnData:
}
cell_line = pd.DataFrame(cell_line)
obs = pd.concat([cell_line], axis=1)
obs = obs.set_index(np.arange(NUM_GENES))
obs = obs.set_index(pd.Index([str(i) for i in range(NUM_GENES)]))
obs.index.rename("index", inplace=True)
obs["perturbation"] = "Midostaurin"

Expand Down

0 comments on commit c46e089

Please sign in to comment.