From 1345a581ce16006e8c99cfdd4d58b03bca2c87d6 Mon Sep 17 00:00:00 2001 From: Cameron Lloyd Date: Sun, 18 Jun 2023 21:43:52 +0100 Subject: [PATCH 1/3] Bump version to 0.4.0 --- setup.cfg | 2 +- src/oct_to_tiff/cli.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.cfg b/setup.cfg index a928e31..7c5c8ab 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = oct_to_tiff -version = 0.3.0 +version = 0.4.0 author = Cameron Lloyd author_email = lloyd@med.unideb.hu description = A command line tool for converting optical coherence tomography angiography (OCTA) data. diff --git a/src/oct_to_tiff/cli.py b/src/oct_to_tiff/cli.py index c036f9a..efac7a2 100644 --- a/src/oct_to_tiff/cli.py +++ b/src/oct_to_tiff/cli.py @@ -162,7 +162,7 @@ def main(): action="store_true", help="extract segmentation lines", ) - parser.add_argument("--version", action="version", version="%(prog)s 0.3.0") + parser.add_argument("--version", action="version", version="%(prog)s 0.4.0") args = parser.parse_args() input_path = args.input From 6d7b6b4cb8db24f6d3c237cf6de6e1a24663e658 Mon Sep 17 00:00:00 2001 From: Cameron Lloyd Date: Mon, 17 Jul 2023 23:46:30 +0100 Subject: [PATCH 2/3] Update CHANGELOG.md --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 826fe3e..fff3cdd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## Version 0.4.0 +* Add support for extracting segmentation lines +* Add mutually exclusive group to parser +* Drop support for Python 3.7 +* Refactoring + ## Version 0.3.0 * Add support for Retina Map scan pattern * Add support for ONH scan pattern From 219521f9229d3221699ce491fc1fb7f9d821b73f Mon Sep 17 00:00:00 2001 From: Cameron Lloyd Date: Tue, 18 Jul 2023 22:43:05 +0100 Subject: [PATCH 3/3] Add Dockerfile and .dockerignore --- .dockerignore | 12 ++++++++++++ Dockerfile | 16 ++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 .dockerignore create mode 100644 Dockerfile diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..92d85cc --- /dev/null +++ b/.dockerignore @@ -0,0 +1,12 @@ +.dockerignore +.git +.github +.gitignore +.idea +build +dist +oct_to_tiff.egg-info +Dockerfile +*.md +*.txt +*.cff diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..9e92e23 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,16 @@ +# syntax=docker/dockerfile:1 +FROM python:3.8.17-slim + +LABEL org.opencontainers.image.authors="Cameron Lloyd " \ + org.opencontainers.image.source="https://github.com/camlloyd/oct-to-tiff" \ + org.opencontainers.image.licenses="BSD-3-Clause" \ + org.opencontainers.image.title="oct-to-tiff" \ + org.opencontainers.image.description="A command line tool for converting optical coherence tomography angiography (OCTA) data." + +WORKDIR /app + +RUN pip install --no-cache-dir oct-to-tiff==0.4.0 + +COPY . . + +ENTRYPOINT [ "python", "src/oct_to_tiff/cli.py" ]