affinder icon indicating copy to clipboard operation
affinder copied to clipboard

Option to "restart" annotation, use existing points layers

Open sofroniewn opened this issue 5 years ago • 3 comments

A complement to #9

sofroniewn avatar Jan 20 '21 04:01 sofroniewn

This is great, and could be "easily" implemented by adding reference_pts: Optional[layers.Points], moving_pts: Optional[layers.Points] to the start_affinder function signature. If they are not set, we create them, but if they are set, we use the existing ones.

jni avatar Jan 20 '21 04:01 jni

@tlambert03 I don't think there's optional support in magicgui yet, right? ie I'd like to have a combobox for existing points layers in the UI but there should be a "None/create" option in the combobox...

jni avatar Mar 25 '21 02:03 jni

Nope not yet. Discussion happening here

tlambert03 avatar Mar 25 '21 02:03 tlambert03