Skip to content

Commit 1ff5f85

Browse files
v2.4.0
1 parent 342a345 commit 1ff5f85

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+2203
-14902
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Created by .ignore support plugin (hsz.mobi)
22
### Python template
3+
# Custom
4+
proc/*
5+
.DS_Store
6+
37
# Byte-compiled / optimized / DLL files
48
__pycache__/
59
*.py[cod]

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
# Phigaro v2.3.0
1+
# Phigaro v2.4.0
22
[![PyPI version](https://badge.fury.io/py/phigaro.svg)](https://badge.fury.io/py/phigaro)
3-
![Conda installation](https://anaconda.org/bioconda/phigaro/badges/installer/conda.svg)
4-
![Actions Status](https://github.com/bobeobibo/phigaro/workflows/Phigaro%20Tests/badge.svg)
3+
![Conda installation](https://anaconda.org/bioconda/phigaro/badges/version.svg)
54
![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)
65
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
76

deployment.sh

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
#!/bin/bash
2+
conda activate main
3+
pip install --upgrade twine
4+
echo "Did you change git action and updated the package?"
5+
read
6+
git status
7+
read
8+
git pull
9+
read
10+
rm dist/*
11+
python setup_version.py
12+
python setup.py sdist bdist_wheel
13+
read
14+
git add --all
15+
git status
16+
read
17+
read -p commit_name="Please, make up the commit name:"
18+
tag=`cat tag_name`
19+
git commit -m $commit_name
20+
read
21+
git tag $tag
22+
read
23+
git push
24+
read
25+
git push --tags
26+
read
27+
twine upload --repository phigaro dist/*
28+
read
-75 KB
Binary file not shown.

dist/phigaro-2.3.0.tar.gz

-68.7 KB
Binary file not shown.
61.9 KB
Binary file not shown.

dist/phigaro-2.4.0.tar.gz

57.7 KB
Binary file not shown.

environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: phigaro_env
22
dependencies:
3-
- python=3.7
3+
- python<=3.12.1
44
- pip
55
- bioconda::prodigal
66
- bioconda::hmmer

phigaro/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
"""Version information."""
22

33
# The following line *must* be the last in the module, exactly as formatted:
4-
__version__ ="2.3.0"
4+
__version__ ="2.4.0"

phigaro/batch/task/base.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@ class AbstractTask(object):
1414

1515
def __init__(self):
1616
if self.task_name is None:
17-
raise Exception(
18-
"{}.task_name must by set".format(self.__class__.__name__)
19-
)
17+
raise Exception("{}.task_name must by set".format(self.__class__.__name__))
2018

2119
self.directory()
2220
self.context = Context.instance()

0 commit comments

Comments
 (0)