cram-js icon indicating copy to clipboard operation
cram-js copied to clipboard

Remove stat

Open cmdcolin opened this issue 7 months ago • 1 comments

This removes checks for "file out of bounds" to cram-js

While the code is a bit "safer" perhaps with these checks, they require that "stat" works which requires specialized CORS headers to be set. Access to files for example https://ftp.1000genomes.ebi.ac.uk/vol1/ftp/data_collections/HGDP/data/Sindhi/HGDP00171/alignment/HGDP00171.alt_bwamem_GRCh38DH.20181023.Sindhi.cram work with this PR enabled, but not without this PR

Draft PR because tests may be non-passing, but tested in the genome browser

cmdcolin avatar Nov 15 '23 20:11 cmdcolin