allensdk.config.model.description_parser module¶
- class allensdk.config.model.description_parser.DescriptionParser[source]¶
Bases:
object
- log = <Logger allensdk.config.model.description_parser (WARNING)>¶
- parser_for_extension(filename)[source]¶
Choose a subclass that can read the format.
- Parameters:
- filenamestring
For the extension.
- Returns:
- DescriptionParser
Appropriate subclass.
- read(file_path, description=None, section=None, **kwargs)[source]¶
Parse data needed for a simulation.
- Parameters:
- descriptiondict
Configuration from parsing previous files.
- sectionstring, optional
What configuration section to read it into if the file does not specify.