Skip to content

Commit

Permalink
Fix LoadMD::confidence path checks. Refs #7263
Browse files Browse the repository at this point in the history
  • Loading branch information
martyngigg committed Jul 3, 2013
1 parent 34785e5 commit 961b029
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Code/Mantid/Framework/MDAlgorithms/src/LoadMD.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,7 @@ namespace Mantid
int confidence(0);
const auto & rootPathNameType = descriptor.firstEntryNameType();
if(rootPathNameType.second != "NXentry") return 0;
if(descriptor.pathExists("/" + rootPathNameType.first + "MDEventWorkspace") ||
descriptor.pathExists("/" + rootPathNameType.first + "MDHistoWorkspace"))
if(descriptor.pathExists("/MDEventWorkspace") || descriptor.pathExists("/MDHistoWorkspace"))
{
return 95;
}
Expand Down

0 comments on commit 961b029

Please sign in to comment.