Compare commits

...

4 Commits

Author SHA1 Message Date
1d0da9a675 CI no longer fails on unsuccessful package upload
All checks were successful
ydeng/bmlsa/pipeline/head This commit looks good
2023-04-21 14:33:26 -05:00
f1ceb1438c Bump version number for pip
All checks were successful
ydeng/bmlsa/pipeline/head This commit looks good
2023-04-21 14:27:33 -05:00
b8fa4b5208 Fixed off by one result output
Some checks failed
ydeng/bmlsa/pipeline/head There was a failure building this commit
2023-04-21 14:14:22 -05:00
50210a884d Fixed deployed CLI import paths
All checks were successful
ydeng/bmlsa/pipeline/head This commit looks good
2023-04-21 13:55:15 -05:00
5 changed files with 9 additions and 9 deletions

2
Jenkinsfile vendored
View File

@ -28,7 +28,7 @@ pipeline {
}
steps {
withCredentials([usernamePassword(credentialsId: 'rs-git-package-registry-ydeng', passwordVariable: 'PASS', usernameVariable: 'USER')]) {
sh "python -m twine upload --repository-url https://git.reslate.systems/api/packages/${USER}/pypi -u ${USER} -p ${PASS} --non-interactive --disable-progress-bar --verbose dist/*"
sh returnStatus: true, script: 'python -m twine upload --repository-url https://git.reslate.systems/api/packages/${USER}/pypi -u ${USER} -p ${PASS} --non-interactive --disable-progress-bar --verbose dist/*'
}
}
}

View File

@ -1,7 +1,6 @@
from Bio.Align import PairwiseAligner, substitution_matrices
from exceptions import UnexpectedAlignmentResult
from datatypes import AlignedSequence
from bmlsa.datatypes import AlignedSequence
from bmlsa.exceptions import UnexpectedAlignmentResult
def protein_align_many_to_one_ssw(sequence: str, queries: dict[str, AlignedSequence]):
@ -36,7 +35,7 @@ def protein_align_many_to_one_ssw(sequence: str, queries: dict[str, AlignedSeque
alignment.query,
query.name,
query.description,
aligned_start,
int(aligned_start) + 1,
aligned_end,
score,
)

View File

@ -1,9 +1,9 @@
import os
import argparse
from Bio import SeqIO
from aligner import protein_align_many_to_one_ssw
from bmlsa.aligner import protein_align_many_to_one_ssw
from persistence import read_annotations_from_csv, save_alignments_to_csv
from bmlsa.persistence import read_annotations_from_csv, save_alignments_to_csv
def main():

View File

@ -1,5 +1,6 @@
import csv
from datatypes import AlignedSequence
from bmlsa.datatypes import AlignedSequence
def read_annotations_from_csv(

View File

@ -1,6 +1,6 @@
[metadata]
name = bmlsa
version = 0.0.1
version = 0.0.3
[options]
packages = bmlsa