Skip to content

Commit

Permalink
Updated input schema and stub test
Browse files Browse the repository at this point in the history
  • Loading branch information
GallVp committed Sep 27, 2024
1 parent 3eb9ace commit 287916e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions assets/schema_input.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,14 +68,14 @@
"anyOf": [
{
"type": "string",
"pattern": "^\\S+\\.gff(3)?(\\.gz)?$"
"pattern": "^\\S+\\.gff(3)?$"
},
{
"type": "string",
"maxLength": 0
}
],
"errorMessage": "GFF/GFF3 file for benchmarking cannot contain spaces and must have extension '.gff.gz', '.gff3.gz', '.gff' or '.gff3'"
"errorMessage": "GFF/GFF3 file for benchmarking cannot contain spaces and must have extension '.gff' or '.gff3'"
}
},
"required": ["tag", "fasta", "is_masked"]
Expand Down
6 changes: 3 additions & 3 deletions tests/stub/assemblysheet.csv
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
tag,fasta,is_masked,te_lib,braker_gff3,braker_hints
red5_v2p1,tests/stub/assembly/red5_v2p1_chr1.fasta.gz,no,,tests/stub/braker/red5_v2p1.gff3.gz,tests/stub/braker/red5_v2p1.hints.gff.gz
tag,fasta,is_masked,te_lib,braker_gff3,braker_hints,benchmark
red5_v2p1,tests/stub/assembly/red5_v2p1_chr1.fasta.gz,no,,tests/stub/braker/red5_v2p1.gff3.gz,tests/stub/braker/red5_v2p1.hints.gff.gz,
donghong,tests/stub/assembly/donghong.chr1.fsa.gz,no,tests/stub/te_lib/donghong.TElib.fa.gz,tests/stub/braker/red5_v2p1.gff3.gz,tests/stub/braker/red5_v2p1.hints.gff.gz
red5_v3,tests/stub/assembly/red5_v3_chr1.fasta,yes
red5_v3,tests/stub/assembly/red5_v3_chr1.fasta,yes,,,,tests/stub/benchmark/red5_v3.benchmark.gff3
red7_v5,tests/stub/assembly/red7_v5_chr3.fasta,no
Empty file.

0 comments on commit 287916e

Please sign in to comment.