Skip to content

Commit

Permalink
Hide some warning message. Refs #3622.
Browse files Browse the repository at this point in the history
  • Loading branch information
wdzhou committed Jan 20, 2012
1 parent 7d9b3fd commit fa19659
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Code/Mantid/Framework/DataHandling/src/LoadMaskingFile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,10 @@ namespace DataHandling
UNUSED_ARG(detectors)
UNUSED_ARG(detectorpairslow)
UNUSED_ARG(detectorpairsup)

if (singles.size() == 0 && pairslow.size() == 0)
return;

g_log.error() << "SpectrumID in XML File (ids) Is Not Supported! Spectrum IDs" << std::endl;

for (size_t i = 0; i < singles.size(); i ++){
Expand Down

0 comments on commit fa19659

Please sign in to comment.