Skip to content

Commit

Permalink
sort, deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
andre-merzky committed Feb 23, 2024
1 parent 9869257 commit 3a62f62
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion bin/radical-analytics-parse-profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,11 @@ def usage(msg=None):
fout.write('%17s ' % event)
fout.write('\n')

for uid in data:
uids = list(data.keys())
if options.sort_by:
uids = sorted(uids, key=lambda uid: data[uid][options.sort_by])

for uid in uids:
out = '%15s ' % uid
for event in EVENTS:
out += '%10.6f ' % data[uid][event]
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ def run(self):
'bin/radical-analytics-plot.py',
'bin/radical-analytics-version',
'bin/radical-analytics-wrangler.py',
'bin/radical-analytics-parse-profile.py',
],
'package_data' : {'': ['*.txt', '*.sh', '*.json', '*.gz', '*.c',
'*.md', 'VERSION', 'SDIST', sdist_name]},
Expand Down

0 comments on commit 3a62f62

Please sign in to comment.