@@ -279,8 +279,10 @@
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',
}
});
@@ -330,7 +332,8 @@ 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())
@@ -377,6 +380,9 @@ For your experimental metadata
}
+ }
+
+
}