Ticket #6558: 6558_event_files.patch

File 6558_event_files.patch, 759 bytes (added by Gesner Passos, 8 years ago)

Patch that applies the deleteBank only for TOPAZ, in agreement with Vickie

  • Code/Mantid/Framework/DataHandling/src/LoadEventNexus.cpp

    diff --git a/Code/Mantid/Framework/DataHandling/src/LoadEventNexus.cpp b/Code/Mantid/Framework/DataHandling/src/LoadEventNexus.cpp
    index 08d6ccf..ef0a3b5 100644
    a b void LoadEventNexus::loadEvents(API::Progress * const prog, const bool monitors) 
    15191519 
    15201520  //----------------- Pad Empty Pixels ------------------------------- 
    15211521  // Create the required spectra mapping so that the workspace knows what to pad to 
    1522   deleteBanks(WS, bankNames); 
     1522  if (WS->getInstrument()->getName().compare("TOPAZ") == 0) 
     1523    deleteBanks(WS, bankNames); 
    15231524  createSpectraMapping(m_filename, WS, monitors, onebank); 
    15241525  WS->padSpectra(); 
    15251526