File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -3177,7 +3177,7 @@ def load_from_search_database_into_create_transistor(self):
3177
3177
3178
3178
# TRANSISTOR CURVES#
3179
3179
graph_v_ecoss = transistor_dict ["graph_v_ecoss" ]
3180
- if graph_v_ecoss is not None and graph_v_ecoss is not []:
3180
+ if graph_v_ecoss is not None and graph_v_ecoss != []:
3181
3181
self .comboBox_create_transistor_added_curve_v_ecoss .addItem ("V_Ecoss Curve" ,
3182
3182
{"graph_v_ecoss" : np .array (graph_v_ecoss )})
3183
3183
@@ -3205,7 +3205,7 @@ def load_from_search_database_into_create_transistor(self):
3205
3205
# SWITCH CURVES#
3206
3206
3207
3207
thermal_foster_switch = transistor_switch_dict ["thermal_foster" ]
3208
- if thermal_foster_switch ["graph_t_rthjc" ] is not None and thermal_foster_switch ["graph_t_rthjc" ] is not []:
3208
+ if thermal_foster_switch ["graph_t_rthjc" ] is not None and thermal_foster_switch ["graph_t_rthjc" ] != []:
3209
3209
self .comboBox_create_transistor_switch_added_curve_t_rthjc .addItem ("T_Rthjc Curve" , {
3210
3210
"graph_t_rthjc" : np .array (thermal_foster_switch ["graph_t_rthjc" ])})
3211
3211
@@ -3275,7 +3275,7 @@ def load_from_search_database_into_create_transistor(self):
3275
3275
# DIODE CURVES #
3276
3276
3277
3277
thermal_foster_diode = transistor_diode_dict ["thermal_foster" ]
3278
- if thermal_foster_diode ["graph_t_rthjc" ] is not None and thermal_foster_diode ["graph_t_rthjc" ] is not []:
3278
+ if thermal_foster_diode ["graph_t_rthjc" ] is not None and thermal_foster_diode ["graph_t_rthjc" ] != []:
3279
3279
self .comboBox_create_transistor_diode_added_curve_t_rthjc .addItem ("T_Rthjc Curve" , {
3280
3280
"graph_t_rthjc" : np .array (thermal_foster_diode ["graph_t_rthjc" ])})
3281
3281
You can’t perform that action at this time.
0 commit comments