- move decompress_bytes to galaxy.util.compression_utils
- a corrupt compressed output is an AssertionError naming the output, not a raw exception
- a checksum mismatch says the checksum was taken over the decompressed content
- document in galaxy.xsd and the test models that decompress applies to md5/checksum,
and regenerate the client API schema and the editor tool-source schema
- test the legacy md5 attribute, the message and the corrupt-input case
verify() decompressed the output for assertions and file comparisons but
compared checksums against the raw (compressed) bytes, so a checksum of the
decompressed content could never match.
Tabular datatypes already record their column separator as ``delimiter``
metadata, so column assertions can split on what the datatype actually
found instead of inferring it from the ftype declared in the test. The
delimiter is a parsing parameter here, not an oracle - assertions still
test file contents, never metadata.
Gate on profile 26.2 (dev is 26.2.dev0; the original 26.0 has passed) and
keep an explicitly declared ``sep`` winning over it. ``delimiter`` is an
optional metadata element with ``no_value=[]``, so a non-string value
falls back to the historical tab, as do callers with no dataset metadata
to consult.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Thread the tool profile into verify() and default the has_n_columns
separator to comma when the output ftype is csv.
Squashed from PR #21391 and rebased onto dev; conflicts from the
PEP 604 annotation migration resolved.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>