Compare commits

...

3 Commits

Author SHA1 Message Date
89d6276fe0 Merge branch 'develop' of https://git.reslate.systems/ydeng/msa-splitter into develop
Some checks failed
ydeng/splitmsa/pipeline/head There was a failure building this commit
2023-04-20 15:35:51 -05:00
021a5a921b Removed "Gooey" as dependency and fixed "setup.cfg" 2023-04-20 15:35:39 -05:00
67775021bd Removed "Gooey" as dependency and fixed "setup.cfg"
Some checks failed
ydeng/splitmsa/pipeline/head There was a failure building this commit
2023-04-20 15:27:28 -05:00
4 changed files with 12 additions and 5 deletions

11
Jenkinsfile vendored
View File

@@ -10,6 +10,17 @@ pipeline {
stage("build") { stage("build") {
steps { steps {
sh "python -m build" sh "python -m build"
sh "python -m pyinstaller ./splitmsa/"
}
}
stage("test") {
steps {
sh "pip install dist/*.whl"
}
}
stage("test") {
steps {
sh "pip install dist/*.whl"
} }
} }
stage("publish") { stage("publish") {

View File

@@ -6,5 +6,4 @@ dependencies:
- pytest=7.2.2 - pytest=7.2.2
- twine=4.0.2 - twine=4.0.2
- biopython=1.81 - biopython=1.81
- gooey=1.0.8.1
- python=3.9 - python=3.9

View File

@@ -5,8 +5,7 @@ version = 0.0.1
[options] [options]
packages = splitmsa packages = splitmsa
install_requires = install_requires =
gooey Bio ==1.81; python_version == "3.9"
Bio; python_version == "3.9"
[options.entry_points] [options.entry_points]
console_scripts = console_scripts =

View File

@@ -14,7 +14,6 @@ import os
from Bio import SeqIO, SeqRecord from Bio import SeqIO, SeqRecord
from Bio.Seq import Seq from Bio.Seq import Seq
import csv import csv
from gooey import Gooey
def read_genes_from_csv(batch_genes_csv_path: str): def read_genes_from_csv(batch_genes_csv_path: str):
@@ -309,7 +308,6 @@ def run(args):
info(f"Completed gene {gene_name} ({start} - {end})") info(f"Completed gene {gene_name} ({start} - {end})")
@Gooey
def main(): def main():
parser = argparse.ArgumentParser( parser = argparse.ArgumentParser(
prog="splitmsa", prog="splitmsa",