Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/maxgamill-sheffield/800-better-t…
Browse files Browse the repository at this point in the history
…racing' into maxgamill-sheffield/800-better-tracing
  • Loading branch information
SylviaWhittle committed Oct 8, 2024
2 parents f7e62ad + 5ac50ed commit c45ace6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
from topostats.grainstats import GrainStats
from topostats.io import LoadScans, read_yaml
from topostats.plotting import TopoSum
from topostats.tracing.dnatracing import dnaTrace
from topostats.utils import _get_mask, get_mask, get_thresholds

# This is required because of the inheritance used throughout
Expand Down
1 change: 1 addition & 0 deletions topostats/tracing/disordered_tracing.py
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,7 @@ def trace_image_disordered( # pylint: disable=too-many-arguments,too-many-local
disordered_trace_crop_data[f"grain_{cropped_image_index}"] = disordered_trace_images
disordered_trace_crop_data[f"grain_{cropped_image_index}"]["bbox"] = bboxs[cropped_image_index]

# when skel too small, pruned to 0's, skan -> ValueError -> skipped
except Exception as e: # pylint: disable=broad-exception-caught
LOGGER.error(
f"[{filename}] : Disordered tracing of grain"
Expand Down

0 comments on commit c45ace6

Please sign in to comment.