-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Global parameters #5
Comments
for now we should use the conf.yaml file for this. That's already what I think we want to avoid globals because that's a code smell (especially in So, for the alignment model, it should be initialized with a tmp/ dir In the future, the user should be able to name the tmp/ dir after the On Thu, Jan 15, 2015 at 3:26 PM, varvara-l notifications@github.com wrote:
|
All global parameters should be defined in the config and passed to functions that need them. There won't be any global parameters seen from everywhere. |
There are some configuration parameters in the system that different functions and classes can require any time (for example, a special directory for temporary files, the number of processors the system can use).
It's sometimes inconvenient to pass them to functions, so there should be a list of global variables which are seen from everywhere. But I don't know what is a good way to do it in python.
The text was updated successfully, but these errors were encountered: