Skip to content

Commit

Permalink
patch/pr-711-name-format (#776)
Browse files Browse the repository at this point in the history
This is a follow-up to PR #766 and aims to refine the existing
implementation by adhering to a consistent job naming standard.
  • Loading branch information
calvinp0 authored Dec 2, 2024
2 parents 87d965b + 0f21756 commit 84898ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arc/job/adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -695,7 +695,7 @@ def _set_job_number(self):
# 2. Set other related attributes job_name and job_server_name.
self.job_server_name = self.job_server_name or 'a' + str(self.job_num)
if self.conformer is not None and self.job_name is None:
self.job_name = f'{self.job_type}_{self.conformer}_{self.job_server_name}'
self.job_name = f'{self.job_type}_{self.conformer}'
elif self.tsg is not None and (self.job_name is None or 'tsg_a' in self.job_name):
if self.job_name is not None:
logger.warning(f'Replacing job name {self.job_name} with tsg{self.conformer}')
Expand Down

0 comments on commit 84898ee

Please sign in to comment.