FOCMEC needs suffix *.in for input file.

This commit is contained in:
2020-10-15 10:02:02 +02:00
parent 01fea084d5
commit f40d22af33
3 changed files with 4 additions and 4 deletions

View File

@@ -366,7 +366,7 @@ class Data(object):
except KeyError as e:
raise KeyError('''{0} export format
not implemented: {1}'''.format(evtformat, e))
if fnext == '.focmec':
if fnext == '_focmec.in':
try:
infile = os.path.join(os.path.expanduser('~'), '.pylot', 'pylot.in')
print('Using default input file {}'.format(infile))