introduced 'alias' for ip.x by first searching for 1_ip
This commit is contained in:
parent
6db53636c6
commit
4d587b1bf9
|
@ -75,10 +75,13 @@ for file in files:
|
|||
|
||||
# --------------- figure out size and grid ---------------------------------------------------------
|
||||
try:
|
||||
locationCol = table.labels.index('%s.x'%options.coords) # columns containing location data
|
||||
locationCol = table.labels.index('1_%s'%options.coords) # columns containing location data
|
||||
except ValueError:
|
||||
file['croak'].write('no coordinate data (%s.x) found...\n'%options.coords)
|
||||
continue
|
||||
try:
|
||||
locationCol = table.labels.index('1_%s'%options.coords) # columns containing location data
|
||||
except ValueError:
|
||||
file['croak'].write('no coordinate data (1_%s/%s.x) found...\n'%(options.coords,options.coords)
|
||||
continue
|
||||
|
||||
coords = [{},{},{}]
|
||||
while table.data_read(): # read next data line of ASCII table
|
||||
|
|
Loading…
Reference in New Issue