changeset 1113:780e91cc21cc

dead code from the prototype Ignore-this: 4b9f45d89e1571fc8fc305cf00a1729e
author Drew Perttula <drewp@bigasterisk.com>
date Thu, 12 Jun 2014 08:59:52 +0000
parents 4d438e50c83c
children a38955ba6f40
files light9/effecteval/effect.py
diffstat 1 files changed, 0 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/light9/effecteval/effect.py	Thu Jun 12 08:57:21 2014 +0000
+++ b/light9/effecteval/effect.py	Thu Jun 12 08:59:52 2014 +0000
@@ -6,16 +6,6 @@
 from light9 import Submaster, Effects
 log = logging.getLogger('effect')
 
-def uriFromCode(s):
-    # i thought this was something a graph could do with its namespace manager
-    if s.startswith('sub:'):
-        return URIRef('http://light9.bigasterisk.com/show/dance2014/sub/' + s[4:])
-    if s.startswith('song1:'):
-        return URIRef('http://ex/effect/song1/' + s[6:])
-    if (s[0], s[-1]) == ('<', '>'):
-        return URIRef(s[1:-1])
-    raise NotImplementedError
-
 # consider http://waxeye.org/ for a parser that can be used in py and js
 
 class CodeLine(object):