https://github.com/AllenInstitute/ecephys_spike_sorting
Tip revision: 995842e4ec67e9db1b7869d885b97317012337db authored by Josh Siegle on 19 May 2021, 23:30:17 UTC
Add comma
Add comma
Tip revision: 995842e
update_from_repo.py
from cookiecutter.main import cookiecutter as cc
import ruamel.yaml as yaml
import os
settings_fname = os.path.join(os.path.dirname(__file__), '.cookiecutter.yaml')
settings = yaml.safe_load(open(settings_fname, 'r'))['default_context']
cc(settings['_template'],
output_dir="../..",
config_file=".cookiecutter.yaml",
no_input=True,
overwrite_if_exists=True)