Updated default config
This commit is contained in:
parent
cae6780831
commit
181448fc3f
1 changed files with 2 additions and 3 deletions
|
@ -6,11 +6,10 @@ parser = argparse.ArgumentParser(
|
|||
parser.add_argument('var', type=str,
|
||||
help='OpenFoam variable to display')
|
||||
parser.add_argument('-c', '--config', type=str,
|
||||
help='Configuration file')
|
||||
default='config.ini',
|
||||
help='Configuration file (default config.ini)')
|
||||
|
||||
args = parser.parse_args()
|
||||
if args.config == None:
|
||||
args.config = 'config.ini'
|
||||
|
||||
if args.var == 'alpha.water':
|
||||
import alpha_water
|
||||
|
|
Reference in a new issue