Skip to content

Commit

Permalink
Update create_extension_spec.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rly committed Oct 21, 2023
1 parent 32e758b commit 14a8d59
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions {{ cookiecutter.namespace }}/src/spec/create_extension_spec.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,15 @@
def main():
# these arguments were auto-generated from your cookiecutter inputs
ns_builder = NWBNamespaceBuilder(
doc="""{{ cookiecutter.description }}""",
name="""{{ cookiecutter.namespace }}""",
version="""{{ cookiecutter.version }}""",
author=list(map(str.strip, """{{ cookiecutter.author }}""".split(","))),
contact=list(map(str.strip, """{{ cookiecutter.email }}""".split(","))),
doc="""{{ cookiecutter.description }}""",
author=[{% for name in cookiecutter.author.split(',') %}
"{{ name.strip() }}", {% endfor %}
],
contact=[{% for email in cookiecutter.email.split(',') %}
"{{ email.strip() }}", {% endfor %}
],
)

# TODO: specify either the neurodata types that are used by the extension
Expand Down

0 comments on commit 14a8d59

Please sign in to comment.