Ticket #9486 (assigned)

Opened 6 years ago

Last modified 5 years ago

Make 'load current' work for linux and mac also

Reported by: Anders Markvardsen Owned by: Raquel Alvarez Banos
Priority: minor Milestone: Backlog
Component: Muon Keywords:
Cc: Blocked By:
Blocking: Tester:

Description

It was noticed during testing of #9417 that 'load current' in fact have hardcoded paths for Windows, which means this functionality currently only works for Windows.

No Muon user have ever complained about this, hence interested they all appear to be windows users!

However, Jay showed me code in std::string CatalogInfo::transformArchivePath(std::string &path) that demonstrate how to make this work for linux and mac also using the path information in facilities.xml

<filelocation>

<prefix regex="

isis
inst\$
Instruments\$"></prefix> <windows replacement=""></windows> <linux replacement="/archive"></linux> <mac replacement="/archive"></mac>

</filelocation>

This ticket is to do something similar here for MuonAnalysis

Change History

comment:1 Changed 6 years ago by Anders Markvardsen

  • Status changed from new to assigned

comment:2 Changed 6 years ago by Anders Markvardsen

  • Owner changed from Anders Markvardsen to Raquel Alvarez Banos

comment:3 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 10329

Note: See TracTickets for help on using tickets.