Skip to content

Commit

Permalink
Gui improvement when selecting a results file (ver228#73)
Browse files Browse the repository at this point in the history
* Worm Viewer GUI: clicking on Select Skeletons File now allows the choice of *_featuresN.hdf5, *_features.hdf5, and *_skeletons.hdf5 files
  • Loading branch information
luigiferiani authored Nov 25, 2021
1 parent 708684e commit 18aaba9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tierpsy/gui/TrackerViewerAux.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def __init__(self, ui=''):

def getSkelFile(self):
selected_file, _ = QFileDialog.getOpenFileName(
self, 'Select file with the worm skeletons', self.results_dir, "Skeletons files (*_skeletons.hdf5);; All files (*)")
self, 'Select file with the worm skeletons and/or features', self.results_dir, "Results files (*_featuresN.hdf5 *features.hdf5 *_skeletons.hdf5);; All files (*)")

if not os.path.exists(selected_file):
return
Expand Down

0 comments on commit 18aaba9

Please sign in to comment.