Skip to content

Commit ab28001

Browse files
authored
Merge pull request #166 from AlexandrovLab/cli-fix
CLI fix
2 parents 71aafad + c659559 commit ab28001

File tree

4 files changed

+12
-4
lines changed

4 files changed

+12
-4
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ cache:
1212

1313
before_install:
1414
- pip install --upgrade pip setuptools packaging
15-
- if ! [ -f ./src/GRCh37.tar.gz ]; then wget ftp://alexandrovlab-ftp.ucsd.edu/pub/tools/SigProfilerMatrixGenerator/GRCh37.tar.gz -P ./src/; fi
15+
- if ! [ -f ./src/GRCh37.tar.gz ]; then wget --connect-timeout=10 --tries=20 ftp://alexandrovlab-ftp.ucsd.edu/pub/tools/SigProfilerMatrixGenerator/GRCh37.tar.gz -P ./src/; fi
1616

1717
install:
1818
- pip install .[tests]

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66

77
## [Unreleased]
88

9+
## [0.2.1] - 2025-04-29
10+
11+
### Fixed
12+
- CLI from returning non-zero exit code when --help flag is passed.
13+
14+
### Changed
15+
- Update CI/CD pipelines installation of reference genome to include timeout to prevent long waits during installation.
16+
917
## [0.2.0] - 2025-02-11
1018

1119
### Changed

SigProfilerAssignment/SigProfilerAssignment_CLI.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def main_function():
1313

1414
if len(sys.argv) < 2 or sys.argv[1].lower() not in commands:
1515
print_usage(commands)
16-
sys.exit(1)
16+
return
1717

1818
command = sys.argv[1].lower()
1919
args = sys.argv[2:]

setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
if os.path.exists("dist"):
77
shutil.rmtree("dist")
88

9-
VERSION = "0.2.0"
9+
VERSION = "0.2.1"
1010

1111

1212
def write_version_py(filename="SigProfilerAssignment/version.py"):
@@ -15,7 +15,7 @@ def write_version_py(filename="SigProfilerAssignment/version.py"):
1515
# THIS FILE IS GENERATED FROM SigProfilerAssignment SETUP.PY
1616
short_version = '%(version)s'
1717
version = '%(version)s'
18-
Update = 'v0.2.0: Require Pandas and Numpy >= 2.0.0 and Python >= 3.9'
18+
Update = 'v0.2.1: Fix bug in CLI returning non-zero exit code'
1919
2020
2121
"""

0 commit comments

Comments
 (0)