|
478 | 478 | span_id = "#dataset_links_builtenv"; |
479 | 479 | break; |
480 | 480 | case "tmi-WGS-gut": |
| 481 | + // Temporary workaround - we're going to add the Hadza study to the info['qiita-study-ids'] variable and alter the label to be more appropriate. Remove this line and the following four lines once contextual studies for WGS gut samples are fully restored. |
| 482 | + label = '{{ _('The Microsetta Initiative and Comparative Studies') }}'; |
| 483 | + span_id = "#dataset_links_tmi"; |
| 484 | + info['qiita-study-ids'].push("11358"); |
| 485 | + break; |
481 | 486 | case "tmi-16S-gut": |
482 | 487 | case "tmi-WGS-skin": |
483 | 488 | case "tmi-16S-skin": |
484 | 489 | label = '{{ _('The Microsetta Initiative') }}'; |
485 | 490 | span_id = "#dataset_links_tmi"; |
486 | 491 | break; |
487 | 492 | case "multipop-16S-gut": |
488 | | - case "multipop-WGS-gut": |
| 493 | + //case "multipop-WGS-gut": |
489 | 494 | label = '{{ _('Microbiomes Across the World') }}'; |
490 | 495 | span_id = "#dataset_links_multipopgut"; |
491 | 496 | break; |
492 | 497 | case "lifestage-16S-gut": |
493 | | - case "lifestage-WGS-gut": |
| 498 | + //case "lifestage-WGS-gut": |
494 | 499 | label = '{{ _('Microbiomes Across the Lifespan') }}'; |
495 | 500 | span_id = "#dataset_links_lifestagegut"; |
496 | 501 | break; |
|
1294 | 1299 | for (let i = 0; i < site_specific_elements.length; i++) { |
1295 | 1300 | site_specific_elements[i].style.display = ""; |
1296 | 1301 | } |
| 1302 | +
|
| 1303 | + // Temporary workaround - we need to disable the Microbiome Map tab for WGS gut samples, overriding the site-specific content framework. Remove this line and the following four lines once contextual studies for WGS gut samples are fully restored. |
| 1304 | + if(state.dataset_site.value === "gut" && state.dataset_type.value === "WGS") { |
| 1305 | + document.getElementById("how_you_compare_microbiome_map").style.display = "none"; |
| 1306 | + document.getElementById("microbial_map_li_element").style.display = "none"; |
| 1307 | + } |
1297 | 1308 | } |
1298 | 1309 |
|
1299 | 1310 | //Called immediately after a tab is shown |
|
1471 | 1482 | <li class="nav-item"> |
1472 | 1483 | <a class="nav-link" id="taxonomy-tab" data-bs-toggle="tab" href="#taxonomy" role="tab" aria-controls="taxonomy" aria-selected="false">{{ _('Composition') }}</a> |
1473 | 1484 | </li> |
1474 | | - <li class="nav-item site_specific_content site_specific_content_gut"> |
| 1485 | + <li class="nav-item site_specific_content site_specific_content_gut" id="microbial_map_li_element"> |
1475 | 1486 | <a class="nav-link" id="microbial-map-tab" data-bs-toggle="tab" href="#microbial-map" role="tab" aria-controls="microbial-map" aria-selected="false">{{ _('Microbiome Map') }}</a> |
1476 | 1487 | </li> |
1477 | 1488 | <li class="nav-item"> |
|
1818 | 1829 |
|
1819 | 1830 | <h4 style="color:black;">{{ _('Datasets used in your report') }}</h4> |
1820 | 1831 | <p> |
1821 | | - {{ _('The results shown in the Microbiome Maps portion of the report relied on data from many different publically accessible microbiome datasets. These different datasets, and links to them, are listed below.') }} |
| 1832 | + {{ _('The results shown in the report relied on data from different publically accessible microbiome datasets. These different datasets, and links to them, are listed below.') }} |
1822 | 1833 | </p> |
1823 | 1834 | <div id='datasets-used'> |
1824 | 1835 | </div> |
|
0 commit comments