Skip to content

resolvePathsAndNames.py, etc : Add function to decode/encode generator

Akiya Miyamoto requested to merge amiyamot/ILCDIRAC:opt2017_genfile into Rel-v26r0

Hi, Andre,

This MR is to use stdhepsplit in ILDProductionChainOpt2017.py.
To this end, a generator file name convention is newly defined in Core/Utilities/FilenameEncoder.py. Additionally, Core/Utilities/resolvePathsAndNames.py is now assumes input is a generator file, if the first character of file name is "E". It returns the input file name, if the first character is neither "s", "r" nor "E". Previously, it returned an empty string, if neither "r" nor "s".

regards Akiya

Merge request reports