You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using a particularly large sample sheet the sniff_format function is unable to determine the format of the sample sheet and returns an error. This appears to happen when the size given to handle.read is smaller than the size of the file.
Steps to reproduce
Steps to reproduce the behavior:
Create a large delimited samplesheet, any delimiter works so long as the samplesheet has more than 2048 characters
import check_samplesheet- may need to append its location into your sys.path
Create a pair of Path objects, one for the sample sheet, one for the file output
Run check_samplesheet.check_samplesheet(<IN>, <OUT>)
See error:
Error("Could not determine delimiter")
Additional context
Drastically upping the value given to line 147 in check_samplesheet.py fixes this issue.
This was a bug in the nf-core template and should have been fixed in the latest release of nf-core/tools I believe. As such this should be resolved once #233 is merged 👍🏻
Description of the bug
When using a particularly large sample sheet the
sniff_format
function is unable to determine the format of the sample sheet and returns an error. This appears to happen when the size given tohandle.read
is smaller than the size of the file.Steps to reproduce
Steps to reproduce the behavior:
check_samplesheet
- may need to append its location into yoursys.path
Path
objects, one for the sample sheet, one for the file outputcheck_samplesheet.check_samplesheet(<IN>, <OUT>)
Additional context
Drastically upping the value given to line 147 in
check_samplesheet.py
fixes this issue.methylseq/bin/check_samplesheet.py
Lines 132 to 147 in acdc4af
The text was updated successfully, but these errors were encountered: