diff --git a/resources/generate_spec_files.py b/resources/generate_spec_files.py index ccad96da..d83fd9db 100644 --- a/resources/generate_spec_files.py +++ b/resources/generate_spec_files.py @@ -57,4 +57,4 @@ fo.write(f'constexpr std::array, {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') \ No newline at end of file + fo.write(f'}}}};\n}} // namespace AQNWB::SPEC::{ns['name'].upper().replace('-', '_')}\n') \ No newline at end of file