Skip to content

Commit

Permalink
Removed calls to suppress_tf_logging as cellfinder now uses PyTorch (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorTatarnikov committed May 28, 2024
1 parent 3cedfbc commit 2136585
Showing 1 changed file with 0 additions and 5 deletions.
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

0 comments on commit 2136585

Please sign in to comment.