mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-20 02:40:03 +02:00
removed ascii from file formats
This commit is contained in:
parent
89a06f099c
commit
cafca86bbf
@ -676,8 +676,6 @@ class Detector {
|
|||||||
void Detector::setFileFormat(const std::string &format) {
|
void Detector::setFileFormat(const std::string &format) {
|
||||||
if (format == "binary") {
|
if (format == "binary") {
|
||||||
det.setFileFormat(slsDetectorDefs::fileFormat::BINARY);
|
det.setFileFormat(slsDetectorDefs::fileFormat::BINARY);
|
||||||
} else if (format == "ascii") {
|
|
||||||
det.setFileFormat(slsDetectorDefs::fileFormat::ASCII);
|
|
||||||
} else if (format == "hdf5") {
|
} else if (format == "hdf5") {
|
||||||
det.setFileFormat(slsDetectorDefs::fileFormat::HDF5);
|
det.setFileFormat(slsDetectorDefs::fileFormat::HDF5);
|
||||||
}
|
}
|
||||||
@ -689,8 +687,6 @@ std::string Detector::getFileFormat() {
|
|||||||
switch (format) {
|
switch (format) {
|
||||||
case slsDetectorDefs::fileFormat::BINARY:
|
case slsDetectorDefs::fileFormat::BINARY:
|
||||||
return "binary";
|
return "binary";
|
||||||
case slsDetectorDefs::fileFormat::ASCII:
|
|
||||||
return "ascii";
|
|
||||||
case slsDetectorDefs::fileFormat::HDF5:
|
case slsDetectorDefs::fileFormat::HDF5:
|
||||||
return "hdf5";
|
return "hdf5";
|
||||||
default:
|
default:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user