Skip to content

Commit 2bbe8e9

Browse files
committed
NF_MAAgilent1ch: address #96
1 parent 496eba9 commit 2bbe8e9

File tree

1 file changed

+4
-1
lines changed
  • Microarray/Agilent_1-channel/Workflow_Documentation/NF_MAAgilent1ch/workflow_code/bin

1 file changed

+4
-1
lines changed

Microarray/Agilent_1-channel/Workflow_Documentation/NF_MAAgilent1ch/workflow_code/bin/Agile1CMP.qmd

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,10 @@ if (organism %in% c("athaliana")) {
530530
values = probe_id_chunk,
531531
mart = ensembl)
532532
533-
df_mapping <- df_mapping %>% dplyr::bind_rows(chunk_results)
533+
if (nrow(chunk_results) > 0) {
534+
df_mapping <- df_mapping %>% dplyr::bind_rows(chunk_results)
535+
}
536+
534537
Sys.sleep(10) # Slight break between requests to prevent back-to-back requests
535538
}
536539
}

0 commit comments

Comments
 (0)