Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
khalid
radseqref
Commits
a1e44975
Commit
a1e44975
authored
Mar 04, 2021
by
khalid
Browse files
Solve problem with shinyFile datapath format
parent
ea749116
Changes
1
Hide whitespace changes
Inline
Side-by-side
sagApp/server/opt_global.R
View file @
a1e44975
...
...
@@ -348,7 +348,7 @@ observeEvent(input$RunPipeline, {
shinyFileChoose
(
input
,
"shinyfiles_process_radtags_barcode_file"
,
root
=
c
(
Data
=
"/Data"
,
Results
=
"/Results"
),
session
=
session
)
observeEvent
({
parseFilePaths
(
c
(
Data
=
"/Data"
,
Results
=
"/Results"
),
input
$
shinyfiles_process_radtags_barcode_file
)
$
datapath
[
1
]},{
updateTextInput
(
session
,
"process_radtags_barcode_file_server"
,
value
=
parseFilePaths
(
c
(
Data
=
"/Data"
,
Results
=
"/Results"
),
input
$
shinyfiles_process_radtags_barcode_file
)
$
datapath
[
1
])
updateTextInput
(
session
,
"process_radtags_barcode_file_server"
,
value
=
as.character
(
parseFilePaths
(
c
(
Data
=
"/Data"
,
Results
=
"/Results"
),
input
$
shinyfiles_process_radtags_barcode_file
)
$
datapath
[
1
])
)
})
shinyDirChoose
(
input
,
"shinydir_bowtie_index_path"
,
root
=
c
(
Data
=
"/Data"
,
Results
=
"/Results"
),
session
=
session
)
...
...
@@ -358,7 +358,7 @@ observeEvent(input$RunPipeline, {
shinyFileChoose
(
input
,
"shinyfiles_bowtie_index_genome_fasta"
,
root
=
c
(
Data
=
"/Data"
,
Results
=
"/Results"
),
session
=
session
)
observeEvent
({
parseFilePaths
(
c
(
Data
=
"/Data"
,
Results
=
"/Results"
),
input
$
shinyfiles_bowtie_index_genome_fasta
)
$
datapath
[
1
]},{
updateTextInput
(
session
,
"bowtie_index_genome_fasta_server"
,
value
=
parseFilePaths
(
c
(
Data
=
"/Data"
,
Results
=
"/Results"
),
input
$
shinyfiles_bowtie_index_genome_fasta
)
$
datapath
[
1
])
updateTextInput
(
session
,
"bowtie_index_genome_fasta_server"
,
value
=
as.character
(
parseFilePaths
(
c
(
Data
=
"/Data"
,
Results
=
"/Results"
),
input
$
shinyfiles_bowtie_index_genome_fasta
)
$
datapath
[
1
])
)
})
shinyDirChoose
(
input
,
"shinydir_bwa_index_path"
,
root
=
c
(
Data
=
"/Data"
,
Results
=
"/Results"
),
session
=
session
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment