AdvancedPhotonSource / GSAS-II

Home for GSAS-II: crystallographic and diffraction-based structural characterization of materials
Other
29 stars 10 forks source link

Mechanism to set order that PWDR files are imported #61

Closed briantoby closed 1 month ago

briantoby commented 1 month ago

When reading a set of powder histograms, the order that they are read is determined by the OS and may not be what a user wishes. Reordering histograms after they are read is a clumsy process. The request is to have a way to specify the file sequence for GUI-based imports.

briantoby commented 1 month ago

This has been implemented in https://github.com/AdvancedPhotonSource/GSAS-II/commit/bc8f52c2cefcb37ca484fc2a31eeb69c94fec0fb, albeit in a somewhat obscure location (Import->Powder data->Auto Import):

image

Supply an instrument parameter file and then a text/CSV file with names of files using the "File of files" button:

image

The [new] help button has more details.

briantoby commented 1 month ago

Perhaps the default value for the directory widget should be set as the location of the instrument parameter file

briantoby commented 1 month ago

default now set in 4e5d3bba6cfe6742877735e6f14f7ee82a01fa5d