mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-14 13:57:13 +02:00
WIP
This commit is contained in:
@ -1758,7 +1758,7 @@ void Detector::savePattern(const std::string &fname) {
|
|||||||
auto t = pimpl->Parallel(&Module::getPattern, {});
|
auto t = pimpl->Parallel(&Module::getPattern, {});
|
||||||
auto pat = t.tsquash("Inconsistent pattern parameters between modules");
|
auto pat = t.tsquash("Inconsistent pattern parameters between modules");
|
||||||
pat.validate();
|
pat.validate();
|
||||||
pat->save(fname);
|
// pat.save(fname);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Detector::setPattern(const std::string &fname, Positions pos) {
|
void Detector::setPattern(const std::string &fname, Positions pos) {
|
||||||
|
@ -102,6 +102,7 @@ void slsDetectorDefs::patternParameters::save(const std::string &fname) {
|
|||||||
throw RuntimeError("Could not open pattern file " + fname +
|
throw RuntimeError("Could not open pattern file " + fname +
|
||||||
" for writing");
|
" for writing");
|
||||||
}
|
}
|
||||||
|
std::cout << "is it really going here??" << std : endl;
|
||||||
std::ostringstream os;
|
std::ostringstream os;
|
||||||
// pattern word
|
// pattern word
|
||||||
for (uint32_t i = limits[0]; i <= limits[1]; ++i) {
|
for (uint32_t i = limits[0]; i <= limits[1]; ++i) {
|
||||||
|
Reference in New Issue
Block a user