Skip to content

Commit

Permalink
update spec generation file
Browse files Browse the repository at this point in the history
  • Loading branch information
stephprince committed Aug 29, 2024
1 parent ea55ef4 commit a6402f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/generate_spec_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@
fo.write(f'constexpr std::array<std::pair<std::string_view, std::string_view>, {len(var_names) + 1}> specVariables {{{{\n')
fo.write(''.join([f' {{"{name.replace('_', '.')}", {name}}},\n' for name in var_names]))
fo.write(' {"namespace", namespaces}\n')
fo.write(f'}}}};\n}} // namespace AQNWB::spec::{ns['name'].replace('-', '_')}\n')
fo.write(f'}}}};\n}} // namespace AQNWB::SPEC::{ns['name'].upper().replace('-', '_')}\n')

0 comments on commit a6402f2

Please sign in to comment.