Thanks for your share.
I found a small error in this script.The argyllCMS .ti1 file XYZ scale is 0~100,but the script generated XYZ scale is 0~1;This may affect chartread .The modified version of the script is attached,and i add a variable "number_start" to change the generated .ti1 SAMPLE_ID.