save (and load) files on local host from Interactive Tool

I now have the “get()” working in my IT… well, “working”. I needed to create a /import directory in my Dockerfile since that is the default location for a “get()”. However, I’m still confused and surely missing something obvious. A “get(historyID_integer)”, e.g., get(42) actually creates a /import/42 file. And I want the actual filename, not history ID #.

(sorry was traveling)

You are correct, but the error message is misleading, I think. It can not download the file twice because the file already exists, if you rename it, you can download the file twice.

gx_get is specific to R. In Juypter is simply called get the binary. get --help should work.

For the filename. In Galaxy filenames do not exist. Galaxy treats everything as object in an object store. The closest to a filename is the metadata in the history, but this is not unique. This is the reason we default back to the number. If you like to use the history-dataset name, we can technically do this, but keep in mind that the names in a history are not unique.

Thank you again. Yes, I finally get it. I now have the necessary functionality in our IT to be able to get/put files from/to the History.

1 Like

Thanks for clarifying!

For this part, we will need help from someone more familiar with the details. Hi @wm75 would you have time to help? I’m not sure if the filename is passed in the metadata but these are all guesses.

And, I’ll also ping our Dev chat to see if someone has done this before. You're invited to talk on Matrix

Thanks! :slight_smile: