Read modeling results from a given mod/ directory. Possible values
        to read in are:

            * voltages
            * potentials
            * sensitivities

def _read_modeling_results(self, directory, silent=False):
        """Read modeling results from a given mod/ directory. Possible values
        to read in are:

            * voltages
            * potentials
            * sensitivities

        """

        voltage_file = directory + os.sep + 'volt.dat'
        if os.path.isfile(voltage_file):
            if not silent:
                print('reading voltages')
            self.read_voltages(voltage_file)

        sens_files = sorted(glob(
            directory + os.sep + 'sens' + os.sep + 'sens*.dat')
        )
        # check if there are sensitivity files, and that the nr corresponds to
        # the nr of configs
        if(len(sens_files) > 0 and
           len(sens_files) == self.configs.nr_of_configs):
            print('reading sensitivities')
            self._read_sensitivities(directory + os.sep + 'sens')

        # same for potentials
        pot_files = sorted(glob(
            directory + os.sep + 'pot' + os.sep + 'pot*.dat')
        )
        # check if there are sensitivity files, and that the nr corresponds to
        # the nr of configs
        if(len(pot_files) > 0 and
           len(pot_files) == self.configs.nr_of_configs):
            print('reading potentials')
            self._read_potentials(directory + os.sep + 'pot')