removed prints, bumped version

This commit is contained in:
Erik Fröjdh
2024-11-11 18:22:18 +01:00
parent ecf1b2a90b
commit 5f21759c8c
10 changed files with 54 additions and 8 deletions

View File

@ -247,7 +247,6 @@ void RawMasterFile::parse_json(const std::filesystem::path &fpath) {
try{
ROI tmp_roi;
auto obj = j.at("Receiver Roi");
fmt::print("Receiver ROI: {}\n", obj.dump());
tmp_roi.xmin = obj.at("xmin");
tmp_roi.xmax = obj.at("xmax");
tmp_roi.ymin = obj.at("ymin");

View File

@ -53,11 +53,9 @@ size_t RawSubFile::tell() {
void RawSubFile::read_into(std::byte *image_buf, DetectorHeader *header) {
if(header){
fmt::print("Reading header\n");
m_file.read(reinterpret_cast<char *>(header), sizeof(DetectorHeader));
} else {
m_file.seekg(sizeof(DetectorHeader), std::ios::cur);
fmt::print("Skipping heading header\n");
}
//TODO! expand support for different bitdepths