Changeset - af5539fe35a7
[Not reviewed]
default
0 1 0
Drew Perttula - 14 years ago 2011-06-16 07:11:34
drewp@bigasterisk.com
CC startup doesn't need a subterms file. it'll make the first one
Ignore-this: d39d7404a7444c6b937d57257f5bf45f
1 file changed with 7 insertions and 1 deletions:
0 comments (0 inline, 0 general)
bin/curvecalc
Show inline comments
 
@@ -492,7 +492,13 @@ def main():
 
    curveset = Curveset(sliders=opts.sliders)
 
    subterms = []
 

	
 
    graph.parse(graphPathForSubterms(song), format='n3')
 
    subtermPath = graphPathForSubterms(song)
 
    try:
 
        graph.parse(subtermPath, format='n3')
 
    except urllib2.URLError, e:
 
        if e.reason.errno != 2:
 
            raise
 
        log.info("%s not found, starting with empty graph" % subtermPath)
 
    
 
    log.debug("output")
 
    out = Output(subterms, music)
0 comments (0 inline, 0 general)