Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
anine09 committed Jul 4, 2024
1 parent cb61889 commit c45e5fa
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion mpone/visa/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def set(self, **set_dict):
self.man.set_Output(Output_STATE)

def measure(self, measure_func_=None):
if self.inst_type == "tek_2636B" and measure_func_ is not None:
if self.inst_type == "tek_2636B" and measure_func_:
return self.man.measure(measure_func_)
return self.man.measure()

Expand Down
2 changes: 1 addition & 1 deletion quick_debug.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

while True:

command = input(f"In[{n}]@ ")
command = input(f"In [{n}]@ ")
if command == "exit":
break
elif command[:2] == "q-":
Expand Down
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
pyvisa>=1.13.0
flet>=0.4.0
plotly>=5.13.0
numpy>=1.24.2
matplotlib>=3.6.3
Expand Down

0 comments on commit c45e5fa

Please sign in to comment.