libplanarradpy/planrad.py
def read_param_file_to_dict(file_name):
        """Loads a text file to a python dictionary using '=' as the delimiter

        :param file_name: the name and path of the text file
        """
        data = loadtxt(file_name, delimiter='=', dtype=scipy.string0)
        data_dict = dict(data)
        for key in data_dict.keys():
            data_dict[key] = data_dict[key].strip()
            data_dict[key.strip()] = data_dict[key]
            del data_dict[key]

        return data_dict
def read_param_file_to_dict(file_name):
        data = loadtxt(file_name, delimiter='=', dtype=scipy.string0)
        data_dict = dict(data)
        for key in data_dict.keys():
            data_dict[key] = data_dict[key].strip()
            data_dict[key.strip()] = data_dict[key]
            del data_dict[key]

        return data_dict
def read_param_file_to_dict ( file_name ) : data = loadtxt ( file_name , delimiter = '=' , dtype = scipy . string0 ) data_dict = dict ( data ) for key in data_dict . keys ( ) : data_dict [ key ] = data_dict [ key ] . strip ( ) data_dict [ key . strip ( ) ] = data_dict [ key ] del data_dict [ key ] return data_dict
Loads a text file to a python dictionary using '=' as the delimiter

        :param file_name: the name and path of the text file
Loads a text file to a python dictionary using = as the delimiter