diff --git a/hexrdgui/load_hdf5_dialog.py b/hexrdgui/load_hdf5_dialog.py index f508e06c7..a6f23826a 100644 --- a/hexrdgui/load_hdf5_dialog.py +++ b/hexrdgui/load_hdf5_dialog.py @@ -63,4 +63,7 @@ def results(self): group = os.path.split(path_list)[0] dataset = os.path.split(path_list)[1] + # Assume '/' if the group string is empty + group = '/' if group == '' else group + return group, dataset, remember