def saveVariables(dataset={}, filepath= 'defaultFilePath'): """ Saves the 'VARIABLES' component of a dataset in an ascci file in XAYAcore graph format """ return xayacore.writeGraph(dataset['VARIABLES'], filepath)
def saveData(dataset={}, filepath= 'defaultFilePath'): """ Saves the 'DATA' component of a dataset as an ascii file in XAYAcore graph format. """ return xayacore.writeGraph(dataset['DATA'], filepath)