mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
FilePrefix reads the first Megabytes of a file, which is much more than the previously used `check_binary` which read only 1KB. Since we're re-using FilePrefix instance this shouldn't have any impact on performace. In addition we're now using `python-magic` to detect the encoding and mime-type. We're using the mime-type detection for PDF only at this point, but we're also using the detected encoding if we encounter non-utf8 content.
.. image:: https://badge.fury.io/py/galaxy-data.svg :target: https://pypi.org/project/galaxy-data/ Overview -------- The Galaxy_ models, datatype framework, and datatype implementations. * Free software: Academic Free License version 3.0 * Code: https://github.com/galaxyproject/galaxy .. _Galaxy: http://galaxyproject.org/