Skip to content

Commit

Permalink
Merge pull request acts-project#14 from HadrienG2/path-separators
Browse files Browse the repository at this point in the history
Add path separators to TRACCC_TEST_DATA_DIR
  • Loading branch information
asalzburger authored Mar 18, 2021
2 parents b1e2c28 + 91c4042 commit 9868ec6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/cpu/seq_example.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ int seq_run(const std::string& detector_file, const std::string& cells_dir, unsi
{
throw std::ios_base::failure("Test data directory not found. Please set TRACCC_TEST_DATA_DIR.");
}
auto data_directory = std::string(env_d_d);
auto data_directory = std::string(env_d_d) + std::string("/");

// Read the surface transforms
std::string io_detector_file = data_directory + detector_file;
Expand Down
2 changes: 1 addition & 1 deletion tests/io/csv_io_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ TEST(io, csv_read_single_module)
{
throw std::ios_base::failure("Test data directory not found. Please set TRACCC_TEST_DATA_DIR.");
}
auto data_directory = std::string(env_d_d);
auto data_directory = std::string(env_d_d) + std::string("/");

std::string file = data_directory+std::string("single_module/cells.csv");
traccc::cell_reader creader(file, {"module", "cannel0","channel1","activation","time"} );
Expand Down

0 comments on commit 9868ec6

Please sign in to comment.