mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2025-06-16 17:27:14 +02:00
WIP
This commit is contained in:
22
src/CtbRawFile.cpp
Normal file
22
src/CtbRawFile.cpp
Normal file
@ -0,0 +1,22 @@
|
||||
#include "aare/CtbRawFile.hpp"
|
||||
|
||||
|
||||
|
||||
namespace aare{
|
||||
|
||||
CtbRawFile::CtbRawFile(const std::filesystem::path &fname){
|
||||
|
||||
if(!std::filesystem::exists(fname)){
|
||||
throw std::runtime_error(LOCATION + "File does not exist");
|
||||
}
|
||||
|
||||
m_fnc = parse_fname(fname);
|
||||
if(!m_fnc.valid){
|
||||
throw std::runtime_error(LOCATION + "Could not parse master file name");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
} // namespace aare
|
Reference in New Issue
Block a user