Merge branch 'develop' of ariadne.geophysik.rub.de:/data/git/pylot into develop
This commit is contained in:
commit
c04235dffc
@ -68,11 +68,15 @@ def autoPyLoT(inputfile):
|
|||||||
# process each event in database
|
# process each event in database
|
||||||
datapath = datastructure.expandDataPath()
|
datapath = datastructure.expandDataPath()
|
||||||
if not parameter.hasParam('eventID'):
|
if not parameter.hasParam('eventID'):
|
||||||
for event in [events for events in glob.glob(os.path.join(datapath, '*')) if os.path.isdir(events)]:
|
for event in [events for events in
|
||||||
|
glob.glob(os.path.join(datapath, '*'))
|
||||||
|
if os.path.isdir(events)]:
|
||||||
data.setWFData(glob.glob(os.path.join(datapath, event, '*')))
|
data.setWFData(glob.glob(os.path.join(datapath, event, '*')))
|
||||||
print data
|
print data
|
||||||
else:
|
else:
|
||||||
data.setWFData(glob.glob(os.path.join(datapath, '*')))
|
data.setWFData(glob.glob(os.path.join(datapath,
|
||||||
|
parameter.getParam('eventID'),
|
||||||
|
'*')))
|
||||||
print data
|
print data
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user