Skip to content

Commit

Permalink
Update cluster_task.rb
Browse files Browse the repository at this point in the history
brackets to none provided aces#1356 logging walltime and other qsub details
  • Loading branch information
MontrealSergiy authored Mar 11, 2024
1 parent 3237eec commit 2340847
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BrainPortal/app/models/cluster_task.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1957,7 +1957,7 @@ def submit_cluster_job
self.cluster_jobid = jobid
self.status_transition(self.status, "Queued")
self.addlog("Queued as job ID '#{jobid}'" +
" with walltime #{job.walltime}s and extra args are '#{job.tc_extra_qsub_args.presence || 'none provided'}'." )
" with walltime #{job.walltime}s and extra args are '#{job.tc_extra_qsub_args.presence || '(none provided)'}'." )
rescue NoVmAvailableError => ex
# When the task is executed in a VM, it may not be submitted
# right away when no VMs are available. In such a case, method
Expand Down

0 comments on commit 2340847

Please sign in to comment.