Compare commits
2 Commits
62fdada9c1
...
0.13.1
Author | SHA1 | Date | |
---|---|---|---|
af7edf0942 | |||
481870db97 |
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@@ -36,7 +36,9 @@ pipeline {
|
|||||||
parallel {
|
parallel {
|
||||||
stage ("git.reslate.systems") {
|
stage ("git.reslate.systems") {
|
||||||
when {
|
when {
|
||||||
branch '**/main'
|
not {
|
||||||
|
tag '*.*.*'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
environment {
|
environment {
|
||||||
@@ -49,7 +51,7 @@ pipeline {
|
|||||||
}
|
}
|
||||||
stage ("pypi.org") {
|
stage ("pypi.org") {
|
||||||
when {
|
when {
|
||||||
tag '*.*'
|
tag '*.*.*'
|
||||||
}
|
}
|
||||||
environment {
|
environment {
|
||||||
TOKEN = credentials('pypi.org')
|
TOKEN = credentials('pypi.org')
|
||||||
|
@@ -4,4 +4,9 @@ from autobigs.engine.reading import read_fasta
|
|||||||
async def test_fasta_reader_not_none():
|
async def test_fasta_reader_not_none():
|
||||||
named_strings = await read_fasta("tests/resources/tohama_I_bpertussis.fasta")
|
named_strings = await read_fasta("tests/resources/tohama_I_bpertussis.fasta")
|
||||||
for named_string in named_strings:
|
for named_string in named_strings:
|
||||||
assert named_string.name == "BX470248.1"
|
assert named_string.name is not None
|
||||||
|
|
||||||
|
async def test_fasta_reader_name_contains_file_and_id():
|
||||||
|
named_strings = await read_fasta("tests/resources/tohama_I_bpertussis.fasta")
|
||||||
|
for named_string in named_strings:
|
||||||
|
assert named_string.name == "tohama_I_bpertussis.fasta:BX470248.1"
|
||||||
|
Reference in New Issue
Block a user