We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9714289 commit b09d1beCopy full SHA for b09d1be
autoutil.py
@@ -0,0 +1,26 @@
1
+#!/usr/bin/env python3
2
+''' Simple utilities for interacting with autogen runs.'''
3
+
4
+import pickle as pkl
5
+import sys
6
+import argparse
7
8
+def get_info(pickle):
9
+ print("Info about %s..."%pickle)
10
+ man=pkl.load(open(pickle,'rb'))
11
12
+ print(" Queue id: {}".format(man.runner.queueid))
13
+ try:
14
+ print(" Properties queue id: {}".format(man.prunner.queueid))
15
+ except AttributeError:
16
+ pass
17
18
+if __name__=='__main__':
19
20
+ parser=argparse.ArgumentParser("Autogen untilities.")
21
+ parser.add_argument('manager',type=str,help='Pickle file to look at.')
22
+ # Can add more options as needed.
23
24
+ args=parser.parse_args()
25
+ get_info(args.manager)
26
0 commit comments