catching a problem with sloppy formatted GSE data
This commit is contained in:
parent
47f0fcb030
commit
e66e0701a4
@ -134,8 +134,11 @@ class Data(object):
|
|||||||
self.getWFData().filter(**kwargs)
|
self.getWFData().filter(**kwargs)
|
||||||
|
|
||||||
def setWFData(self, fnames):
|
def setWFData(self, fnames):
|
||||||
for fname in fnames:
|
for fname in fnames[0]:
|
||||||
self.wfdata += read(fname)
|
try:
|
||||||
|
self.wfdata += read(fname)
|
||||||
|
except TypeError:
|
||||||
|
self.wfdata += read(fname, format='GSE2')
|
||||||
|
|
||||||
def appenWFData(self, fnames):
|
def appenWFData(self, fnames):
|
||||||
for fname in fnames:
|
for fname in fnames:
|
||||||
|
Loading…
Reference in New Issue
Block a user