Skip to content

Commit

Permalink
Remove print statements, fix #174 (#177)
Browse files Browse the repository at this point in the history
  • Loading branch information
rly authored Oct 17, 2019
1 parent 56ebfc3 commit 44c02ea
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/hdmf/spec/write.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,18 +244,7 @@ def export_spec(ns_builder, new_data_types, output_dir):
ns_path = ns_builder.name + '.namespace.yaml'
ext_path = ns_builder.name + '.extensions.yaml'

if len(new_data_types) > 1:
pluralize = 's'
else:
pluralize = ''

print('Creating file {output_dir}/{ext_path} with {new_data_types_count} data type{pluralize}'.format(
pluralize=pluralize, output_dir=output_dir, ext_path=ext_path,
new_data_types_count=len(new_data_types)))

for data_type in new_data_types:
ns_builder.add_spec(ext_path, data_type)

print('Creating file {output_dir}/{ns_path}'.format(output_dir=output_dir, ns_path=ns_path))

ns_builder.export(ns_path, outdir=output_dir)

0 comments on commit 44c02ea

Please sign in to comment.