Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Feb 4, 2025
1 parent 17d7726 commit 6d65bd2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/test_read_h5_array.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,11 @@ class HDF5ReadTest : public ::testing::Test {
test_file_path = std::filesystem::current_path() / "data/cut_strong.refl";

// Create the empty dataset if it does not exist
create_empty_dataset(test_file_path,
"/dials/processing/empty_dataset");
create_empty_dataset(test_file_path, "/dials/processing/empty_dataset");
}

void create_empty_dataset(const std::string &filename,
const std::string &dataset_path) {
const std::string &dataset_path) {
// Open the HDF5 file
hid_t file = H5Fopen(filename.c_str(), H5F_ACC_RDWR, H5P_DEFAULT);
if (file < 0) {
Expand Down

0 comments on commit 6d65bd2

Please sign in to comment.