Skip to content

Commit

Permalink
add space to promt (#303)
Browse files Browse the repository at this point in the history
  • Loading branch information
dschick committed Dec 18, 2020
1 parent 3409b90 commit 6cb4ec2
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 24 deletions.
46 changes: 23 additions & 23 deletions instruments/tests/test_thorlabs/test_thorlabs_sc10.py
Expand Up @@ -25,7 +25,7 @@ def test_sc10_name():
[
"id?",
"bloopbloop",
">"
"> "
],
sep="\r"
) as sc:
Expand All @@ -42,8 +42,8 @@ def test_sc10_enable():
[
"ens?",
"0",
">ens=1",
">"
"> ens=1",
"> "
],
sep="\r"
) as sc:
Expand Down Expand Up @@ -71,8 +71,8 @@ def test_sc10_repeat():
[
"rep?",
"20",
">rep=10",
">"
"> rep=10",
"> "
],
sep="\r"
) as sc:
Expand Down Expand Up @@ -100,8 +100,8 @@ def test_sc10_mode():
[
"mode?",
"1",
">mode=2",
">"
"> mode=2",
"> "
],
sep="\r"
) as sc:
Expand Down Expand Up @@ -129,8 +129,8 @@ def test_sc10_trigger():
[
"trig?",
"0",
">trig=1",
">"
"> trig=1",
"> "
],
sep="\r"
) as sc:
Expand All @@ -148,8 +148,8 @@ def test_sc10_out_trigger():
[
"xto?",
"0",
">xto=1",
">"
"> xto=1",
"> "
],
sep="\r"
) as sc:
Expand All @@ -167,8 +167,8 @@ def test_sc10_open_time():
[
"open?",
"20",
">open=10",
">"
"> open=10",
"> "
],
sep="\r"
) as sc:
Expand All @@ -186,8 +186,8 @@ def test_sc10_shut_time():
[
"shut?",
"20",
">shut=10",
">"
"> shut=10",
"> "
],
sep="\r"
) as sc:
Expand All @@ -205,8 +205,8 @@ def test_sc10_baud_rate():
[
"baud?",
"0",
">baud=1",
">"
"> baud=1",
"> "
],
sep="\r"
) as sc:
Expand All @@ -233,7 +233,7 @@ def test_sc10_closed():
[
"closed?",
"1",
">"
"> "
],
sep="\r"
) as sc:
Expand All @@ -249,7 +249,7 @@ def test_sc10_interlock():
[
"interlock?",
"1",
">"
"> "
],
sep="\r"
) as sc:
Expand All @@ -265,7 +265,7 @@ def test_sc10_default():
[
"default",
"1",
">"
"> "
],
sep="\r"
) as sc:
Expand All @@ -281,7 +281,7 @@ def test_sc10_save():
[
"savp",
"1",
">"
"> "
],
sep="\r"
) as sc:
Expand All @@ -297,7 +297,7 @@ def test_sc10_save_mode():
[
"save",
"1",
">"
"> "
],
sep="\r"
) as sc:
Expand All @@ -313,7 +313,7 @@ def test_sc10_restore():
[
"resp",
"1",
">"
"> "
],
sep="\r"
) as sc:
Expand Down
2 changes: 1 addition & 1 deletion instruments/thorlabs/sc10.py
Expand Up @@ -31,7 +31,7 @@ class SC10(Instrument):
def __init__(self, filelike):
super(SC10, self).__init__(filelike)
self.terminator = '\r'
self.prompt = '>'
self.prompt = '> '

def _ack_expected(self, msg=""):
return msg
Expand Down

0 comments on commit 6cb4ec2

Please sign in to comment.