about summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/maintenance/readProbeSetSE_v7.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/maintenance/readProbeSetSE_v7.py b/scripts/maintenance/readProbeSetSE_v7.py
index 7b2fee87..2700a8ef 100755
--- a/scripts/maintenance/readProbeSetSE_v7.py
+++ b/scripts/maintenance/readProbeSetSE_v7.py
@@ -223,7 +223,7 @@ while line:
     line2 = list(map(string.strip, line2))
 
     CellId = line2[0]
-    if not ProbeNameId.has_key(CellId):
+    if CellId not in ProbeNameId:
         ferror.write(CellId + " doesn't exist\n")
     else:
         DataId = ProbeNameId[CellId]