You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When reloading a classifier magicgui's FileEdit widget currently filters for files with the extension *.clf.
# LoadClassifierContainer class from classifier_widget.pydef__init__(self, viewer: napari.viewer.Viewer):
self._viewer=viewerself._clf_destination=FileEdit(mode="r", filter="*.clf")
self._load_button=PushButton(label="Load Classifier")
Classifiers saved with another file extension (e.g. standard python .pkl files) can currently not be loaded again. Unfortunately, the FileEdit widget itself does not allow to deactivate the filter and choose another filetype. A possible workaround may be to include a filter RadioButtons widget to set the filter to all files *.
When reloading a classifier magicgui's FileEdit widget currently filters for files with the extension *.clf.
Classifiers saved with another file extension (e.g. standard python .pkl files) can currently not be loaded again. Unfortunately, the FileEdit widget itself does not allow to deactivate the filter and choose another filetype. A possible workaround may be to include a filter
RadioButtons
widget to set the filter to all files*
.I could think of something along these lines:
The text was updated successfully, but these errors were encountered: