BGlib.be.translators.df_utils.be_utils.parmsToDict

BGlib.be.translators.df_utils.be_utils.parmsToDict(filepath, parms_to_remove=[])[source]

Translates the parameters in the text file into a dictionary. Also indentifies whether this is a BEPS or BELine dataset.

Parameters:
  • filepath (String / Unicode) – Absolute path of the parameters text or spreadsheet file.

  • parms_to_remove (List of string (Optional)) – keys that this function should attempt to remove from the dictionary

Returns:

  • isBEPS (Boolean) – whether this dataset is BEPS or BE Line.

  • parm_dict (Dictionary) – experimental parameters