Skip to content

Commit e84f6b7

Browse files
author
Frederic Perez
committed
fix basic happi print
1 parent 29537ad commit e84f6b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

happi/_Diagnostics/Probe.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,8 +293,8 @@ def _info(self, info=None):
293293
while "p"+str(i) in info:
294294
printedInfo += "p"+str(i)+" = "+" ".join(info["p"+str(i)].astype(str).tolist())+"\n"
295295
i += 1
296-
if info["shape"].size>0:
297-
printedInfo += "number = "+" ".join(info["shape"].astype(str).tolist())+"\n"
296+
if info["shape"].size>0:
297+
printedInfo += "number = "+" ".join(info["shape"].astype(str).tolist())+"\n"
298298
else:
299299
printedInfo += "File not found or not readable"
300300
return printedInfo

0 commit comments

Comments
 (0)