Skip to content

Commit

Permalink
fixed bug in ZarrMerge that led to omission of appending sample name
Browse files Browse the repository at this point in the history
  • Loading branch information
parashardhapola committed Jul 8, 2021
1 parent 59c98ee commit db09235
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scarf/writers.py
Original file line number Diff line number Diff line change
Expand Up @@ -755,6 +755,7 @@ def _merge_cell_table(self, reset, prepend_text):
ret_val = []
for assay, name in zip(self.assays, self.names):
a = assay.cells.to_pandas_dataframe(assay.cells.columns)
a['ids'] = [f"{name}__{x}" for x in a['ids']]
for i in a.columns:
if i not in ['ids', 'I', 'names'] and prepend_text is not None:
a[f"{prepend_text}_{i}"] = assay.cells.fetch_all(i)
Expand Down

0 comments on commit db09235

Please sign in to comment.