added CtbRawFile

This commit is contained in:
Erik Fröjdh committed 2024-11-05 14:36:18 +01:00
1 parent b8a4498379
commit 80a39415de
24 files changed
+687 -262

No files matched your search

+2 -2
View File
@@ -45,8 +45,8 @@ void RawFile::open_subfiles() {
}
}
sls_detector_header RawFile::read_header(const std::filesystem::path &fname) {
sls_detector_header h{};
DetectorHeader RawFile::read_header(const std::filesystem::path &fname) {
DetectorHeader h{};
FILE *fp = fopen(fname.string().c_str(), "r");
if (!fp)
throw std::runtime_error(fmt::format("Could not open: {} for reading", fname.string()));