Thanks Jon.
Very useful.
However, I have found that during the submission, the plugin_info_job file didn’t like the semi-comma seperated list as an entry in the plugin_info file and I would also like to show in the job details in the monitor the individual files to be processed…So I wrote this:
index=0
for File in Files:
writer.WriteLine( "File%d=%s" % ( index, File ) )
index += 1
which works, but lists the files in a non-increasing in number order after 10 files, ie: (0,10,11,12,13,14,15,16,17,18,19,2,20,21,3,4,5,6,7,8,9)
How do I add a suffix number to the for loop, but add a suffix which is based on the total count of FILES.
ie: If I’m submitting 20 files, it generates the number sequence; 00,01,02,03,04,05,06,07,etc, but if I submit 100 files, it generates a sequence of 001,002,003,etc?
Then the files will be listed nicely in the deadline monitor!
Finally, because I am listing the files as separate entries in the plugin_info_job file, it means your previous code in the plugin file needs to be changed to accommodate looping through all the possible entries in the plugin_info file which contain, I guess, the entry that begins with “File***”…Any chance of some help with the code here?
Am I going down the wrong path here? It looks good in the monitor, details tab section, but am I making life very difficult for myself when it comes to the plugin.py file?
Thanks,
Mike