INNER CODE UNIT · Python
create_schema
cbg-ethz/V-pipe · utils/create_config_schema.py:28
def create_schema():
config_default = import_config_default_smk()
type_map = {
str: "string",
"str": "string",
int: "integer",
float: "number",
bool: "boolean",
}
properties = {}
try:
config_default.VpipeConfig.__MEMBER_DEFAULT__
except AttributeError:
raise AttributeError(
"looks like the config_default.smk was already rewritten"