forgot to stage Survey.py

This commit is contained in:
Lindsey
2015-05-06 16:34:24 -07:00
parent 1f58f5ef37
commit 6f487e17d0
+1 -2
View File
@@ -119,13 +119,12 @@ class BaseSrc(object):
rxList = None #: SimPEG Receiver List
rxPair = BaseRx
def __init__(self, loc, rxList, **kwargs):
def __init__(self, rxList, **kwargs):
assert type(rxList) is list, 'rxList must be a list'
for rx in rxList:
assert isinstance(rx, self.rxPair), 'rxList must be a %s'%self.rxPair.__name__
assert len(set(rxList)) == len(rxList), 'The rxList must be unique'
self.loc = loc
self.rxList = rxList
Utils.setKwargs(self, **kwargs)