Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace TF references in comments and warning messages #378

Merged
merged 2 commits into from
Feb 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/test_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ jobs:
python-version: "3.10"

steps:
# Cache the tensorflow model so we don't have to remake it every time
- name: Cache tensorflow model
# Cache the Keras model so we don't have to remake it every time
- name: Cache Keras model
uses: actions/cache@v3
with:
path: "~/.cellfinder"
Expand All @@ -73,7 +73,7 @@ jobs:
NUMBA_DISABLE_JIT: "1"

steps:
- name: Cache tensorflow model
- name: Cache Keras model
uses: actions/cache@v3
with:
path: "~/.cellfinder"
Expand All @@ -96,7 +96,7 @@ jobs:
name: Run brainmapper tests to check for breakages
runs-on: ubuntu-latest
steps:
- name: Cache tensorflow model
- name: Cache Keras model
uses: actions/cache@v3
with:
path: "~/.cellfinder"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test_include_guard.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Test Tensorflow include guards
# These tests check that the include guards checking for tensorflow's availability
name: Test Keras include guards
# These tests check that the include guards checking for Keras availability
# behave as expected on ubuntu and macOS.

on:
Expand All @@ -9,7 +9,7 @@ on:
- main

jobs:
tensorflow_guards:
keras_guards:
name: Test include guards
strategy:
matrix:
Expand Down
2 changes: 1 addition & 1 deletion cellfinder/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
except PackageNotFoundError as e:
raise PackageNotFoundError(
f"cellfinder tools cannot be invoked without Keras. "
f"Please install tensorflow into your environment to use cellfinder tools. "
f"Please install Keras into your environment to use cellfinder tools. "
f"For more information, please see "
f"https://github.com/brainglobe/brainglobe-meta#readme."
) from e
Expand Down
Loading