mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-29 17:42:12 +08:00
- This is in galaxy-lib so h5py import should probably be conditional. - Namespace very generic test functions a bit by adding h5 into the names. - Stricter validation of XSD (the other assertions don't have this but that is problematic on their part), I'm not sure if the docs will render unevenly now though - we may want to revisit that and do this for all the assertions.
24 lines
735 B
XML
24 lines
735 B
XML
<tool id="validation_hdf5" name="Validation (hdf5)" version="1.0">
|
|
<command>
|
|
cp '$input' '$output'
|
|
</command>
|
|
<inputs>
|
|
<param name="input" type="data" format="cool" />
|
|
</inputs>
|
|
<outputs>
|
|
<data name="output" format="cool" />
|
|
</outputs>
|
|
<tests>
|
|
<test>
|
|
<param name="input" value="matrix.cool" />
|
|
<output name="output">
|
|
<assert_contents>
|
|
<has_h5_keys keys="bins, chroms,indexes,pixels" />
|
|
<has_h5_attribute name="nbins" value="33754" />
|
|
<has_h5_attribute name="nchroms" value="15" />
|
|
</assert_contents>
|
|
</output>
|
|
</test>
|
|
</tests>
|
|
</tool>
|