Skip to content

Commit

Permalink
fix basic happi print
Browse files Browse the repository at this point in the history
  • Loading branch information
Frederic Perez committed Nov 29, 2019
1 parent 29537ad commit e84f6b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions happi/_Diagnostics/Probe.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,8 +293,8 @@ def _info(self, info=None):
while "p"+str(i) in info:
printedInfo += "p"+str(i)+" = "+" ".join(info["p"+str(i)].astype(str).tolist())+"\n"
i += 1
if info["shape"].size>0:
printedInfo += "number = "+" ".join(info["shape"].astype(str).tolist())+"\n"
if info["shape"].size>0:
printedInfo += "number = "+" ".join(info["shape"].astype(str).tolist())+"\n"
else:
printedInfo += "File not found or not readable"
return printedInfo
Expand Down

0 comments on commit e84f6b7

Please sign in to comment.