Skip to content

Commit

Permalink
Removed warning when backend is not configured
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorTatarnikov committed May 23, 2024
1 parent d4b7ecd commit 68ed410
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion cellfinder/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
# Check if backend is configured. If not, set to "torch"
if not os.getenv("KERAS_BACKEND"):
os.environ["KERAS_BACKEND"] = "torch"

Check warning on line 31 in cellfinder/__init__.py

View check run for this annotation

Codecov / codecov/patch

cellfinder/__init__.py#L31

Added line #L31 was not covered by tests
warnings.warn("Keras backend not configured, automatically set to torch")

# Check backend is installed
backend = os.getenv("KERAS_BACKEND")
Expand Down

0 comments on commit 68ed410

Please sign in to comment.