Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

Commit

Permalink
possible fix for mac error (#200)
Browse files Browse the repository at this point in the history
  • Loading branch information
alessandrofelder authored Jul 14, 2023
1 parent b387053 commit 224e0b3
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions src/cellfinder_core/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,15 @@
try:
TF_VERSION = version("tensorflow")
except PackageNotFoundError as e:
raise PackageNotFoundError(
f"cellfinder tools cannot be invoked without tensorflow. "
f"Please install tensorflow into your environment to use cellfinder tools. "
f"For more information, please see "
f"https://github.com/brainglobe/brainglobe-meta#readme."
) from e
try:
TF_VERSION = version("tensorflow-macos")
except PackageNotFoundError as e:
raise PackageNotFoundError(
f"cellfinder tools cannot be invoked without tensorflow. "
f"Please install tensorflow into your environment to use cellfinder tools. "
f"For more information, please see "
f"https://github.com/brainglobe/brainglobe-meta#readme."
) from e

__author__ = "Adam Tyson, Christian Niedworok, Charly Rousseau"
__license__ = "BSD-3-Clause"
Expand Down

0 comments on commit 224e0b3

Please sign in to comment.