Skip to content

Commit

Permalink
Update scanpy-find-cluster.xml adds assert method in test output
Browse files Browse the repository at this point in the history
  • Loading branch information
anilthanki authored Feb 15, 2024
1 parent 7a2173e commit 3584487
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions tools/tertiary-analysis/scanpy/scanpy-find-cluster.xml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,11 @@ PYTHONIOENCODING=utf-8 scanpy-find-cluster
<param name="default" value="false"/>
<param name="resolution_file" value="resolution.txt"/>
<param name="random_seed" value="0"/>
<output name="output_h5" file="find_cluster.h5" ftype="h5" compare="sim_size" delta_frac="0.1"/>
<output name="output_h5" ftype="h5">
<assert_contents>
<has_h5_keys keys="obs/louvain"/>
</assert_contents>
</output>
<output name="output_txt" file="find_cluster.tsv" ftype="tsv"/>
</test>
<test>
Expand All @@ -107,7 +111,11 @@ PYTHONIOENCODING=utf-8 scanpy-find-cluster
<param name="default" value="false"/>
<param name="resolution" value="1.0"/>
<param name="random_seed" value="0"/>
<output name="output_h5" file="find_cluster.h5" ftype="h5" compare="sim_size" delta_frac="0.1"/>
<output name="output_h5" ftype="h5">
<assert_contents>
<has_h5_keys keys="obs/louvain"/>
</assert_contents>
</output>
<output name="output_txt" file="find_cluster.tsv" ftype="tsv"/>
</test>
<test>
Expand All @@ -119,7 +127,11 @@ PYTHONIOENCODING=utf-8 scanpy-find-cluster
<param name="resolution" value="1.0"/>
<param name="key_added" value="METHOD_RESOLUTION"/>
<param name="random_seed" value="0"/>
<output name="output_h5" file="louvain_1.0" ftype="h5" compare="sim_size" delta_frac="0.1"/>
<output name="output_h5" ftype="h5">
<assert_contents>
<has_h5_keys keys="obs/louvain_1.0"/>
</assert_contents>
</output>
<output name="output_txt" file="louvain_1.0.tsv" ftype="tsv"/>
</test>
</tests>
Expand Down

0 comments on commit 3584487

Please sign in to comment.