mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-06 10:00:40 +02:00
dont add detector id for .trim
This commit is contained in:
parent
c054ad3af3
commit
085ea3aee7
@ -412,7 +412,7 @@ void Module::loadSettingsFile(const std::string &fname) {
|
|||||||
if (shm()->myDetectorType == MYTHEN3) {
|
if (shm()->myDetectorType == MYTHEN3) {
|
||||||
serialNumberWidth = 4;
|
serialNumberWidth = 4;
|
||||||
}
|
}
|
||||||
if (fname.find(".sn") == std::string::npos) {
|
if ((fname.find(".sn") == std::string::npos) && (fname.find(".trim") == std::string::npos)) {
|
||||||
ostfn << ".sn" << std::setfill('0') << std::setw(serialNumberWidth)
|
ostfn << ".sn" << std::setfill('0') << std::setw(serialNumberWidth)
|
||||||
<< std::dec << getSerialNumber();
|
<< std::dec << getSerialNumber();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user