Hi Andrew, I think the problem is probably with the third argument: This expects just a string rather than a list. The string should be a directory path and is relative to your user directory, e.g.: SetOutputData(['test.root'],['UKI-NORTHGRID-LIV-HEP-disk'],'prod/build4.4.3') should write the output file to an LFN in the format: /mu3e.org/user/<initial>/<username>/prod/biuld4.4.3/test.root I think the only way to write to paths outside of the "user" area is to call the data management tools (dirac-dms-add-file) directly from within the job script. Regards, Simon On Mon, Dec 28, 2020 at 06:15:57PM +0000, Groves, Andrew wrote:
Hi
Im trying to use the SetOutputData however im unsure how to use it.
Im trying to use it as
SetOutputData(['test.root'],['UKI-NORTHGRID-LIV-HEP-disk'],['/mu3e.org/prod/build4.4.3/test.root'])
Where the first is the sandbox file location, the second is the disk and the third is where I want it saved in the dirac file catolog.
However I seem to have it wrong?
Thanks
Andrew