diff fca/run.py @ 0:62d2c72e4223

initial commit
author nothing@tehis.net
date Mon, 25 Feb 2013 14:40:54 +0000
parents
children 8bd8453e0551
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/fca/run.py	Mon Feb 25 14:40:54 2013 +0000
@@ -0,0 +1,9 @@
+import os, fnmatch
+
+basedir = '/Users/alo/MusicOntology/features/' 
+rdfdir = basedir + 'rdf/'
+fcadir = basedir + 'fcadata/'
+
+for name in os.listdir(rdfdir):
+    if fnmatch.fnmatch(name, '*.rdf'):
+        constructMatrix( name.replace('af-', '').replace('.rdf', ''), fcadir )
\ No newline at end of file