Skip to content

Commit

Permalink
Adjust json output-based test
Browse files Browse the repository at this point in the history
  • Loading branch information
wm75 committed Apr 17, 2024
1 parent ef4e4fc commit 9c42740
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 24 deletions.
4 changes: 2 additions & 2 deletions tools/cutadapt/cutadapt.xml
Original file line number Diff line number Diff line change
Expand Up @@ -580,8 +580,8 @@ $read_mod_options.zero_cap
</section>
<param name="output_selector" value="rest_file,json_stats"/>
<output name="out1" file="cutadapt_rest.out" ftype="fasta"/>
<!--allow for differing schema, cutadapt and python version as well as two lines containing the number of cores -->
<output name="json_stats" file="cutadapt_rest.json" ftype="json" lines_diff="10"/>
<!-- compare to expected reproducible part of json output -->
<output name="json_stats" file="cutadapt_rest_json.txt" compare="contains"/>
<output name="rest_output" file="cutadapt_rest2.out" ftype="fasta"/>
</test>
<!-- Ensure nextseq-trim option works -->
Expand Down
Original file line number Diff line number Diff line change
@@ -1,23 +1,3 @@
{
"tag": "Cutadapt report",
"schema_version": [0, 1],
"cutadapt_version": "3.5",
"python_version": "3.9.7",
"command_line_arguments": [
"-j=1",
"--json",
"stats.json",
"-a",
"AAAGATG",
"--rest-file=rest_output.fa",
"--output=out1.fa",
"--error-rate=0.1",
"--times=1",
"--overlap=3",
"--action=trim",
"cutadapt_rest_fa.fa"
],
"cores": 1,
"input": {
"path1": "cutadapt_rest_fa.fa",
"path2": null,
Expand All @@ -26,7 +6,7 @@
"read_counts": {
"input": 5,
"filtered": {
"too_short": null,
"too_short": 0,
"too_long": null,
"too_many_n": null,
"too_many_expected_errors": null,
Expand Down Expand Up @@ -87,4 +67,3 @@
"adapters_read2": null,
"poly_a_trimmed_read1": null,
"poly_a_trimmed_read2": null
}

0 comments on commit 9c42740

Please sign in to comment.