gustaveroussy / CFS

R package using ICA based method for spatial transcriptomics analysis (Visium/Slide-seq/CosMX/MERSCOPE)
7 stars 2 forks source link

Local vs server file load #3

Open Jorges1000 opened 6 months ago

Jorges1000 commented 6 months ago

Hi,

I installed CFS on a AWS EC3 instance running ubuntu and rstudio-server. I access the AWS server and RStudio via a local browser in my laptop. The shiny app started by launchCFS() launches OK either in the Rstudio window or in a browser. The Load Visium output folder "Select a folder" button opens a dialog box with the server file system, as desired, however the Load processed data opens a browser window with the local laptop folders, not the server and there does not seem to be a way to access my processed objects stored in the server. If this was by design, can we have an option to also open the server folders? I don't really want to download large objects to my local computer.

Thanks!

c-thuil commented 5 months ago

Hi @Jorges1000,

Thank you for using CFS. The shiny widget that was use to load RDS files is normally used to download files which isn't something that really matters when CFS is used locally, but on an installation like yours, it causes the app to search for local computer files. So it is working as intended, just not as we want. As a fix I have updated the main branch on the git, so you can update your version. There should be a second button under the usual one which will search for actual local files rather that try to upload them.

Can you let me know if this works for you?

Jorges1000 commented 5 months ago

Works great, thanks a lot!