Minor typo in data.py
icdh99 opened this issue · 2 comments
icdh99 commented
Hi!
I have just started working with this repository, thank you for making this! I am trying to use the GenomicIntervalDataset to supply a sequence in fasta format, and I think I found a spelling mistake that creates an error. In the file enformer_pytorch/data.py and then in line 189, the line reads df = pl.read_csv(str(bed_path), sep = '\t', has_headers = False)
. However, according to the polars documentation, it should be has_header
.
This is the error I got that lead me to this: TypeError: read_csv() got an unexpected keyword argument 'has_headers'
.
Please let me know if you can change this!
lucidrains commented
@icdh99 hey! should be fixed in 0.6.1, thank you!
lucidrains commented
@icdh99 just curious, whose lab are you working for?