canfar / arcade

ALMA Retrieval with the CANFAR Data System
GNU General Public License v3.0
1 stars 2 forks source link

CARTA on ARCADE always starts in projects directory #30

Open nbrunett opened 4 years ago

nbrunett commented 4 years ago

It would be better (for me at least) if CARTA showed the contents of my ARCADE home directory when I go to my CARTA link, instead of the projects directory. This happens every time I go to my CARTA link.

I can work around this for now but it means I have to hit the little computer button, click the home directory, click my directory, and finally start looking for what I was doing. Let me know if you need more info. Thanks.

ijiraq commented 4 years ago

Perhaps CARTA could store some user session information (in user /home) that CARTA would find and the next session would resume from that same location/state. Something for the CARTA devs perhaps.

nbrunett commented 4 years ago

@drtobybrown Do you know if something like this was done for CARTA on astro? My CARTA sessions on astro always start in my home directory but I do not see that I did anything to make that happen.

drtobybrown commented 4 years ago

I'm not sure if this is a CARTA or ARCADE issue. As @nbrunett says, we have the server version running on our machine at McMaster and it launches from the user's home dir. However, each user also initialize their own session using the carta command.

@brianmajor set CARTA up so may know more...

ijiraq commented 4 years ago

I should have been clearer.

Currently CARTA start up is set to /projects as that is where users are expected to keep their data files. But each user will have different work patterns and CARTA should remember the user's specific settings and initialize back to the state of the previous settings. This could apply to more than the launch directory.

JJ

On Aug 10, 2020, at 6:26 AM, Nathan Brunetti notifications@github.com wrote:

@drtobybrown Do you know if something like this was done for CARTA on astro? My CARTA sessions on astro always start in my home directory but I do not see that I did anything to make that happen.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

drtobybrown commented 4 years ago

Does it make more sense to switch the CARTA startup to the user's home?

brianmajor commented 4 years ago

The initial (launch) directory is specified as a parameter on startup and we explicitly make it go to /cavern/projects at the moment. This could easily be changed to go to $HOME or to some configurable location based on a file. See the startup script here: https://github.com/opencadc/arcade/blob/master/session-containers/arcade-carta/src/arcade-carta

On Mon, Aug 10, 2020 at 7:54 AM JJ Kavelaars notifications@github.com wrote:

I should have been clearer.

Currently CARTA start up is set to /projects as that is where users are expected to keep their data files. But each user will have different work patterns and CARTA should remember the user's specific settings and initialize back to the state of the previous settings. This could apply to more than the launch directory.

JJ

On Aug 10, 2020, at 6:26 AM, Nathan Brunetti notifications@github.com wrote:

@drtobybrown Do you know if something like this was done for CARTA on astro? My CARTA sessions on astro always start in my home directory but I do not see that I did anything to make that happen.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/opencadc/arcade/issues/82#issuecomment-671404398, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB4T4AAAONP4DSAL3GBIQT3SAACZDANCNFSM4PWRKDTA .

drtobybrown commented 4 years ago

I think opening to $HOME is preferable

ijiraq commented 4 years ago

Hi

PLEASE do not make ${HOME} the default for the application.

PLEASE DO make it possible for users to set individual settings.

Also. If you are using ${HOME} to store project data you will eventually be frustrated. Please use /projects.

JJ

On Aug 10, 2020, at 3:44 PM, Toby Brown notifications@github.com wrote:

I think opening to $HOME is preferable

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.