We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24d88ef commit a8fdf33Copy full SHA for a8fdf33
apstools/utils.py
@@ -123,7 +123,7 @@ def dictionary_table(dictionary, fmt="simple"):
123
return _t.reST(fmt=fmt)
124
125
126
-def print_RE_md(dictionary=RE.md, fmt="simple"):
+def print_RE_md(dictionary=None, fmt="simple"):
127
"""
128
custom print the RunEngine metadata in a table
129
@@ -152,6 +152,8 @@ def print_RE_md(dictionary=RE.md, fmt="simple"):
152
======================== ===================================
153
154
155
+ global RE
156
+ dictionary = dictionary or RE.md
157
md = dict(dictionary) # copy of input for editing
158
v = dictionary_table(md["versions"], fmt=fmt) # sub-table
159
md["versions"] = str(v).rstrip()
0 commit comments