Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
jvsguerra authored Oct 17, 2022
2 parents e3a7b54 + 7416bcf commit 5b6f5bf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions KVshiny/R/mod_server_submitJob.R
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ submit_job <- function(input, output, pdb_name_click_load, url_address, session)
} else if (pdb_name_click_load != "init" & pdb_name_click_load != input$pdb_id) { #
shinyWidgets::sendSweetAlert(session = session, title = "Oops!", text = "Please after input PDB ID in Choose input section, be sure you loaded the PDB by clicking on the Load button.", type = "error")
# Just another check if user uploaded a PDB or fetched a PDB ID before to submit
} else if(length(input$pdb_id) > 0 & input$send_pdb_id == 0 & input$input_type != 'pdb_from_file'){
print("here1")
} else if(length(input$pdb_id) > 0 & input$send_pdb_id == 0 & input$input_type != 'pdb_from_file'){
shinyWidgets::sendSweetAlert(session = session,title = "Oops!", text = "Please load from PDB or upload a PDB file before to submit.", type = "error")
} else {
# if pass through the above checks...
Expand Down

0 comments on commit 5b6f5bf

Please sign in to comment.