Implement profiles to specify scicat instances more easily #275
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #37
How to use profiles
With this PR, we can connect to ESS SciCat using
However, this will only work on a non-ess machine if the user has their SSH agent set up properly. If they don't, they still need to provide a file transfer manually. E.g.:
I am happy to add profiles for other instances to the package if requested!
Loading profiles from files
This PR includes the option of loading profiles from TOML files. But this is very limited at the moment and cannot load file transfers. This is because I am unsure how useful this actually is. So reviewer, please let me know if you think that this is valuable enough to expand support. Or if it should be removed because it is too complicated.