Example #1
0
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)
Example #2
0
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)