Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
dream
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
dream
Commits
6fc633f9
Commit
6fc633f9
authored
Mar 03, 2014
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure numpy to raise in case of errors
parent
d837c106
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
dream/simulation/LineGenerationJSON.py
dream/simulation/LineGenerationJSON.py
+6
-0
No files found.
dream/simulation/LineGenerationJSON.py
View file @
6fc633f9
...
@@ -52,6 +52,12 @@ except ImportError:
...
@@ -52,6 +52,12 @@ except ImportError:
sys
.
modules
[
'scipy'
]
=
scipy
sys
.
modules
[
'scipy'
]
=
scipy
logger
.
error
(
"Scipy cannot be imported, using dummy implementation"
)
logger
.
error
(
"Scipy cannot be imported, using dummy implementation"
)
# By default numpy just prints on stderr when there's an error. We do not want
# to hide errors.
import
numpy
numpy
.
seterr
(
all
=
'raise'
)
from
SimPy.Simulation
import
activate
,
initialize
,
simulate
,
now
,
infinity
from
SimPy.Simulation
import
activate
,
initialize
,
simulate
,
now
,
infinity
from
Globals
import
G
from
Globals
import
G
from
Source
import
Source
from
Source
import
Source
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment