Skip to content

Commit

Permalink
jobList | ATLASPANDA-965 use outputfiletype field
Browse files Browse the repository at this point in the history
  • Loading branch information
tkorchug committed May 28, 2024
1 parent 530122f commit 7c44c63
Show file tree
Hide file tree
Showing 5 changed files with 171 additions and 183 deletions.
1 change: 1 addition & 0 deletions core/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@
'homepackage',
'inputfileproject',
'inputfiletype',
'outputfiletype',
'attemptnr',
'specialhandling',
'priorityrange',
Expand Down
10 changes: 0 additions & 10 deletions core/libs/job.py
Original file line number Diff line number Diff line change
Expand Up @@ -506,16 +506,6 @@ def clean_job_list(request, jobl, do_add_metadata=False, do_add_errorinfo=False)
if is_debug_mode(job):
job['jobinfo'] += 'Real-time logging is activated for this job.'

if 'destinationdblock' in job and job['destinationdblock']:
ddbfields = job['destinationdblock'].split('.')
if len(ddbfields) == 6 and ddbfields[0] != 'hc_test':
job['outputfiletype'] = ddbfields[4]
elif len(ddbfields) >= 7:
job['outputfiletype'] = ddbfields[6]
# else:
# job['outputfiletype'] = None
# print job['destinationdblock'], job['outputfiletype'], job['pandaid']

try:
job['homecloud'] = pq_clouds[job['computingsite']]
except:
Expand Down
Loading

0 comments on commit 7c44c63

Please sign in to comment.