diff --git a/README.rst b/README.rst
index 5ab1e01..c7b11fb 100644
--- a/README.rst
+++ b/README.rst
@@ -44,9 +44,6 @@ References
 ----------
 
 The Annals of Nuclear Energy article should be cited for all work 
-using ``SERPENT``. If you wish to cite this project, please cite as
-
-.. code:: bibtex
 using ``SERPENT``. If you wish to cite this project, please cite as::
 
     url{@serpentTools
diff --git a/docs/about.rst b/docs/about.rst
deleted file mode 100644
index 7887051..0000000
--- a/docs/about.rst
+++ /dev/null
@@ -1,31 +0,0 @@
-
-.. include:: ../README.rst
-
-Installation
-------------
-
-The ``serpentTools`` package can be downloaded either as a git repository or
-as a zipped file. Both can be obtained through the ``Clone or download`` option
-at the 
-`serpent-tools GitHub <https://github.com/CORE-GATECH-GROUP/serpent-tools>`_.
-
-Once the repository has been downloaded or extracted from zip, the package 
-can be installed with::
-
-    cd serpentTools
-    python setup.py install
-    python setup.py test
-
-Installing with `setuptools <https://pypi.python.org/pypi/setuptools/38.2.4>`_
-is preferred over the standard ``distutils`` module. ``setuptools`` can be
-installed with ``pip`` as::
-
-    pip install -U setuptools
-
-Installing in this manner ensures that the supporting packages,
-like ``numpy`` are installed and up to date.
-
-License
--------
-
-.. include:: ../LICENSE.rst
diff --git a/docs/api/index.rst b/docs/api/index.rst
index 2b3c86a..a1e4e1f 100644
--- a/docs/api/index.rst
+++ b/docs/api/index.rst
@@ -1,3 +1,4 @@
+.. _api:
 
 API
 ===
diff --git a/docs/conf.py b/docs/conf.py
index 0fcd4ae..12a4177 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -161,4 +161,4 @@ texinfo_documents = [
 ]
 
 # -- Options for auto documentation --------------------------------------
-autodoc_default_flags = ['members', 'inherited-members']
+autodoc_default_flags = ['members']
diff --git a/docs/contributing/index.rst b/docs/contributing/index.rst
index a38d11c..dd142de 100644
--- a/docs/contributing/index.rst
+++ b/docs/contributing/index.rst
@@ -1,3 +1,4 @@
+.. _contributing:
 
 Contributing
 ============
diff --git a/docs/examples/Settings.rst b/docs/examples/Settings.rst
index 5e7ba9d..76ab757 100644
--- a/docs/examples/Settings.rst
+++ b/docs/examples/Settings.rst
@@ -25,9 +25,9 @@ Below are the default values for each setting available
 .. code:: ipython3
 
     >>> for setting in sorted(defaultSettings.keys()):
-    >>>     print(setting)
-    >>>     for key in defaultSettings[setting]:
-    >>>         print('\t', key, '-', defaultSettings[setting][key])
+    ...     print(setting)
+    ...     for key in defaultSettings[setting]:
+    ...         print('\t', key, '-', defaultSettings[setting][key])
     depletion.materialVariables
          default - []
          description - Names of variables to store. Empty list -> all variables.
@@ -83,14 +83,14 @@ correct type, and is an allowable option, if given.
 .. code:: ipython3
 
     >>> try:
-    >>>     rc['depletion.metadataKeys'] = False
-    >>> except TypeError as te:
-    >>>     print(te)
+    ...     rc['depletion.metadataKeys'] = False
+    ... except TypeError as te:
+    ...     print(te)
     Setting depletion.metadataKeys should be of type <class 'list'>, not <class 'bool'>
     >>> try:
-    >>>     rc['serpentVersion'] = '1.2.3'
-    >>> except KeyError as ke:
-    >>>     print(ke)
+    ...     rc['serpentVersion'] = '1.2.3'
+    ... except KeyError as ke:
+    ...     print(ke)
     "Setting serpentVersion is
     1.2.3
     and not one of the allowed options:
@@ -102,7 +102,7 @@ changes.
 .. code:: ipython3
 
     >>> with rc:
-    >>>     rc['depletion.metadataKeys'] = ['ZAI', 'BU']
+    ...     rc['depletion.metadataKeys'] = ['ZAI', 'BU']
     >>>
     >>> rc['depletion.metadataKeys']
     >>> rc['verbosity'] = 'info'
@@ -168,3 +168,28 @@ to obtain all the data present in their respective files.
 
 See the :ref:`branching-ex` example for more information on using these
 settings to control scraped data.
+
+.. _conf-files:
+
+Configuration Files
+-------------------
+
+As of version 0.1.2, the ``rc`` object allows for settings to be updated
+from a yaml configuration file using the
+:py:meth:`~serpentTools.settings.UserSettingsLoader.loadYaml` method.
+The file is structured with the names of settings as keys and the
+desired setting value as the values.
+The loader also attempts to expand nested settings, like reader-specific
+settings, that may be lumped in a second level.
+
+.. code:: yaml
+
+    verbosity: warning
+    xs.getInfXS: False
+    branching:
+        areUncsPresent: False
+        floatVariables: [Fhi, Blo]
+    depletion:
+        materials: [fuel*]
+        materialVariables:
+            [ADENS, MDENS, VOLUME]
diff --git a/docs/welcome/about.rst b/docs/welcome/about.rst
index 4d2c74b..e09c9c5 100644
--- a/docs/welcome/about.rst
+++ b/docs/welcome/about.rst
@@ -1,2 +1,71 @@
+=============
+serpent-tools
+=============
 
-.. include:: ../../README.rst
+.. image:: https://travis-ci.org/CORE-GATECH-GROUP/serpent-tools.svg?branch=master
+    :target: https://travis-ci.org/CORE-GATECH-GROUP/serpent-tools
+
+A suite of parsers designed to make interacting with
+``SERPENT`` [1]_ output files simple and flawless.
+
+The ``SERPENT`` Monte Carlo code
+is developed by VTT Technical Research Centre of Finland, Ltd.
+More information, including distribution and licensing of ``SERPENT`` can be
+found at `<montecarlo.vtt.fi>`_
+
+Installation
+------------
+
+The ``serpentTools`` package can be downloaded either as a git repository or
+as a zipped file. Both can be obtained through the ``Clone or download`` option
+at the 
+`serpent-tools GitHub <https://github.com/CORE-GATECH-GROUP/serpent-tools>`_.
+
+Once the repository has been downloaded or extracted from zip, the package 
+can be installed with::
+
+    cd serpentTools
+    python setup.py install
+    python setup.py test
+
+Installing with `setuptools <https://pypi.python.org/pypi/setuptools/38.2.4>`_
+is preferred over the standard ``distutils`` module. ``setuptools`` can be
+installed with ``pip`` as::
+
+    pip install -U setuptools
+
+Installing in this manner ensures that the supporting packages,
+like ``numpy`` are installed and up to date.
+
+Issues
+------
+
+If you have issues installing the project, find a bug, or want to add a feature,
+the `GitHub issue page <https://github.com/CORE-GATECH-GROUP/serpent-tools/issues>`_
+is the best place to do that.
+
+Contributors
+------------
+
+Here are all the wonderful people that helped make this project happen
+
+* `Andrew Johnson <https://github.com/drewejohnson>`_
+* `Dr. Dan Kotlyar <https://github.com/CORE-GATECH>`_
+* `Stefano Terlizzi <https://github.com/sallustius>`_
+
+References
+----------
+
+The Annals of Nuclear Energy article should be cited for all work
+using ``SERPENT``. If you wish to cite this project, please cite as::
+
+    url{@serpentTools
+        author = {Andrew Johnson and Dan Kotlyar},
+        title = {serpentTools: A suite of parsers designed to make interacting with SERPENT outputs simple and flawless},
+        url = {https://github.com/CORE-GATECH-GROUP/serpent-tools},
+        year = {2017}
+    }
+
+.. [1] Leppanen, J. et al. (2015) "The Serpent Monte Carlo code: Status,
+    development and applications in 2013." Ann. Nucl. Energy, `82 (2015) 142-150
+    <http://www.sciencedirect.com/science/article/pii/S0306454914004095>`_
diff --git a/examples/Settings.ipynb b/examples/Settings.ipynb
index d321137..05064f6 100644
--- a/examples/Settings.ipynb
+++ b/examples/Settings.ipynb
@@ -25,9 +25,17 @@
   },
   {
    "cell_type": "code",
-   "execution_count": 10,
+   "execution_count": 1,
    "metadata": {},
-   "outputs": [],
+   "outputs": [
+    {
+     "name": "stdout",
+     "output_type": "stream",
+     "text": [
+      "INFO    : serpentTools: Using version 1.0b0+34.gce072dd.dirty\n"
+     ]
+    }
+   ],
    "source": [
     "import serpentTools\n",
     "from serpentTools.settings import rc, defaultSettings"
@@ -42,7 +50,7 @@
   },
   {
    "cell_type": "code",
-   "execution_count": 11,
+   "execution_count": 2,
    "metadata": {},
    "outputs": [
     {
@@ -51,60 +59,60 @@
      "text": [
       "branching.areUncsPresent\n",
       "\t default - False\n",
-      "\t type - <class 'bool'>\n",
       "\t description - True if the values in the .coe file contain uncertainties\n",
+      "\t type - <class 'bool'>\n",
       "branching.floatVariables\n",
       "\t default - []\n",
-      "\t description - Names of state data variables to convert to floats for each branch\n",
       "\t type - <class 'list'>\n",
+      "\t description - Names of state data variables to convert to floats for each branch\n",
       "branching.intVariables\n",
       "\t default - []\n",
-      "\t description - Name of state data variables to convert to integers for each branch\n",
       "\t type - <class 'list'>\n",
+      "\t description - Name of state data variables to convert to integers for each branch\n",
       "depletion.materialVariables\n",
       "\t default - []\n",
-      "\t description - Names of variables to store. Empty list -> all variables.\n",
       "\t type - <class 'list'>\n",
+      "\t description - Names of variables to store. Empty list -> all variables.\n",
       "depletion.materials\n",
       "\t default - []\n",
-      "\t description - Names of materials to store. Empty list -> all materials.\n",
       "\t type - <class 'list'>\n",
+      "\t description - Names of materials to store. Empty list -> all materials.\n",
       "depletion.metadataKeys\n",
-      "\t default - ['ZAI', 'NAMES', 'DAYS', 'BU']\n",
       "\t options - default\n",
-      "\t description - Non-material data to store, i.e. zai, isotope names, burnup schedule, etc.\n",
+      "\t default - ['ZAI', 'NAMES', 'DAYS', 'BU']\n",
       "\t type - <class 'list'>\n",
+      "\t description - Non-material data to store, i.e. zai, isotope names, burnup schedule, etc.\n",
       "depletion.processTotal\n",
       "\t default - True\n",
-      "\t description - Option to store the depletion data from the TOT block\n",
       "\t type - <class 'bool'>\n",
+      "\t description - Option to store the depletion data from the TOT block\n",
       "serpentVersion\n",
-      "\t default - 2.1.29\n",
       "\t options - ['2.1.29']\n",
-      "\t description - Version of SERPENT\n",
+      "\t default - 2.1.29\n",
       "\t type - <class 'str'>\n",
+      "\t description - Version of SERPENT\n",
       "verbosity\n",
-      "\t default - info\n",
       "\t options - ['critical', 'error', 'warning', 'info', 'debug']\n",
-      "\t type - <class 'str'>\n",
+      "\t default - info\n",
+      "\t updater - <function updateLevel at 0x7f32b2e87048>\n",
       "\t description - Set the level of errors to be shown.\n",
-      "\t updater - <function updateLevel at 0x00000251B54FD0D0>\n",
+      "\t type - <class 'str'>\n",
       "xs.getB1XS\n",
       "\t default - True\n",
-      "\t description - If true, store the critical leakage cross sections.\n",
       "\t type - <class 'bool'>\n",
+      "\t description - If true, store the critical leakage cross sections.\n",
       "xs.getInfXS\n",
       "\t default - True\n",
-      "\t description - If true, store the infinite medium cross sections.\n",
       "\t type - <class 'bool'>\n",
+      "\t description - If true, store the infinite medium cross sections.\n",
       "xs.variableExtras\n",
       "\t default - []\n",
-      "\t description - Full SERPENT name of variables to be read\n",
       "\t type - <class 'list'>\n",
+      "\t description - Full SERPENT name of variables to be read\n",
       "xs.variableGroups\n",
       "\t default - []\n",
-      "\t description - Name of variable groups from variables.yaml to be expanded into SERPENT variable to be stored\n",
-      "\t type - <class 'list'>\n"
+      "\t type - <class 'list'>\n",
+      "\t description - Name of variable groups from variables.yaml to be expanded into SERPENT variable to be stored\n"
      ]
     }
    ],
@@ -124,7 +132,7 @@
   },
   {
    "cell_type": "code",
-   "execution_count": 12,
+   "execution_count": 3,
    "metadata": {},
    "outputs": [
     {
@@ -148,7 +156,7 @@
   },
   {
    "cell_type": "code",
-   "execution_count": 13,
+   "execution_count": 4,
    "metadata": {},
    "outputs": [
     {
@@ -168,7 +176,7 @@
   },
   {
    "cell_type": "code",
-   "execution_count": 14,
+   "execution_count": 5,
    "metadata": {},
    "outputs": [
     {
@@ -195,7 +203,7 @@
   },
   {
    "cell_type": "code",
-   "execution_count": 15,
+   "execution_count": 6,
    "metadata": {},
    "outputs": [
     {
@@ -236,7 +244,7 @@
   },
   {
    "cell_type": "code",
-   "execution_count": 16,
+   "execution_count": 7,
    "metadata": {},
    "outputs": [
     {
@@ -245,7 +253,7 @@
        "'2.1.29'"
       ]
      },
-     "execution_count": 16,
+     "execution_count": 7,
      "metadata": {},
      "output_type": "execute_result"
     }
@@ -256,7 +264,7 @@
   },
   {
    "cell_type": "code",
-   "execution_count": 17,
+   "execution_count": 8,
    "metadata": {},
    "outputs": [
     {
@@ -283,10 +291,8 @@
   },
   {
    "cell_type": "code",
-   "execution_count": 18,
-   "metadata": {
-    "collapsed": true
-   },
+   "execution_count": 9,
+   "metadata": {},
    "outputs": [],
    "source": [
     "assert 'INF_SCATT3' not in varSet"
@@ -305,6 +311,50 @@
    "source": [
     "See the `BrancingReader` example for more information on using these settings to control scraped data."
    ]
+  },
+  {
+   "cell_type": "markdown",
+   "metadata": {},
+   "source": [
+    "## Configuration files\n",
+    "As of version 0.1.2, the `rc` object allows for settings to be updated from a yaml configuration file using the `loadYaml` method. The file contains setting names as keys with the desired variables as values, as\n",
+    "```\n",
+    "verbosity: warning\n",
+    "xs.getInfXS: False\n",
+    "```\n",
+    "However, the loader can also expand a nested dictionary structure, as\n",
+    "```\n",
+    "branching:\n",
+    "  areUncsPresent: False\n",
+    "  floatVariables: [Fhi, Blo]\n",
+    "depletion:\n",
+    "  materials: [fuel*]\n",
+    "  materialVariables:\n",
+    "    [ADENS, MDENS, VOLUME]\n",
+    "```"
+   ]
+  },
+  {
+   "cell_type": "code",
+   "execution_count": 15,
+   "metadata": {},
+   "outputs": [
+    {
+     "data": {
+      "text/plain": [
+       "False"
+      ]
+     },
+     "execution_count": 15,
+     "metadata": {},
+     "output_type": "execute_result"
+    }
+   ],
+   "source": [
+    "myConf = 'myConfig.yaml'\n",
+    "rc.loadYaml(myConf)\n",
+    "rc['branching.areUncsPresent']"
+   ]
   }
  ],
  "metadata": {
@@ -323,7 +373,7 @@
    "name": "python",
    "nbconvert_exporter": "python",
    "pygments_lexer": "ipython3",
-   "version": "3.6.1"
+   "version": "3.5.2"
   }
  },
  "nbformat": 4,
diff --git a/examples/myConfig.yaml b/examples/myConfig.yaml
new file mode 100644
index 0000000..8953d66
--- /dev/null
+++ b/examples/myConfig.yaml
@@ -0,0 +1,12 @@
+xs.getInfXS: False
+xs.getB1XS: True
+xs.variableGroups: [gc-meta, kinetics, xs]
+branching:
+  areUncsPresent: False
+  floatVariables: [Fhi, Blo]
+depletion:
+  materials: [fuel*]
+  metadataKeys: [NAMES, BU]
+  materialVariables:
+    [ADENS, MDENS, VOLUME]
+serpentVersion: 2.1.29
diff --git a/serpentTools/settings.py b/serpentTools/settings.py
index 0f2ae8f..a8d9ae5 100644
--- a/serpentTools/settings.py
+++ b/serpentTools/settings.py
@@ -1,5 +1,6 @@
 """Settings to yield control to the user."""
 import os
+import six
 
 import yaml
 
@@ -151,7 +152,7 @@ class DefaultSettingsLoader(dict):
         for name, value in defaultSettings.items():
             if 'options' in value:
                 options = (value['default'] if value['options'] == 'default'
-                           else value['options'])
+                else value['options'])
             else:
                 options = None
             settingsOptions = {'name': name,
@@ -272,7 +273,7 @@ class UserSettingsLoader(dict):
         """
         settings = {}
         settingsPreffix = ([settingsPreffix] if isinstance(settingsPreffix, str)
-                           else settingsPreffix)
+        else settingsPreffix)
         for setting, value in self.items():
             settingPath = setting.split('.')
             if settingPath[0] in settingsPreffix:
@@ -314,5 +315,60 @@ class UserSettingsLoader(dict):
                 variables.update(baseGroups[key])
         return variables
 
+    def loadYaml(self, filePath, strict=True):
+        """
+        Update the settings based on the contents of the yaml file
+
+        .. versionadded:: 0.2.0
+
+        Parameters
+        ----------
+        filePath: str
+            Path to config file
+        strict: bool
+            Fail at the first incorrect setting. If false, failed settings
+            will not be loaded and alerts will be raised
+
+        Raises
+        ------
+        KeyError or TypeError
+            If settings found in the config file are not
+            valid
+        FileNotFound or OSError
+            If the file does not exist
+
+        """
+        messages.debug('Attempting to read from {}'.format(filePath))
+        with open(filePath) as yFile:
+            l = yaml.safe_load(yFile)
+        messages.info('Loading settings onto object with strict:{}'
+                      .format(strict))
+
+        for key, value in six.iteritems(l):
+            if isinstance(value, dict):
+                self.__recursiveLoad(value, strict, key)
+            else:
+                self.__safeLoad(key, value, strict)
+        messages.info('Done')
+
+    def __recursiveLoad(self, curLevel, strict, preset):
+        for nextLevelKey, nextLevel in six.iteritems(curLevel):
+            newSettingName = preset + '.' + nextLevelKey
+            if isinstance(nextLevel, dict):
+                self.__recursiveLoad(nextLevel, strict, newSettingName)
+            else:
+                self.__safeLoad(newSettingName, nextLevel, strict)
+
+    def __safeLoad(self, key, value, strict):
+        messages.debug('Attempting to set setting {} to {}'
+                       .format(key, value))
+        try:
+            self.setValue(key, value)
+        except (KeyError, TypeError) as error:
+            if strict:
+                raise error
+            else:
+                messages.error(str(error))
+
 
 rc = UserSettingsLoader()

Update settings from config file
Currently, the settings loader has to take settings one at a time. For the sake of consistency and ease, it would be nice to have the `rc` settings loader take a file path argument and load all settings from there.

I think a `yaml` file would be pretty straight forward, since we already use the `pyyaml` module. The loader could be setup to read in a strict, full name manner,
```
depletion.metadataKeys: ['ZAI', 'NAMES']
depletion.materials: ['fuel*', 'bp1']
verbosity: 'error'
...
```
or with nested levels
```
depletion:
    metadataKeys: ['ZAI', 'NAMES']
    materials: ['fuel*', 'bp1']
verbosity: 'error'
...
```
The two implementations should have the same result, just that in the second case there is some reconstructing that has to be done behind the scenes.
diff --git a/serpentTools/tests/test_settings.py b/serpentTools/tests/test_settings.py
index de3b43d..b6f8e50 100644
--- a/serpentTools/tests/test_settings.py
+++ b/serpentTools/tests/test_settings.py
@@ -1,133 +1,204 @@
-"""Tests for the settings loaders."""
-import warnings
-import unittest
-
-from serpentTools import settings
-from serpentTools.messages import deprecated, willChange
-
-class DefaultSettingsTester(unittest.TestCase):
-    """Class to test the functionality of the master loader."""
-
-    @classmethod
-    def setUpClass(cls):
-        cls.defaultLoader = settings.DefaultSettingsLoader()
-        cls.testSetting = 'depletion.metadataKeys'
-        cls.testSettingExpected = ['ZAI', 'NAMES', 'DAYS', 'BU']
-        cls.testSettingMethod = cls.assertListEqual
-
-    def test_getDefault(self):
-        """Verify the default settings loader properly retrives defaults."""
-        self.testSettingMethod(self._getLoaderSetting(self.testSetting),
-                               self.testSettingExpected)
-
-    def test_cannotChangeDefaults(self):
-        """Verify the default settings loader is locked after creation."""
-        with self.assertRaises(KeyError):
-            self.defaultLoader['this'] = 'should fail'
-
-    def _getLoaderSetting(self, setting):
-        return self.defaultLoader[setting].default
-
-
-class RCTester(unittest.TestCase):
-    """Class to test the functionality of the scriptable settings manager."""
-
-    @classmethod
-    def setUpClass(cls):
-        cls.rc = settings.UserSettingsLoader()
-        cls.rc['depletion.metadataKeys'] = ['ZAI']
-
-    def test_failAtNonexistentSetting(self):
-        """Verify that the loader will not load a nonexistent setting."""
-        with self.assertRaises(KeyError):
-            self.rc['bad setting'] = False
-
-    def test_failAtBadSetting_options(self):
-        """Verify that the loader will raise an error for bad options."""
-        with self.assertRaises(KeyError):
-            self.rc['depletion.metadata'] = ['this should fail']
-
-    def test_failAtBadSettings_type(self):
-        """Verify that the loader will raise an error for bad type."""
-        with self.assertRaises(TypeError):
-            self.rc['depletion.processTotal'] = 'this should fail'
-
-    def test_returnReaderSettings(self):
-        """Verify the correct reader settings can be retrieved."""
-        readerName = 'depletion'
-        expected = {
-            'metadataKeys': ['ZAI'],
-            'materialVariables': [],
-            'materials': [],
-            'processTotal': True,
-        }
-        actual = self.rc.getReaderSettings(readerName)
-        self.assertDictEqual(expected, actual)
-
-    def test_readerWithUpdatedSettings(self):
-        """Verify the settings passed to the reader reflect the update."""
-        from serpentTools.parsers.depletion import DepletionReader
-        with settings.rc as tempRC:
-            tempRC['depletion.metadataKeys'] = ['ZAI']
-            reader = DepletionReader('None')
-        self.assertTrue(reader.settings['metadataKeys'] == ['ZAI'])
-
-    def test_expandExtras(self):
-        """Verify that a set of extras is given if that is the only argument."""
-        extras = ['hello', 'testing']
-        with self.rc as tempRC:
-            tempRC['xs.variableExtras'] = extras
-            expected = set(extras)
-            actual = tempRC.expandVariables()
-        self.assertSetEqual(expected, actual)
-
-    def test_fullExtend(self):
-        """Verify that the variable expansion return the correct variables"""
-        groupNames = ['times', 'diffusion']
-        extras = ['hello']
-        expected = {'CMM_TRANSPXS', 'CMM_TRANSPXS_X', 'CMM_TRANSPXS_Y',
-                    'CMM_TRANSPXS_Z', 'CMM_DIFFCOEF', 'CMM_DIFFCOEF_X',
-                    'CMM_DIFFCOEF_Y', 'CMM_DIFFCOEF_Z', 'hello',
-                    'TOT_CPU_TIME', 'RUNNING_TIME', 'INIT_TIME', 'PROCESS_TIME',
-                    'TRANSPORT_CYCLE_TIME', 'BURNUP_CYCLE_TIME',
-                    'BATEMAN_SOLUTION_TIME', 'MPI_OVERHEAD_TIME',
-                    'ESTIMATED_RUNNING_TIME', 'CPU_USAGE',
-                    'TRANSPORT_CPU_USAGE', 'OMP_PARALLEL_FRAC'}
-        with self.rc as tempRC:
-            tempRC['xs.variableExtras'] = extras
-            tempRC['xs.variableGroups'] = groupNames
-            actual = tempRC.expandVariables()
-        self.assertSetEqual(expected, actual)
-
-
-class MessagingTester(unittest.TestCase):
-    """Class to test the messaging framework."""
-
-    def test_futureDecorator(self):
-        """Verify that the future decorator doesn't break"""
-
-        @willChange('This function will be updated in the future, '
-                    'but will still exist')
-        def demoFuture(x, val=5):
-            return x + val
-
-        with warnings.catch_warnings(record=True) as record:
-            self.assertEqual(7, demoFuture(2))
-            self.assertEqual(7, demoFuture(2, 5))
-            self.assertEquals(len(record), 2, 'Did not catch two warnings::willChange')
-
-    def test_depreciatedDecorator(self):
-        """Verify that the depreciated decorator doesn't break things"""
-
-        @deprecated('this nonexistent function')
-        def demoFunction(x, val=5):
-            return x + val
-
-        with warnings.catch_warnings(record=True) as record:
-            self.assertEqual(7, demoFunction(2))
-            self.assertEqual(7, demoFunction(2, 5))
-            self.assertEquals(len(record), 2, 'Did not catch two warnings::deprecation')
-
-
-if __name__ == '__main__':
-    unittest.main()
+"""Tests for the settings loaders."""
+from os.path import join
+from os import remove
+import warnings
+import unittest
+
+import yaml
+import six
+
+from serpentTools import settings
+from serpentTools.messages import deprecated, willChange
+from serpentTools.tests import TEST_ROOT
+
+
+class DefaultSettingsTester(unittest.TestCase):
+    """Class to test the functionality of the master loader."""
+
+    @classmethod
+    def setUpClass(cls):
+        cls.defaultLoader = settings.DefaultSettingsLoader()
+        cls.testSetting = 'depletion.metadataKeys'
+        cls.testSettingExpected = ['ZAI', 'NAMES', 'DAYS', 'BU']
+        cls.testSettingMethod = cls.assertListEqual
+
+    def test_getDefault(self):
+        """Verify the default settings loader properly retrives defaults."""
+        self.testSettingMethod(self._getLoaderSetting(self.testSetting),
+                               self.testSettingExpected)
+
+    def test_cannotChangeDefaults(self):
+        """Verify the default settings loader is locked after creation."""
+        with self.assertRaises(KeyError):
+            self.defaultLoader['this'] = 'should fail'
+
+    def _getLoaderSetting(self, setting):
+        return self.defaultLoader[setting].default
+
+
+class RCTester(unittest.TestCase):
+    """Class to test the functionality of the scriptable settings manager."""
+
+    @classmethod
+    def setUpClass(cls):
+        cls.rc = settings.UserSettingsLoader()
+        cls.rc['depletion.metadataKeys'] = ['ZAI']
+
+    def test_failAtNonexistentSetting(self):
+        """Verify that the loader will not load a nonexistent setting."""
+        with self.assertRaises(KeyError):
+            self.rc['bad setting'] = False
+
+    def test_failAtBadSetting_options(self):
+        """Verify that the loader will raise an error for bad options."""
+        with self.assertRaises(KeyError):
+            self.rc['depletion.metadata'] = ['this should fail']
+
+    def test_failAtBadSettings_type(self):
+        """Verify that the loader will raise an error for bad type."""
+        with self.assertRaises(TypeError):
+            self.rc['depletion.processTotal'] = 'this should fail'
+
+    def test_returnReaderSettings(self):
+        """Verify the correct reader settings can be retrieved."""
+        readerName = 'depletion'
+        expected = {
+            'metadataKeys': ['ZAI'],
+            'materialVariables': [],
+            'materials': [],
+            'processTotal': True,
+        }
+        actual = self.rc.getReaderSettings(readerName)
+        self.assertDictEqual(expected, actual)
+
+    def test_readerWithUpdatedSettings(self):
+        """Verify the settings passed to the reader reflect the update."""
+        from serpentTools.parsers.depletion import DepletionReader
+        with settings.rc as tempRC:
+            tempRC['depletion.metadataKeys'] = ['ZAI']
+            reader = DepletionReader('None')
+        self.assertTrue(reader.settings['metadataKeys'] == ['ZAI'])
+
+    def test_expandExtras(self):
+        """Verify that a set of extras is given if that is the only argument."""
+        extras = ['hello', 'testing']
+        with self.rc as tempRC:
+            tempRC['xs.variableExtras'] = extras
+            expected = set(extras)
+            actual = tempRC.expandVariables()
+        self.assertSetEqual(expected, actual)
+
+    def test_fullExtend(self):
+        """Verify that the variable expansion return the correct variables"""
+        groupNames = ['times', 'diffusion']
+        extras = ['hello']
+        expected = {'CMM_TRANSPXS', 'CMM_TRANSPXS_X', 'CMM_TRANSPXS_Y',
+                    'CMM_TRANSPXS_Z', 'CMM_DIFFCOEF', 'CMM_DIFFCOEF_X',
+                    'CMM_DIFFCOEF_Y', 'CMM_DIFFCOEF_Z', 'hello',
+                    'TOT_CPU_TIME', 'RUNNING_TIME', 'INIT_TIME', 'PROCESS_TIME',
+                    'TRANSPORT_CYCLE_TIME', 'BURNUP_CYCLE_TIME',
+                    'BATEMAN_SOLUTION_TIME', 'MPI_OVERHEAD_TIME',
+                    'ESTIMATED_RUNNING_TIME', 'CPU_USAGE',
+                    'TRANSPORT_CPU_USAGE', 'OMP_PARALLEL_FRAC'}
+        with self.rc as tempRC:
+            tempRC['xs.variableExtras'] = extras
+            tempRC['xs.variableGroups'] = groupNames
+            actual = tempRC.expandVariables()
+        self.assertSetEqual(expected, actual)
+
+
+class ConfigLoaderTester(unittest.TestCase):
+    """Class to test loading multiple setttings at once, i.e. config files"""
+
+    @classmethod
+    def setUpClass(cls):
+        cls.configSettings = {
+            'branching.areUncsPresent': True,
+            'branching.floatVariables': ['Bhi', 'Tlo'],
+            'verbosity': 'warning',
+            'depletion.materials': ['fuel*'],
+            'depletion.materialVariables': ['ADENS', 'MDENS']
+        }
+        cls.nestedSettings = {
+            'branching': {
+                'areUncsPresent':
+                    cls.configSettings['branching.areUncsPresent'],
+                'floatVariables':
+                    cls.configSettings['branching.floatVariables']
+            },
+            'depletion': {
+                'materials': cls.configSettings['depletion.materials'],
+                'materialVariables':
+                    cls.configSettings['depletion.materialVariables']
+            },
+            'verbosity': cls.configSettings['verbosity']
+        }
+        cls.files = {'singleLevel': join(TEST_ROOT, 'singleLevelConf.yaml'),
+                     'nested': join(TEST_ROOT, 'nestedConf.yaml'),
+                     'badNested': join(TEST_ROOT, 'badNestedConf.yaml')}
+        cls.rc = settings.UserSettingsLoader()
+
+    def _writeTestRemoveConfFile(self, settings, filePath, expected, strict):
+        with open(filePath, 'w') as out:
+            yaml.dump(settings, out)
+        with self.rc:
+            self.rc.loadYaml(filePath, strict)
+            for key, value in six.iteritems(expected):
+                if isinstance(value, list):
+                    self.assertListEqual(value, self.rc[key])
+                else:
+                    self.assertEqual(value, self.rc[key])
+        remove(filePath)
+
+    def test_loadSingleLevelConfig(self):
+        """Test loading settings from a non-nested config file"""
+        self._writeTestRemoveConfFile(self.configSettings,
+                                      self.files['singleLevel'],
+self.configSettings, True)
+
+    def test_loadNestedConfig(self):
+        """Test loading settings from a nested config file"""
+        self._writeTestRemoveConfFile(self.nestedSettings, self.files['nested'],
+                                      self.configSettings, True)
+
+    def test_loadNestedNonStrict(self):
+        """Test loading settings with errors but non-strict error handling"""
+        badSettings = {'bad setting': False}
+        badSettings.update(self.nestedSettings)
+        self._writeTestRemoveConfFile(badSettings, self.files['nested'],
+                                      self.configSettings, False)
+
+
+class MessagingTester(unittest.TestCase):
+    """Class to test the messaging framework."""
+
+    def test_futureDecorator(self):
+        """Verify that the future decorator doesn't break"""
+
+        @willChange('This function will be updated in the future, '
+                    'but will still exist')
+        def demoFuture(x, val=5):
+            return x + val
+
+        with warnings.catch_warnings(record=True) as record:
+            self.assertEqual(7, demoFuture(2))
+            self.assertEqual(7, demoFuture(2, 5))
+            self.assertEquals(len(record), 2,
+                              'Did not catch two warnings::willChange')
+
+    def test_depreciatedDecorator(self):
+        """Verify that the depreciated decorator doesn't break things"""
+
+        @deprecated('this nonexistent function')
+        def demoFunction(x, val=5):
+            return x + val
+
+        with warnings.catch_warnings(record=True) as record:
+            self.assertEqual(7, demoFunction(2))
+            self.assertEqual(7, demoFunction(2, 5))
+            self.assertEquals(len(record), 2,
+                              'Did not catch two warnings::deprecation')
+
+
+if __name__ == '__main__':
+    unittest.main()

pip install -e .
parse_log_pytest
numpy>=1.11.1 matplotlib>=1.5.0 pyyaml>=3.08 scipy six
pytest
3.6
pytest --no-header -rA --tb=line --color=no -p no:cacheprovider -W ignore::DeprecationWarning
attrs==22.2.0
certifi==2021.5.30
cycler @ file:///tmp/build/80754af9/cycler_1637851556182/work
importlib-metadata==4.8.3
iniconfig==1.1.1
kiwisolver @ file:///tmp/build/80754af9/kiwisolver_1612282412546/work
matplotlib @ file:///tmp/build/80754af9/matplotlib-suite_1613407855456/work
numpy @ file:///tmp/build/80754af9/numpy_and_numpy_base_1603483703303/work
olefile @ file:///Users/ktietz/demo/mc3/conda-bld/olefile_1629805411829/work
packaging==21.3
Pillow @ file:///tmp/build/80754af9/pillow_1625670622947/work
pluggy==1.0.0
py==1.11.0
pyparsing @ file:///tmp/build/80754af9/pyparsing_1635766073266/work
pytest==7.0.1
python-dateutil @ file:///tmp/build/80754af9/python-dateutil_1626374649649/work
PyYAML==5.4.1
scipy @ file:///tmp/build/80754af9/scipy_1597686635649/work
-e git+https://github.com/CORE-GATECH-GROUP/serpent-tools.git@efd13f38b728415f603bef6ab68ae3afd4694983#egg=serpentTools
six @ file:///tmp/build/80754af9/six_1644875935023/work
tomli==1.2.3
tornado @ file:///tmp/build/80754af9/tornado_1606942266872/work
typing_extensions==4.1.1
zipp==3.6.0

name: serpent-tools
channels:
  - defaults
  - https://repo.anaconda.com/pkgs/main
  - https://repo.anaconda.com/pkgs/r
  - conda-forge
dependencies:
  - _libgcc_mutex=0.1=main
  - _openmp_mutex=5.1=1_gnu
  - blas=1.0=openblas
  - ca-certificates=2025.2.25=h06a4308_0
  - certifi=2021.5.30=py36h06a4308_0
  - cycler=0.11.0=pyhd3eb1b0_0
  - dbus=1.13.18=hb2f20db_0
  - expat=2.6.4=h6a678d5_0
  - fontconfig=2.14.1=h52c9d5c_1
  - freetype=2.12.1=h4a9f257_0
  - giflib=5.2.2=h5eee18b_0
  - glib=2.69.1=h4ff587b_1
  - gst-plugins-base=1.14.1=h6a678d5_1
  - gstreamer=1.14.1=h5eee18b_1
  - icu=58.2=he6710b0_3
  - jpeg=9e=h5eee18b_3
  - kiwisolver=1.3.1=py36h2531618_0
  - lcms2=2.16=hb9589c4_0
  - ld_impl_linux-64=2.40=h12ee557_0
  - lerc=4.0.0=h6a678d5_0
  - libdeflate=1.22=h5eee18b_0
  - libffi=3.3=he6710b0_2
  - libgcc-ng=11.2.0=h1234567_1
  - libgfortran-ng=7.5.0=ha8ba4b0_17
  - libgfortran4=7.5.0=ha8ba4b0_17
  - libgomp=11.2.0=h1234567_1
  - libopenblas=0.3.18=hf726d26_0
  - libpng=1.6.39=h5eee18b_0
  - libstdcxx-ng=11.2.0=h1234567_1
  - libtiff=4.5.1=hffd6297_1
  - libuuid=1.41.5=h5eee18b_0
  - libwebp=1.2.4=h11a3e52_1
  - libwebp-base=1.2.4=h5eee18b_1
  - libxcb=1.15=h7f8727e_0
  - libxml2=2.9.14=h74e7548_0
  - lz4-c=1.9.4=h6a678d5_1
  - matplotlib=3.3.4=py36h06a4308_0
  - matplotlib-base=3.3.4=py36h62a2d02_0
  - ncurses=6.4=h6a678d5_0
  - numpy=1.19.2=py36h6163131_0
  - numpy-base=1.19.2=py36h75fe3a5_0
  - olefile=0.46=pyhd3eb1b0_0
  - openssl=1.1.1w=h7f8727e_0
  - pcre=8.45=h295c915_0
  - pillow=8.3.1=py36h5aabda8_0
  - pip=21.2.2=py36h06a4308_0
  - pyparsing=3.0.4=pyhd3eb1b0_0
  - pyqt=5.9.2=py36h05f1152_2
  - python=3.6.13=h12debd9_1
  - python-dateutil=2.8.2=pyhd3eb1b0_0
  - pyyaml=5.4.1=py36h27cfd23_1
  - qt=5.9.7=h5867ecd_1
  - readline=8.2=h5eee18b_0
  - scipy=1.5.2=py36habc2bb6_0
  - setuptools=58.0.4=py36h06a4308_0
  - sip=4.19.8=py36hf484d3e_0
  - six=1.16.0=pyhd3eb1b0_1
  - sqlite=3.45.3=h5eee18b_0
  - tk=8.6.14=h39e8969_0
  - tornado=6.1=py36h27cfd23_0
  - wheel=0.37.1=pyhd3eb1b0_0
  - xz=5.6.4=h5eee18b_1
  - yaml=0.2.5=h7b6447c_0
  - zlib=1.2.13=h5eee18b_1
  - zstd=1.5.6=hc292b87_0
  - pip:
      - attrs==22.2.0
      - importlib-metadata==4.8.3
      - iniconfig==1.1.1
      - packaging==21.3
      - pluggy==1.0.0
      - py==1.11.0
      - pytest==7.0.1
      - tomli==1.2.3
      - typing-extensions==4.1.1
      - zipp==3.6.0
prefix: /opt/conda/envs/serpent-tools

serpentTools/tests/test_settings.py::ConfigLoaderTester::test_loadNestedConfig serpentTools/tests/test_settings.py::ConfigLoaderTester::test_loadNestedNonStrict serpentTools/tests/test_settings.py::ConfigLoaderTester::test_loadSingleLevelConfig
serpentTools/tests/test_settings.py::DefaultSettingsTester::test_cannotChangeDefaults serpentTools/tests/test_settings.py::DefaultSettingsTester::test_getDefault serpentTools/tests/test_settings.py::RCTester::test_expandExtras serpentTools/tests/test_settings.py::RCTester::test_failAtBadSetting_options serpentTools/tests/test_settings.py::RCTester::test_failAtBadSettings_type serpentTools/tests/test_settings.py::RCTester::test_failAtNonexistentSetting serpentTools/tests/test_settings.py::RCTester::test_fullExtend serpentTools/tests/test_settings.py::RCTester::test_readerWithUpdatedSettings serpentTools/tests/test_settings.py::RCTester::test_returnReaderSettings serpentTools/tests/test_settings.py::MessagingTester::test_depreciatedDecorator serpentTools/tests/test_settings.py::MessagingTester::test_futureDecorator
README.rst docs/conf.py docs/examples/Settings.rst serpentTools/settings.py docs/welcome/about.rst examples/Settings.ipynb docs/contributing/index.rst docs/api/index.rst docs/about.rst examples/myConfig.yaml
README.rst docs/conf.py docs/examples/Settings.rst serpentTools/settings.py docs/welcome/about.rst examples/Settings.ipynb docs/contributing/index.rst docs/api/index.rst docs/about.rst examples/myConfig.yaml