def save(self):
    'writes a file for each curve with a name\n        like basename-curvename, or saves them to the rdf graph'
    basename = os.path.join(showconfig.curvesDir(), showconfig.songFilenameFromURI(self.currentSong))
    patches = []
    for cr in list(self.curveResources.values()):
        patches.extend(cr.getSavePatches())
    self.markers.save(('%s.markers' % basename))
    for p in patches:
        self.graph.patch(p)
writes a file for each curve with a name
like basename-curvename, or saves them to the rdf graph
def save(self):
    'writes a file for each curve with a name\n        like basename-curvename, or saves them to the rdf graph'
    basename = os.path.join(showconfig.curvesDir(), showconfig.songFilenameFromURI(self.currentSong))
    patches = []
    for cr in list(self.curveResources.values()):
        patches.extend(cr.getSavePatches())
    self.markers.save(('%s.markers' % basename))
    for p in patches:
        self.graph.patch(p)