sakara.py: change config file to anansesem.yaml
This commit is contained in:
parent
26520d81b6
commit
193da9419d
@ -3,8 +3,12 @@
|
||||
import os
|
||||
import shutil
|
||||
|
||||
### USAGE
|
||||
|
||||
|
||||
|
||||
# from command line, yaml file or env vars
|
||||
def parse_options(filename="conf.yaml"):
|
||||
def parse_options(filename="anansesem.yaml"):
|
||||
import yaml
|
||||
with open(filename) as stream:
|
||||
try:
|
||||
@ -149,7 +153,7 @@ def convert_text_format(conf):
|
||||
)
|
||||
print(infile)
|
||||
## MAIN
|
||||
conf=parse_options()
|
||||
conf=parse_options("anansesem.yaml")
|
||||
project_dir=create_project_dir(conf)
|
||||
create_skel(project_dir, conf)
|
||||
infiles=conf['project-options']['infiles']
|
||||
|
Loading…
Reference in New Issue
Block a user