Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions sis/spot_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,6 @@ def save_csv(self, file_name: str, columns: list|None=None):
'y': self.y,
'z': self.z,
'gene_id': self.gene_ids,
'cell_id': self.cell_ids,
}
if 'gene_name' in columns:
col_data['gene_name'] = self.gene_names
Expand All @@ -482,8 +481,6 @@ def save_csv(self, file_name: str, columns: list|None=None):
# which columns to write?
if columns is None:
columns = ['x', 'y', 'z', 'gene_id']
if self.cell_ids is not None:
columns.append('cell_id')

# write csv
header = ','.join(columns)
Expand Down
Loading