VUIIS/api — pull request #15 by byvernault (2014-03-17 16:07:40+00:00)
Title: Job failed uploaded

Edit the XnatUtils:
1) function set_error() will set self.error to one
2) in self.done(), if error is equal to one, set the status to JOB_FAILED and create the flag file JOB_FAILED.txt in the assessor folder
3) using get_interface now

Edit the Process_upload:
1) check if one of the check files exists (READY_TO_UPLOAD.txt or JOB_FAILED.txt)
2) change the status to UPLOADING only for the flagfile READY_TO_UPLOAD.txt
3) Upload the JOB_FAILED without changing status to have the outlog on XNAT