This commit is contained in:
2020-11-27 12:46:54 +01:00
parent e8fedfa55f
commit fd3108a61b
2 changed files with 2 additions and 1 deletions

View File

@ -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) {

View File

@ -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) {