def _record_cancel(self, job_id):
        try:
            self._job_directory(job_id).store_metadata(JOB_FILE_CANCELLED, True)
        except Exception:
            log.info("Failed to recod job with id %s was cancelled." % job_id)
dataset/ETHPy150Open galaxyproject/pulsar/pulsar/managers/base/directory.py/DirectoryBaseManager._record_cancel/original