Compare commits

..

No commits in common. "1d0da9a675c5fd8bec14a855e2b92b2e6b7d6064" and "2a80c2aea239be31f646360c558170ff391cc499" have entirely different histories.

5 changed files with 9 additions and 9 deletions

2
Jenkinsfile vendored
View File

@ -28,7 +28,7 @@ pipeline {
} }
steps { steps {
withCredentials([usernamePassword(credentialsId: 'rs-git-package-registry-ydeng', passwordVariable: 'PASS', usernameVariable: 'USER')]) { withCredentials([usernamePassword(credentialsId: 'rs-git-package-registry-ydeng', passwordVariable: 'PASS', usernameVariable: 'USER')]) {
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/*' 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/*"
} }
} }
} }

View File

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

View File

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

View File

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

View File

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