Skip to content

Commit

Permalink
[FIX] - modal removal bug with shinyjs
Browse files Browse the repository at this point in the history
  • Loading branch information
Léopold Guyot committed Sep 26, 2023
1 parent efee2ea commit 14afb6f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions R/data_importation_server.R
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ data_importation_server<- function(input, output, session){
)
}
)
removeModal()
})

# creation of a persistent object for the input dataframe
Expand Down Expand Up @@ -102,6 +103,7 @@ data_importation_server<- function(input, output, session){
updateSelectInput(session, "batch_col", choices = colnames(sample_df))
updateSelectInput(session, "channel_col", choices = colnames(sample_df))
}
removeModal()
})
# creation of a persistent object for the sample dataframe
sample_df <- eventReactive(input$import_sample,
Expand Down
1 change: 0 additions & 1 deletion R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ file_to_df<- function(file_upload,
header = TRUE,
row.names = 1)
showNotification("File import succeed !")
removeModal()
return(table)
},
error = function(err) {
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# scpGui
# scpGUI

`scpGUI` is a graphical interface for the scp package.
Currently the app can be used to convert two separate tables (Input and Sample) into a QFeatures object.
Expand All @@ -10,8 +10,9 @@ Get the package:

```r
# Check if remotes is installed. Otherwise install it.
if (!require("remotes", quietly = TRUE))
if (!require("remotes", quietly = TRUE)){
install.packages("remotes")
}
# Install the package
remotes::install_github("leopoldguyot/scpGUI")
# Load the package
Expand Down

0 comments on commit 14afb6f

Please # to comment.