Skip to content

Commit

Permalink
adding plant setting
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoranzhou committed Feb 19, 2024
1 parent c7826b9 commit 0145303
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@
<div class="modal-dialog modal-dialog-scrollable">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="suggestionModalLabel">For your experimental metadata, we recommend:</h5>
<h5 class="modal-title" id="suggestionModalLabel">Base on your answers, we think the following information can be a good starting point for your metadata annotation:</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
Expand Down Expand Up @@ -279,8 +279,10 @@ <h5 class="modal-title" id="suggestionModalLabel">For your experimental metadata
const target = `https://docs.google.com/spreadsheets/d/e/2PACX-1vRCAlGxBM7PSg4x6Di4cWHH4B6m1eKFXyPwWOdBpEkS2P5h0JU9YGdyoftIxqwEAcnA0Np3t-CrScBZ/pub?gid=0&single=true&output=csv`;

const res = await fetch(target, {

method: 'get',
headers: {

'content-type': 'text/csv;charset=UTF-8',
}
});
Expand Down Expand Up @@ -330,7 +332,8 @@ <h5 class="modal-title" id="suggestionModalLabel">For your experimental metadata

for ( const [index, element] of metadata.entries() ){

for (const idd in q3Ids){
if (q1Ids.includes(element.q1)) {
for (const idd in q3Ids){

if (element["biological data domain"].toLowerCase().includes(q3Ids[idd].toLowerCase())){
console.log(element["biological data domain"]+ " include "+ q3Ids[idd].toLowerCase())
Expand Down Expand Up @@ -377,6 +380,9 @@ <h5 class="modal-title" id="suggestionModalLabel">For your experimental metadata
}


}




}
Expand Down

0 comments on commit 0145303

Please sign in to comment.