Comments (5)
from moose-examples.
@subhacom Would you suggest c++ to throw exception (equivalent of Python KeyError/IndexException) which is to be handled by pymoose
?
from moose-examples.
If I remember correctly SetGet::strSet and SetGet::strGet return bool to indicate success or failure. This is inspected in pymoose and Exception is thrown as suitable. However, when these are used in internal C++ code of MOOSE (in this case wildcardFind), the function should handle it locally. These functions are so fundamental that it does not make sense to print error messages for this.
Also, I am not sure about the performance cost of throwing exception at the base code level.
from moose-examples.
Only testSigNeur.py is failing now with the following error.
AttributeError: 'moose.SynChan' object has no attribute 'synapse'
from moose-examples.
This ticked is closed in the favor of #30
from moose-examples.
Related Issues (20)
- moogli and /or morphology HOT 2
- fieldelement.py still under testing HOT 1
- moose-examples/snippets/savemodel.py HOT 5
- moose-examples/snippets/savempdel.py
- Snippets/Izhikevich_with_synapse.py HOT 1
- clean up snippets wrt Rdesigneur and/or moogli HOT 1
- Some files in neuroml are not running HOT 1
- Running but not appropriately presented HOT 1
- Animation in Documentation? HOT 4
- some files while ploting gets seg fault HOT 1
- Most tests in `traub_2005` directory are failing with same error HOT 2
- Broken scripts are to be ranamed `.py.BROKEN`
- This repository requires cleanup
- Remove scripts based on `moose.Func` | deprecated HOT 1
- Qt4 to Qt5 HOT 1
- Run with moose version 3.2.1-dev20200325
- Rdesignuer/ex7.2_CICR examples result not matching as per documentation HOT 1
- ex8.1_synTrigCICR result don't match as per documentation HOT 1
- Rdesignuer/ex8.3_spine_vol_change.py getting runtime error HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from moose-examples.