Skip to content
Snippets Groups Projects

Release_2.0 next

Merged Loraine Gueguen requested to merge release_2.0 into dev
1 file
+ 2
1
Compare changes
  • Side-by-side
  • Inline
+ 2
1
@@ -158,7 +158,8 @@ def get_unique_species_dict_list(sp_dict_list):
@@ -158,7 +158,8 @@ def get_unique_species_dict_list(sp_dict_list):
for sp in sp_dict_list:
for sp in sp_dict_list:
gspecies = get_gspecies_string_from_sp_dict(sp)
gspecies = get_gspecies_string_from_sp_dict(sp)
if gspecies not in unique_species_dict.keys() or sp[constants.ORG_PARAM_DESC][constants.ORG_PARAM_DESC_MAIN_SPECIES] == True :
if gspecies not in unique_species_dict.keys() or ( constants.ORG_PARAM_DESC_MAIN_SPECIES in sp[constants.ORG_PARAM_DESC].keys() and
 
sp[constants.ORG_PARAM_DESC][constants.ORG_PARAM_DESC_MAIN_SPECIES] == True ) :
unique_species_dict[gspecies] = sp
unique_species_dict[gspecies] = sp
else:
else:
continue
continue
Loading