Skip to content

Commit 8321345

Browse files
committed
Upgrade v0.1.8: Add Dockerfile and remove uncessary dependencies
1 parent 1a35ca2 commit 8321345

File tree

3 files changed

+14
-6
lines changed

3 files changed

+14
-6
lines changed

CHANGELOG.md

+8-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
# Changelog
32

43
All notable changes to this project will be documented in this file.
@@ -7,6 +6,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
76

87
## [Unreleased]
98

9+
## [0.1.8] - 2024-08-20
10+
11+
### Added
12+
- Added a Dockerfile to the repository for containerization. Documentation on how to use the Dockerfile needs to be added to the README.
13+
14+
### Changed
15+
- Removed unnecessary imports from `setup.py` to clean up the codebase.
16+
1017
## [0.1.7] - 2024-06-21
1118

1219
### Added
@@ -18,5 +25,3 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
1825
### Changed
1926
- Improved input_type value check mechanism to use .lower() before checking against values 'vcf' or 'matrix'.
2027
- Updated dependency from PyPDF2 to pypdf to increase compatibility and resolve installation issues on bioconda.
21-
22-

Dockerfile

+4-1
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,14 @@ RUN apt-get update && apt-get upgrade -y && \
1313
WORKDIR /usr/src/app
1414

1515
# Clone the specific branch of the repository
16-
RUN git clone --branch container https://github.com/AlexandrovLab/SigProfilerAssignment.git .
16+
RUN git clone https://github.com/AlexandrovLab/SigProfilerAssignment.git .
1717

1818
# Install the dependencies from the requirements.txt in the cloned repository
1919
RUN pip3 install --no-cache-dir -r requirements.txt
2020

21+
# Install the SigProfilerAssignment package from PyPI
22+
RUN pip3 install SigProfilerAssignment==0.1.8
23+
2124
# Create a non-root user named 'spm_user'
2225
RUN useradd -m -s /bin/bash spm_user
2326

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.1.7"
9+
VERSION = "0.1.8"
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.1.7: Update CLI, add pytest, and update pypdf dependency.'
18+
Update = 'v0.1.8: Add Dockerfile and remove uncessary dependencies'
1919
2020
2121
"""

0 commit comments

Comments
 (0)