Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with "make_input" process from shiny-app using Option 4 #17

Closed
ghost opened this issue Oct 16, 2020 · 1 comment
Closed

Problem with "make_input" process from shiny-app using Option 4 #17

ghost opened this issue Oct 16, 2020 · 1 comment

Comments

@ghost
Copy link

ghost commented Oct 16, 2020

Dear Mike,

Thank you for much for your great repo

I have been trying to use MLWIC2 via shiny-app and for the "make_input" function, I got stuck at in the middle of the process of making the input file.

I was able to select option4 from the shiny-app popup, choose my image directory but when I click the "make an input file" button", this is the error message that I got

1

Could you please help me take a look at the server.r code for the "make_input" function ?

Also for the shiny-app to work, I used this trick from @ericnewkirk (#12) and it helped me solve the problem of not able to open the app.

Thank you in advance for your help

@ghost
Copy link
Author

ghost commented Oct 28, 2020

I have found the solution for this,

I changed the following two lines on line 86 and 88 and :

Before:
output_dir = gsub("\\\\", "/", normalizePath(dirname_output_dir())),
path_prefix = gsub("\\\\", "/", normalizePath(dirname_path_prefix())),

After:
path_prefix = gsub("\\\\", "/", paste0(normalizePath(dirname_path_prefix()), "/")),
output_dir = gsub("\\\\", "/", paste0(normalizePath(dirname_output_dir()), "/")),

@ghost ghost closed this as completed Oct 28, 2020
@ghost ghost reopened this Oct 28, 2020
@ghost ghost closed this as completed Oct 29, 2020
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants