Skip to content

Commit

Permalink
docs: suppress structsvm warning on docs build (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
tlambert03 authored May 6, 2023
1 parent f503438 commit 2495bb7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/source/learning.rst
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,13 @@ Learn Weights
Learning the weights is done by calling :func:`motile.Solver.fit_weights` on the
ground-truth attribute ``gt`` that we just added:

.. jupyter-execute::
:hide-code:

# this suppresses logging output from structsvm that can fail the docs build
import logging
logging.getLogger("structsvm.bundle_method").setLevel(logging.CRITICAL)

.. jupyter-execute::
:hide-output:

Expand Down

0 comments on commit 2495bb7

Please sign in to comment.