fiaisis / run-detection

The way we detect when our system for reduction should automatically perform a reduction and with what arguments we should do that.
GNU General Public License v3.0
1 stars 1 forks source link

RunDetection needs a new rule for MARI, that ensures the mask_file input is autogenerated #104

Closed Pasarus closed 1 year ago

Pasarus commented 1 year ago

Assume that the file can be found in the RB directory, an example of the file path is as follows: /ceph/MARI/RBNumber/RB where experiment_number is the experiment_number in the .nxs files.

Caveat, this needs to take into account where users put in the incorrect experiment number, and guess a mask file a less accurate way. For example: if it is April/May/June assume it would be that year's cycle 1, then every 3 months assume the next cycle number, including Jan/Feb/March of the next year as this years cycle, so for example in Jan/Feb/March is would be Last year cycle 5.