aborting when NO data columns found
This commit is contained in:
parent
86ddbe19d6
commit
fc4fb43d48
2
PRIVATE
2
PRIVATE
|
@ -1 +1 @@
|
|||
Subproject commit a3ec948661bf33144a3bdb9f7c63b66eaa0e76ad
|
||||
Subproject commit 5e97c9ac2fa4f7748a1bc040c15889623a3afd1f
|
|
@ -55,6 +55,9 @@ if options.asciitable is not None and os.path.isfile(options.asciitable):
|
|||
|
||||
if len(missing_labels) > 0:
|
||||
damask.util.croak('column{} {} not found...'.format('s' if len(missing_labels) > 1 else '',', '.join(missing_labels)))
|
||||
if len(missing_labels) >= len(options.label):
|
||||
damask.util.croak('aborting...')
|
||||
sys.exit()
|
||||
|
||||
index = linkedTable.data[:,:linkDim]
|
||||
data = linkedTable.data[:,linkDim:]
|
||||
|
|
Loading…
Reference in New Issue