diff options
author | Sebastian Koslowski <koslowski@kit.edu> | 2016-02-07 13:44:59 +0100 |
---|---|---|
committer | Sebastian Koslowski <koslowski@kit.edu> | 2016-02-17 19:55:16 +0100 |
commit | ed6e9a484ddddbbadf19584f6606d2c9e36de823 (patch) | |
tree | bbad5da38afcfa2cfb29f4787dfe5d862565f5e4 /grc/model/Constants.py | |
parent | 62aadb3198ce82a6fb9d7e4a12bf7df1ee168100 (diff) |
grc-refactor: fixes, type-testing-flags, FlowGraph.py, (more)
Diffstat (limited to 'grc/model/Constants.py')
-rw-r--r-- | grc/model/Constants.py | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/grc/model/Constants.py b/grc/model/Constants.py index d77dffcd5e..f1dae1d953 100644 --- a/grc/model/Constants.py +++ b/grc/model/Constants.py @@ -45,6 +45,8 @@ BLOCKS_DIRS = filter( # filter blank strings DATA_DIR = os.path.dirname(__file__) FLOW_GRAPH_DTD = os.path.join(DATA_DIR, 'flow_graph.dtd') BLOCK_TREE_DTD = os.path.join(DATA_DIR, 'block_tree.dtd') +BLOCK_DTD = os.path.join(DATA_DIR, 'block.dtd') +DEFAULT_FLOW_GRAPH = os.path.join(DATA_DIR, 'default_flow_graph.grc') # File format versions: # 0: undefined / legacy @@ -79,12 +81,6 @@ TOP_BLOCK_FILE_MODE = stat.S_IRUSR | stat.S_IWUSR | stat.S_IXUSR | stat.S_IRGRP stat.S_IWGRP | stat.S_IXGRP | stat.S_IROTH HIER_BLOCK_FILE_MODE = stat.S_IRUSR | stat.S_IWUSR | stat.S_IRGRP | stat.S_IWGRP | stat.S_IROTH -# Data files -DATA_DIR = os.path.dirname(__file__) -FLOW_GRAPH_TEMPLATE = os.path.join(DATA_DIR, 'flow_graph.tmpl') -BLOCK_DTD = os.path.join(DATA_DIR, 'block.dtd') -DEFAULT_FLOW_GRAPH = os.path.join(DATA_DIR, 'default_flow_graph.grc') - # Define types, native python + numpy VECTOR_TYPES = (tuple, list, set, numpy.ndarray) COMPLEX_TYPES = [complex, numpy.complex, numpy.complex64, numpy.complex128] |