Skip to content

Commit

Permalink
Updated GUI methods calling related algorithms. Refs #8734.
Browse files Browse the repository at this point in the history
  • Loading branch information
jawrainey committed Jan 21, 2014
1 parent a4204f5 commit 5b3e1be
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Expand Up @@ -21,7 +21,7 @@ namespace MantidQt
/// Obtain the number of search results to be returned by the query of the user.
int64_t getNumberOfSearchResults(const std::map<std::string, std::string> &userInputFields);
/// Search for all related dataFiles for the specified investigation.
void executeGetDataFiles(const int64_t &investigationId);
void executeGetDataFiles(const std::string &investigationId);
/// Download dataFile (via HTTP or copy if access to archive) and return the path to it.
const std::vector<std::string> downloadDataFiles(const std::vector<std::pair<int64_t, std::string>> &userSelectedFiles, const std::string &downloadPath);
/// Validate each input field against the related algorithm property.
Expand Down
2 changes: 1 addition & 1 deletion Code/Mantid/MantidQt/MantidWidgets/src/CatalogHelper.cpp
Expand Up @@ -77,7 +77,7 @@ namespace MantidQt
* Search the archives for all dataFiles related to an "investigation id" then save results to workspace ("dataFileResults").
* @param investigationId :: The investigation id to use for the search.
*/
void CatalogHelper::executeGetDataFiles(const int64_t &investigationId)
void CatalogHelper::executeGetDataFiles(const std::string &investigationId)
{
auto catalogAlgorithm = createCatalogAlgorithm("CatalogGetDataFiles");

Expand Down
2 changes: 1 addition & 1 deletion Code/Mantid/MantidQt/MantidWidgets/src/CatalogSearch.cpp
Expand Up @@ -819,7 +819,7 @@ namespace MantidQt
updateDataFileLabels(item);

// Perform the "search" and obtain the related data files for the selected investigation.
m_icatHelper->executeGetDataFiles(investigationId->text().toLongLong());
m_icatHelper->executeGetDataFiles(investigationId->text().toStdString());

// Populate the dataFile table from the "dataFileResults" workspace.
populateDataFileTable();
Expand Down

0 comments on commit 5b3e1be

Please sign in to comment.