Skip to content

Commit

Permalink
judge none or empty (#318)
Browse files Browse the repository at this point in the history
  • Loading branch information
zjgemi committed Mar 31, 2023
2 parents 09fe55e + 1d9346e commit 24fb515
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dpdispatcher/dp_cloud_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@ def do_submit(self, job):

input_data["job_resources"] = job_resources
input_data["command"] = f"bash {job.script_file_name}"
input_data["backward_files"] = self._gen_backward_files_list(job)
if not input_data.get("backward_files"):
input_data["backward_files"] = self._gen_backward_files_list(job)
input_data["logFiles"] = os.path.join(
job.job_task_list[0].task_work_path, job.job_task_list[0].outlog
)
Expand Down

0 comments on commit 24fb515

Please sign in to comment.