Skip to content

Commit

Permalink
add db location
Browse files Browse the repository at this point in the history
  • Loading branch information
jodyphelan committed Jul 27, 2022
1 parent a85ce1c commit 9c7ef32
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tb-profiler
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,8 @@ def main_batch(args):
def main_list_db(args):
dbs = pp.list_db(args.software_name)
for db in dbs:
print("%(name)s\t%(commit)s\t%(Author)s\t%(Date)s" % db)
db['location'] = f"{sys.base_prefix}/share/{args.software_name}/{db['name']}"
sys.stdout.write("%(name)s\t%(commit)s\t%(Author)s\t%(Date)s\t%(location)s\n" % db)


parser = argparse.ArgumentParser(description='TBProfiler pipeline',formatter_class=argparse.ArgumentDefaultsHelpFormatter,add_help=False)
Expand Down

0 comments on commit 9c7ef32

Please sign in to comment.