# HG changeset patch # User Dan Stowell # Date 1360783309 0 # Node ID 49436fc230eb7206365d04ef8223ad8cb2440e38 # Parent 372ee94cc82e0ad4311cd41d18bfb351cf99d540 do not assume absolute paths diff -r 372ee94cc82e -r 49436fc230eb smacpy.py --- a/smacpy.py Wed Feb 13 16:46:01 2013 +0000 +++ b/smacpy.py Wed Feb 13 19:21:49 2013 +0000 @@ -187,7 +187,7 @@ # OK so let's go outlist = file(args['outlist'], 'wb') if verbose: print("TRAINING") - model = Smacpy('/', trainlist) + model = Smacpy('', trainlist) if verbose: print("TESTING") for wavpath in testlist: result = model.classify(wavpath)