diff --git a/docs/source/conf.py b/docs/source/conf.py index e381c25b..40955163 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -18,7 +18,7 @@ import os, re, shlex, sys # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. -sys.path.insert(0, os.path.abspath('../..')) +sys.path.insert(0, os.path.abspath('../../gprMax')) # -- General configuration ------------------------------------------------ diff --git a/gprMax/fields_output.py b/gprMax/fields_output.py index e2b50c27..3dc2d739 100644 --- a/gprMax/fields_output.py +++ b/gprMax/fields_output.py @@ -19,7 +19,7 @@ import numpy as np import h5py -from gprMax.constants import floattype +from .constants import floattype def prepare_output_file(outputfile, G):