File tree Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -148,14 +148,20 @@ def select_ob_run_numbers(self):
148148                               multiple = True )
149149
150150    def  select_output_folder (self ):
151-         if  self .output_folder_widget .value .strip () !=  "" :
152-             self .output_folder  =  self .output_folder_widget .value 
153-             self .output_folder_selected (self .output_folder )
154-         else :
151+         if  self .instrument  ==  "SNAP" :
155152            self .select_folder (instruction = "Select output folder" ,
156153                            start_dir = self .working_dir ,
157154                            next_function = self .output_folder_selected )
158155
156+         else :
157+             if  self .output_folder_widget .value .strip () !=  "" :
158+                 self .output_folder  =  self .output_folder_widget .value 
159+                 self .output_folder_selected (self .output_folder )
160+             else :
161+                 self .select_folder (instruction = "Select output folder" ,
162+                                   start_dir = self .working_dir ,
163+                                   next_function = self .output_folder_selected )
164+ 
159165    def  settings (self ):
160166        label  =  widgets .Label (value = "What to take into account for normalization?" )
161167        display (label )
Original file line number Diff line number Diff line change 190190 "metadata" : {
191191  "anaconda-cloud" : {},
192192  "kernelspec" : {
193-    "display_name" : " Python 3 "  ,
193+    "display_name" : " python310 "  ,
194194   "language" : " python"  ,
195195   "name" : " python3" 
196196  },
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments