Skip to content

Commit

Permalink
Updated tensorflow dependency for macos (#4)
Browse files Browse the repository at this point in the history
* build: updated tensorflow dep for macos

* build: bumped version 0.1.1 -> 0.1.2
  • Loading branch information
nishaq503 authored Feb 2, 2024
1 parent 85118c3 commit a332011
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.1.1
current_version = 0.1.2
commit = False
tag = False
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\-(?P<release>[a-z]+)(?P<dev>\d+))?
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Theia (v0.1.1)
# Theia (v0.1.2)

Bleed-Through Correction in Fluorescent Microscopy Images

## Installation

### Linux

- From PyPI: `pip install "theia-py==0.1.1"`
- Using poetry: `poetry add [email protected].1`
- From PyPI: `pip install "theia-py==0.1.2"`
- Using poetry: `poetry add [email protected].2`

### MacOS (Apple Silicon)

Expand All @@ -26,7 +26,7 @@ Bleed-Through Correction in Fluorescent Microscopy Images
6. Install tensorflow dependencies:
- `conda install -c apple tensorflow-deps`
7. Install using poetry:
- `poetry add [email protected].1`
- `poetry add [email protected].2`

### Windows

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.1
0.1.2
9 changes: 2 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "theia-py"
version = "0.1.1"
version = "0.1.2"
description = "Theia: Bleed-Through Correction in Fluorescent Microscopy Images"
authors = [
"Najib Ishaq <[email protected]>",
Expand All @@ -14,12 +14,7 @@ python = ">=3.9,<3.12,!=3.9.7"
numpy = "^1.23.2"
scikit-learn = "^1.2.2"
scipy = "^1.9.0"
tensorflow-macos = {version = "^2.12.0", platform = "darwin"}
tensorflow-metal = {version = "^1.0.1", platform = "darwin"}
tensorflow = [
{version = "^2.12.0", platform = "linux"},
{version = "^2.12.0", platform = "win32"},
]
tensorflow = "^2.13.0"

[tool.poetry.group.dev.dependencies]
bump2version = "^1.0.1"
Expand Down
2 changes: 1 addition & 1 deletion src/theia/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from .models import Transformer
from .utils import constants

__version__ = "0.1.1"
__version__ = "0.1.2"

__all__ = [
"TileGenerator",
Expand Down

0 comments on commit a332011

Please sign in to comment.