kreshuklab / plant-seg

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

Type bug in headless.py #235

Closed qin-yu closed 4 months ago

qin-yu commented 4 months ago

An argument input_hints in this function https://github.com/hci-unihd/plant-seg/blob/ea78e2a3a49f42177ce016209c8dadcf0b9ef428/plantseg/viewer/headless.py#L51-L55

Is using the returned value List[Tuple[(Path, Path, ..., Path)]] as type https://github.com/hci-unihd/plant-seg/blob/ea78e2a3a49f42177ce016209c8dadcf0b9ef428/plantseg/viewer/headless.py#L21-L25

What should be the actual type? @lorenzocerrone

qin-yu commented 4 months ago

I believe hard code list_inputs: List[Tuple[Path, ...]] matches the original plan.