Skip to content

Commit 070ac45

Browse files
committed
Minor warning in Apex driver, Including their manual
1 parent a3b142f commit 070ac45

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

lightlab/equipment/lab_instruments/Apex_AP2440A_OSA.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ def spectrum(self, average_count=1):
212212
self.triggerAcquire()
213213
nm, dbm = self.transferData()
214214

215-
if i is 0:
215+
if i == 0:
216216
dbmAvg = dbm / average_count
217217
else:
218218
dbmAvg = dbmAvg + dbm / average_count
Binary file not shown.

0 commit comments

Comments
 (0)