File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -788,6 +788,8 @@ def __getitem__(self, indicator_tuple):
788788 for key in folder .keys ():
789789 tp_dict_to_return [key ] = folder [key ][indicator_tuple [2 ]]
790790
791+ return tp_dict_to_return
792+
791793 elif class_types == (str , int , slice ):
792794
793795 # Here we want all spectra corresponding to one delay and from
@@ -810,6 +812,8 @@ def __getitem__(self, indicator_tuple):
810812 self ._hidden_directory [folder_id ][subfolder_id ][
811813 indicator_tuple [2 ]]
812814
815+ return tp_dict_to_return
816+
813817 elif class_types == (slice , int , slice ):
814818
815819 # This is all spectra with the same delay number (subfolder_id)
@@ -820,6 +824,8 @@ def __getitem__(self, indicator_tuple):
820824 tp_dict_to_return [folder_id ] = \
821825 self ._hidden_directory [folder_id ][indicator_tuple [1 ]]
822826
827+ return tp_dict_to_return
828+
823829 elif class_types == (str , slice , slice ):
824830
825831 # This is all spectra in the same folder
You can’t perform that action at this time.
0 commit comments