Skip to content

Commit

Permalink
Update heatcluster.py
Browse files Browse the repository at this point in the history
Removed "index_col=False" from lines 79 & 82
  • Loading branch information
DrB-S authored Feb 1, 2024
1 parent b053f8a commit 8d8ae63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions heatcluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,10 @@ def read_snp_matrix(file):
commas = pl.scan_csv(file, n_rows=1, separator=',')
if len(tabs.columns) > len(commas.columns):
logging.debug('The file is tab-delimited')
df = pl.scan_csv(file, separator='\t', index_col=False)
df = pl.scan_csv(file, separator='\t')
else:
logging.debug('The file is comma-delimited')
df = pl.scan_csv(file, separator=',', index_col=False)
df = pl.scan_csv(file, separator=',')
return df

def clean_and_read_df(df):
Expand Down

0 comments on commit 8d8ae63

Please sign in to comment.