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

Remove calls to TensorFlow related cellfinder functions #112

Merged
merged 1 commit into from
May 28, 2024
Merged
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
5 changes: 0 additions & 5 deletions brainglobe_workflows/brainmapper/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
===============

Runs each part of the brainmapper pipeline in turn.

N.B imports are within functions to prevent tensorflow being imported before
it's warnings are silenced
"""

import logging
Expand All @@ -20,7 +17,6 @@
from brainglobe_utils.image.heatmap import heatmap_from_points
from brainglobe_utils.IO.cells import get_cells, save_cells
from brainglobe_utils.IO.image.load import read_z_stack
from cellfinder.core.main import suppress_tf_logging, tf_suppress_log_messages

BRAINREG_PRE_PROCESSING_ARGS = None

Expand All @@ -44,7 +40,6 @@ def cells_exist(points_file):


def main():
suppress_tf_logging(tf_suppress_log_messages)
from brainreg.core.main import main as register

from brainglobe_workflows.brainmapper import prep
Expand Down
Loading