introduced 'alias' for ip.x by first searching for 1_ip
This commit is contained in:
parent
6db53636c6
commit
4d587b1bf9
|
@ -75,9 +75,12 @@ 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)
|
||||
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 = [{},{},{}]
|
||||
|
|
Loading…
Reference in New Issue