Skip to content
Snippets Groups Projects
Commit ffb3c98e authored by Peterson, Peter's avatar Peterson, Peter
Browse files

Removed the period list from the parameters since it will never be implemented. Refs #1466.

parent 55b9210b
No related branches found
No related tags found
No related merge requests found
...@@ -96,7 +96,6 @@ private: ...@@ -96,7 +96,6 @@ private:
void exec(); void exec();
std::vector<int> spectra_list; ///<the list of Spectra std::vector<int> spectra_list; ///<the list of Spectra
std::vector<int> period_list; ///< the list of periods
/// The times for each pulse. /// The times for each pulse.
std::vector<boost::posix_time::ptime> pulsetimes; std::vector<boost::posix_time::ptime> pulsetimes;
......
...@@ -42,7 +42,6 @@ static const string MAP_PARAM("MappingFilename"); ...@@ -42,7 +42,6 @@ static const string MAP_PARAM("MappingFilename");
static const string INSTRUMENT_PARAM("InstrumentFilename"); static const string INSTRUMENT_PARAM("InstrumentFilename");
static const string PID_PARAM("SpectrumList"); static const string PID_PARAM("SpectrumList");
static const string PAD_PIXELS_PARAM("PadEmptyPixels"); static const string PAD_PIXELS_PARAM("PadEmptyPixels");
static const string PERIOD_PARAM("PeriodList");
static const string OUT_PARAM("OutputWorkspace"); static const string OUT_PARAM("OutputWorkspace");
/// Default number of items to read in from any of the files. /// Default number of items to read in from any of the files.
...@@ -100,9 +99,7 @@ void LoadEventPreNeXus::init() ...@@ -100,9 +99,7 @@ void LoadEventPreNeXus::init()
// which pixels to load // which pixels to load
this->declareProperty(new ArrayProperty<int>(PID_PARAM), this->declareProperty(new ArrayProperty<int>(PID_PARAM),
"A list of individual spectra to read. Only used if set."); "A list of individual spectra to read. Only used if set.");
// which states to load
this->declareProperty(new ArrayProperty<int>(PERIOD_PARAM),
"A list of periods to read. Only used if set.");
// Pad out empty pixels? // Pad out empty pixels?
this->declareProperty(new PropertyWithValue<bool>(PAD_PIXELS_PARAM, false, Direction::Input) ); this->declareProperty(new PropertyWithValue<bool>(PAD_PIXELS_PARAM, false, Direction::Input) );
// "Set to True to pad empty pixels, loaded from the instrument geometry file. Nothing is done if no geometry file was specified."); // "Set to True to pad empty pixels, loaded from the instrument geometry file. Nothing is done if no geometry file was specified.");
...@@ -118,7 +115,6 @@ void LoadEventPreNeXus::exec() ...@@ -118,7 +115,6 @@ void LoadEventPreNeXus::exec()
{ {
// what to load // what to load
this->spectra_list = this->getProperty(PID_PARAM); this->spectra_list = this->getProperty(PID_PARAM);
this->period_list = this->getProperty(PERIOD_PARAM);
// load the mapping file // load the mapping file
string mapping_filename = this->getPropertyValue(MAP_PARAM); string mapping_filename = this->getPropertyValue(MAP_PARAM);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment