summaryrefslogtreecommitdiff
path: root/gr-trellis/python
diff options
context:
space:
mode:
authorAchilleas Anastasopoulos <anastas@umich.edu>2014-10-01 18:22:53 -0400
committerAchilleas Anastasopoulos <anastas@umich.edu>2014-10-08 12:46:21 -0400
commitbe8e888f80934a884287f0ec9eb62dd0d2b7f5e5 (patch)
treedc3406eb0a25bb3171458bfded74cfe192a775a5 /gr-trellis/python
parent46e9dfed237990da20b5fb054b7fd33b1c152b4a (diff)
Updated documentation and grc/python examples in gr-trellis.
Removed weird pyhton examples and made them grc files.
Diffstat (limited to 'gr-trellis/python')
-rwxr-xr-xgr-trellis/python/trellis/fsm_utils.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/gr-trellis/python/trellis/fsm_utils.py b/gr-trellis/python/trellis/fsm_utils.py
index c579f09df7..7ec88cb645 100755
--- a/gr-trellis/python/trellis/fsm_utils.py
+++ b/gr-trellis/python/trellis/fsm_utils.py
@@ -28,12 +28,12 @@ import operator
import numpy
#from gnuradio import trellis
-#
-#try:
- #import scipy.linalg
-#except ImportError:
- #print "Error: Program requires scipy (see: www.scipy.org)."
- #sys.exit(1)
+
+try:
+ import scipy.linalg
+except ImportError:
+ print "Error: Program requires scipy (see: www.scipy.org)."
+ sys.exit(1)