nipype.utils.config module¶
Created on 20 Apr 2010
logging options : INFO, DEBUG hash_method : content, timestamp
@author: Chris Filo Gorgolewski
- class nipype.utils.config.NipypeConfig(*args, **kwargs)¶
Bases:
object
Base nipype config class
- property cwd¶
Cache current working directory ASAP
- disable_resource_monitor()¶
Sets the resource monitor off
- enable_debug_mode()¶
Enables debug configuration
- enable_provenance()¶
Sets provenance storing on
- enable_resource_monitor()¶
Sets the resource monitor on
- get(section, option, default=None)¶
Get an option
- get_data(key)¶
Read options file
- get_display()¶
Returns the first display available
- getboolean(section, option)¶
Get a boolean option from section
- has_option(section, option)¶
Check if option exists in section
- property resource_monitor¶
Check if resource_monitor is available
- save_data(key, value)¶
Store config flie
- set(section, option, value)¶
Set new value on option
- set_default_config()¶
Read default settings template and set into config object
- set_log_dir(log_dir)¶
Sets logging directory
This should be the first thing that is done before any nipype class with logging is imported.
- stop_display()¶
Closes the display if started
- update_config(config_dict)¶
Extend internal dictionary with config_dict
- update_matplotlib()¶
Set backend on matplotlib from options
- nipype.utils.config.free_display()¶
Stop virtual display (if it is up)
- nipype.utils.config.mkdir_p(path)¶