Closed mhalle closed 3 weeks ago
A config file for a web client absolutely should not be required to get to public data that does not require login. It introduces significant friction for quick access from, say, a cloud jupyter notebook that may not be accessing the file system typically.
The documentation says a config file is required, and points to this page for a sample config: https://github.com/athril/sparc.client#readme
However, there's no config file there, and I can't find a way to generate one.
A config file should not be mandated. In memory store of configuration information is a better approach, with a way to read in and save the configuration information provided as a convenience.
@athril - something to consider. We should definitely fix the docs to make sure a basic "ready to go" config file is available. But possibly also revisit the earlier design decision to require a config file?
Thanks @nickerso. I have posted this on our team Slack, in case the GitHub notification is not seen.
Good point @mhalle! Thank you for bringing this, A fix is ready for the review @nickerso .
The most basic instantiation of a python client SparcClient without a config file fails: