You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CLAUDE.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -85,7 +85,7 @@ Tests use `unittest` (not pytest) and are run directly with `python`.
85
85
- When making a change to any of the h5json/src/*_util.py files, update the corresponding unit test (e.g. if modifying src/h5json/array_util.py, the test would be test/unit/array_util_test.py) to validate the change
86
86
- Be cafeful with memory usage - dataset spaces can be arbitrary large. Avoid reading all the dataset data into memory unless it's known to be relatively small (a few KB)
87
87
- When making changes to hdf5db, first add a test to test/unit/hdf5db_test.py to verify functionality without any storage backend. Once those tests pass, add tests for the json and h5py storage backends
88
-
- For tests with the storage backends, it's important to close the db and re-open, and then verify that any changes made to the mode were persisted to storage.
88
+
- For tests with the storage backends, it's important to close the db and re-open, and then verify that any changes made to the model were persisted to storage correctly
89
89
- Files (HDF5 or JSON) created by the test cases should be in the test/unit/out directory. These should always be created by the test case (never re-opened from a previous run)
90
90
- Files in data/hdf5/ and data/json/ should oly be modified if there is a change to the schema
91
91
- DON'T read/write datasets data element by element if it can be avoided. Rely on Numpy operations as much as possible for performance
0 commit comments