You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// TODO get this info earlier? In particular, it might be better to explicitly get the run accession from ENA rather than getting it from the filenames.
90
-
const{ forwardUrl, reverseUrl, runAccession }=
91
-
getPairedRunUrlsInfo(readRuns);
88
+
if(!readRuns?.length)returnnull;
92
89
return{
93
90
class: "Collection",
94
91
collection_type: "list:paired",
95
-
elements: [
96
-
{
92
+
elements: readRuns.map((readRunsPair)=>{
93
+
// TODO get this info earlier? In particular, it might be better to explicitly get the run accession from ENA rather than getting it from the filenames.
94
+
const{ forwardUrl, reverseUrl, runAccession }=
95
+
getPairedRunUrlsInfo(readRunsPair);
96
+
return{
97
97
class: "Collection",
98
98
elements: [
99
99
{
@@ -111,8 +111,8 @@ function paramVariableToRequestValue(
0 commit comments