If possible when writing wrappers do not use shutil.copy() when copying a file to a dataset_(job_id).dat file. shutil.copy() tries to change the permission of the copied to file. Better to use shutil.copyfile().
Ilya Chorny Ph.D.
Bioinformatics – Intern
858-202-4582