Skip to content

Commit 5637e57

Browse files
committed
fixed seqspec check to check url when urltype is https, updated fixture specs to be v0.4.0
1 parent 3b2b8ce commit 5637e57

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

seqspec/seqspec_check.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ def check_onlist_files_exist(spec, errors, idx):
243243
errors.append(errobj)
244244
idx += 1
245245
else:
246-
if not file_exists(ol.filename):
246+
if not file_exists(ol.url):
247247
errobj = {
248248
"error_type": "check_onlist_files_exist",
249249
"error_message": f"{ol.filename} does not exist",

tests/fixtures/spec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
seqspec_version: 0.3.0
1+
seqspec_version: 0.4.0
22
assay_id: DOGMAseq-DIG
33
name: DOGMAseq-DIG/Illumina
44
doi: https://doi.org/10.1186/s13059-022-02698-8

tests/fixtures/spec.yaml.gz

-10 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)