Line 899: | Line 899: | ||
var temp=""; | var temp=""; | ||
var temp_section="High_school"; | var temp_section="High_school"; | ||
+ | |||
+ | |||
+ | var temp_array_awards=[]; | ||
+ | var temp_array_nominations=[]; | ||
+ | var temp_obj={}; | ||
+ | |||
+ | |||
for (z=1; z< unique_awards.length; z++){ | for (z=1; z< unique_awards.length; z++){ | ||
− | |||
for(x=0; x< data.length; x++){ | for(x=0; x< data.length; x++){ | ||
+ | //get all the award winners | ||
if( (data[x].award).includes(unique_awards[z]) ){ | if( (data[x].award).includes(unique_awards[z]) ){ | ||
− | + | temp_obj.team_name = data[x].team_name; | |
+ | temp_obj.section = data[x].section; | ||
+ | |||
+ | temp_array_awards.push(temp_obj); | ||
} | } | ||
+ | //get all the nominees | ||
if( (data[x].nomination).includes(unique_awards[z]) ){ | if( (data[x].nomination).includes(unique_awards[z]) ){ | ||
− | + | temp_obj.team_name = data[x].team_name; | |
− | + | temp_obj.section = data[x].section; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | temp_array_nominations.push(temp_obj); | |
− | + | ||
− | + | } | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | } | + | |
− | + | ||
− | + | ||
} | } | ||
+ | |||
+ | //print them for each award | ||
+ | appendable_name = (unique_awards[z]).replace(/ /g, "_"); | ||
+ | |||
+ | console.log(temp_array_nominations); | ||
} | } |
Revision as of 18:40, 18 September 2019
iGEM 2019 Results - Coming soon!
Congratulations to all participants in the 2019 International Genetically Engineered Machine competition!
Your hard work and achievements are truly worthy of celebration!
On this page you will find the winners and nominees for the: Track Prizes, the Awards, Medals: Gold, Silver, and Bronze, and Awards and Medals by Team