Changeset 2954 for trunk/python
- Timestamp:
- 06/25/14 15:28:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/python/scantable.py
r2952 r2954 952 952 953 953 for i in rows: 954 print '@@@@@@@@' 955 print '['+str(i)+'/'+str(rows)+'] -- '+('RowFlagged' if self._getflagrow(i) else '') 956 print '@@@@@@@@' 957 #if self._getflagrow(i): continue 954 958 refstr = '' 955 959 statunit= '' … … 4789 4793 self._math._setinsitu(insitu) 4790 4794 varlist = vars() 4791 s = scantable(self._math._unaryop(self, offset, "ADD", False ))4795 s = scantable(self._math._unaryop(self, offset, "ADD", False, False)) 4792 4796 s._add_history("add", varlist) 4793 4797 if insitu: … … 5043 5047 if other == 0.0: 5044 5048 raise ZeroDivisionError("Dividing by zero is not recommended") 5045 s = scantable(self._math._unaryop(self, other, mode, False ))5049 s = scantable(self._math._unaryop(self, other, mode, False, False)) 5046 5050 elif isinstance(other, list) or isinstance(other, numpy.ndarray): 5047 5051 if isinstance(other[0], list) \ … … 5051 5055 else: 5052 5056 s = scantable( self._math._arrayop( self, other, 5053 mode, False ) )5057 mode, False, False ) ) 5054 5058 else: 5055 5059 raise TypeError("Other input is not a scantable or float value")
Note:
See TracChangeset
for help on using the changeset viewer.