Cameron Hyde

Results 38 comments of Cameron Hyde

Looks good to me, is it possible to add "detected nucleotide when you selected protein" to the error message, just to be a bit more specific for the user?

Since you already have the `if grep -q '[^[:space:]]'

> do we need a library/script that checks the content and can be shared? Ages ago I did start developing a Python lib `fastkit` for that reason: https://github.com/neoformit/fastkit It has...

> should this be part of the fasta sniffer (it will have performance implications) This seems like a nice solution but the logic for checking and raising error messages still...

If we do a URL fetch is there any way to avoid fetching an entire archive (especially RO crate) when the user only wants a few files/collections from them?

Seems to be not possible unless the remote accepts the RANGE header (probably most do not - I only checked Zenodo).

Weirdly... they return `Accept-Ranges: none` ```sh $ curl -I https://zenodo.org/record/5702574/files/articles_by_influence.csv HTTP/1.1 200 OK Server: nginx Content-Type: text/plain; charset=utf-8 Content-Length: 37093571 Vary: Accept-Encoding Content-MD5: e0df4b883c2c36058577379468dec558 Content-Security-Policy: default-src 'none'; X-Content-Type-Options: nosniff X-Download-Options:...

Nice! Yeah that is misleading. Thanks for checking that out, I'll have a think about how we can use this.