kreshuklab / plant-seg

A tool for cell instance aware segmentation in densely packed 3D volumetric images
https://kreshuklab.github.io/plant-seg/
MIT License
89 stars 30 forks source link

Fix Legacy GUI after v1.7.0 #237

Closed qin-yu closed 2 months ago

qin-yu commented 2 months ago

Since v1.6.6, I stopped testing Legacy GUI and depend purely on passing pytest for this interface. But it seems there are not enough tests for this. I fixed:

  1. Problems caused by moving os to pathlib
  2. Problems caused by re-introducing halo and fix halo/padding implementation
  3. Problems caused by forcing tuple type for fixed-length sequences

This should fix #236