Class ConfigAdaptor.JB_json_v0
Extends
ConfigAdaptor.JB_json_v1.
Defined in: JB_json_v0.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Configuration adaptor for JBrowse JSON version 0
trackInfo.js files. |
Method Attributes | Method Name and Description |
---|---|
parse_conf(conf_text)
Parse the trackInfo.js configuration text into JSON.
|
|
regularize_conf(o, load_args)
Munge the v0 configuration to conform to v1.
|
- Methods borrowed from class ConfigAdaptor.JB_json_v1:
- load
Class Detail
ConfigAdaptor.JB_json_v0()
Configuration adaptor for JBrowse JSON version 0
trackInfo.js
files.
Method Detail
{Object}
parse_conf(conf_text)
Parse the trackInfo.js configuration text into JSON.
- Parameters:
- {String} conf_text
- the text in the conf file
- Returns:
- {Object} parsed JSON
{Object}
regularize_conf(o, load_args)
Munge the v0 configuration to conform to v1.
- Parameters:
- {Object} o
- the object containing the configuration, which it modifies in-place
- {Object} load_args
- the arguments that were passed to
load()
- Returns:
- {Object} v1-compliant configuration