hdmf.testing.make_test_files module

Script to generate test files for backward compatibility testing.

hdmf.testing.make_test_files.make_herd_1_8_0_file(outdir)

Generate an HDF5 file using hdmf-common-schema 1.8.0.

In schema 1.8.0, HERD was defined in the hdmf-experimental namespace. This creates test files to verify backward compatibility when reading files created with the old namespace.

Before running this, pip install hdmf==4.3.1 which includes hdmf-common-schema 1.8.0.

Parameters:

outdir (pathlib.Path) – Directory where the test files will be written.