diff --git a/docs/source/conf.py b/docs/source/conf.py index 3973ea75..a8c38e11 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -72,7 +72,7 @@ author = 'Craig Warren and Antonis Giannopoulos' # The short X.Y version. # Read version number from gprMax/gprMax.py #version = re.search('^__version__\s*=\s*\'(.*)\'', open('../../gprMax/gprMax.py').read(), re.M).group(1) -version = '3.0.0b6' +version = '3.0.0b7' # The full version, including alpha/beta/rc tags. release = version + '(Bowmore)' diff --git a/gprMax/gprMax.py b/gprMax/gprMax.py index c332e730..91b13268 100644 --- a/gprMax/gprMax.py +++ b/gprMax/gprMax.py @@ -19,7 +19,7 @@ """gprMax.gprMax: provides entry point main().""" # Set the version number here -__version__ = '3.0.0b6' +__version__ = '3.0.0b7' versionname = ' (Bowmore)' import sys, os, datetime, itertools, argparse @@ -277,7 +277,7 @@ def run_model(args, modelrun, numbermodelruns, inputfile, inputdirectory): snapshot.prepare_file(modelrun, numbermodelruns, G) # Prepare output file - inputfileparts = inputfile.split('.') + inputfileparts = os.path.splitext(inputfile) if numbermodelruns == 1: outputfile = inputfileparts[0] + '.out' else: