Skip to content

Commit 2b850c3

Browse files
author
Shuk Wan Wendy Wong
committed
force samples.txt columns to be str
1 parent 309ec4c commit 2b850c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

workflow/rules/common.smk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def get_samples(samplesFile):
2020
# read in the samples file, we assume that they are in this order: sample\tbam/cram\tindex
2121
def read_samplesFile(samplesFile):
2222
samplesTable = pd.read_table(samplesFile, sep="\t",
23-
header='infer')
23+
header='infer', dtype=str)
2424
return(samplesTable)
2525

2626

0 commit comments

Comments
 (0)