Files
galaxy/test/functional/tools/validation_hdf5.xml
T
John Chilton 2a97f726cc Tweaks to hdf5 testing.
- 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.
2019-02-05 08:45:46 -05:00

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>