コード例 #1
0
ファイル: xayastats.py プロジェクト: MishtuBanerjee/xaya
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)
コード例 #2
0
ファイル: xayastats.py プロジェクト: MishtuBanerjee/xaya
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)