Browse Source

added ack=False flag in flag_weights.py

master
Benito Marcote 4 years ago
parent
commit
e61587c950
  1. 2
      flag_weights.py

2
flag_weights.py

@ -69,7 +69,7 @@ except ImportError:
assert threshold > 0.0
with pt.table(msdata, readonly=False) as ms:
with pt.table(msdata, readonly=False, ack=False) as ms:
weights = ms.getcol("WEIGHT")
print('Got {0:9} weights'.format(weights.size))
indexes = np.where(weights < threshold)

Loading…
Cancel
Save