Skip to content

Commit

Permalink
Merge pull request #341 from PanDAWMS/tk
Browse files Browse the repository at this point in the history
use outputfiletype field for jobList and add minRSS column to siteList
  • Loading branch information
tkorchug authored May 28, 2024
2 parents 7b75b9a + 7c44c63 commit 927e357
Show file tree
Hide file tree
Showing 6 changed files with 181 additions and 185 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 927e357

Please sign in to comment.