Ticket #10867 (new)

Opened 6 years ago

Last modified 5 years ago

Reduction GUI writes files in the home directory

Reported by: Federico M Pouzols Owned by:
Priority: minor Milestone: Release 3.5
Component: Framework Keywords:
Cc: Blocked By:
Blocking: Tester:

Description

I just saw that I have a couple of .mantid_... files in my home:

  • .mantid_data_sets
  • .mantid_last_HFIR_reduction.xml

Maybe there's a good reason for that, but I'd say that these files would be happier in the directory where other mantid files are written, ~/.mantid (bin on Windows), possibly inside subdirectories specific to different interfaces.

You can quickly find where this is done with a grep for the following data members:

  • ERROR_REPORT_DIR
  • LAST_REDUCTION_NAME
  • or more in general, calls to "path\.expanduser"

It seems that the reduction GUI uses the home directory in a few places, and it also seems that this doesn't happen in the other interfaces or anywhere else in the Mantid code.

Change History

comment:1 Changed 5 years ago by Nick Draper

  • Milestone changed from Release 3.4 to Release 3.5

Moved to R3.5 at the R3.4 code freeze

comment:2 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 11709

Note: See TracTickets for help on using tickets.