-
Notifications
You must be signed in to change notification settings - Fork 54
STDP synapse and IAF neuron generation for the compartmental feature #1103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
LeanderEwert
wants to merge
444
commits into
nest:master
Choose a base branch
from
LeanderEwert:origin/LeanderEwert_cm_stdp
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 250 commits
Commits
Show all changes
444 commits
Select commit
Hold shift + click to select a range
4936d33
move tests that use the NEST code generator to integration tests subd…
78c8fb7
move tests that use the NEST code generator to integration tests subd…
b28f4b3
fix NEST2/NEST3 compatibility in tests
9cfdaa8
add LD_LIBRARY_PATH for NEST2
e0f9559
fix NEST2/NEST3 compatibility in tests
72c3678
Merge remote-tracking branch 'clinssen/nest_versions_compat' into nes…
f155e86
fix NEST2/NEST3 compatibility in tests
68c5ce6
fix NEST2/NEST3 compatibility in tests
3d062f3
fix NEST2/NEST3 compatibility in tests
56bcca1
fix CI and tests after adding automatic NEST version check
f104621
fix CI and tests after adding automatic NEST version check
79bfbe7
run Jupyter notebooks only on master branch
fab802c
add NEST 3.3 to CI
24c0d78
improve NEST version detection and compatibility
5f783aa
improve NEST version detection and compatibility
8e42a63
Merge remote-tracking branch 'origin/master' into nest_versions_compat
891e67b
do not use bare except
5f54d17
run NEST version detection in a separate process
3550eb4
fix syntax in GitHub actions workflow file
c00c6f6
fix syntax in GitHub actions workflow file
4993cf2
remove cron comment from GitHub Actions workflow file
0db4ef0
Merge remote-tracking branch 'clinssen/nest_versions_compat' into mai…
a155b33
Merge remote-tracking branch 'upstream/master' into maint/updated-jin…
33c5908
update compartmental model templates for NEST 3.3 and NEST-master com…
9d9a98d
Merge remote-tracking branch 'upstream/master' into maint/updated-jin…
9f8d76f
Merge pull request #7 from clinssen/maint/updated-jinja-templates_fix
WillemWybo 3f7bae6
compartmental model debugging in progress
WillemWybo fe3fe3e
merge of upstream
WillemWybo edb524f
attempted fix for variable-not-found error
WillemWybo c099d33
fix codecheck style issues
WillemWybo 4fbecf7
fix bug naming clash with nest built-in classess for ion channels and…
WillemWybo 0301084
fix NEST version detection
a98ace9
remove multiprocessing version of call to _detect_nest_version from c…
WillemWybo f6d79bf
cleanup of compartmental_model_test
WillemWybo 50ebfd4
code style issues
WillemWybo a3a606f
Merge remote-tracking branch 'upstream/master' into cm-post-printers
c7f9449
fix compartmental models code generation after printers refactor
75bd389
Merge pull request #8 from clinssen/cm-post-printers
WillemWybo 9948547
std
ScipioAI 296b98f
std
ScipioAI 7b420f5
std
ScipioAI 6dbf3a2
std
ScipioAI 9bc3d1a
std
ScipioAI 0cccbb6
Shifted synapse ode processing from nest_code_generator.py to syns_pr…
LeanderEwert 867799b
Added gathering of specifically synapse related odes and functions. n…
LeanderEwert 222e83c
Added performance optimization feature, checking key parameters being…
LeanderEwert 0d5dcee
Decorator syntax added to inline functions and mechanism differentiat…
LeanderEwert cb3ee7a
Decorator syntax added to inline functions and mechanism differentiat…
LeanderEwert 0624ec2
Merge remote-tracking branch 'nest-upstream/master' into origin/Leand…
LeanderEwert c45ac08
added decorators to odes in parser
LeanderEwert f9e5269
changed filepermissions and some fixed post merge problems.
LeanderEwert 08e14ae
some fixes on concentration mechanism info collection.
LeanderEwert 6f8bde8
fixed mechanism processing inheritance concept.
LeanderEwert 0767a5c
First working state of concentration mechanism.
LeanderEwert b9cc318
All mechanism-types now integrated into the generalized collection sy…
LeanderEwert 089b28f
Some commenting
LeanderEwert 99b158a
Issue fixed: No longer multiple identical dependency entries collecte…
LeanderEwert cdf6929
-Jinja Templates cleaned up.
LeanderEwert 9964898
-legacy code removed
LeanderEwert 941e03c
- added info dictionaries to the logger.
LeanderEwert 2b8c3d4
-some commenting added
LeanderEwert 5aaf824
Merge remote-tracking branch 'nest-upstream/master' into origin/Leand…
LeanderEwert 1bc4109
Merge remote-tracking branch 'nest-upstream/master' into origin/Leand…
LeanderEwert c8c5c12
resolved issues after merging
LeanderEwert 985012e
Merge remote-tracking branch 'origin/origin/LeanderEwert' into origin…
LeanderEwert bbe041d
key-zero parameter search for concentrations.
LeanderEwert 5eddd73
copyright-headers added.
LeanderEwert 59a4019
cd_default.nestml fixed and gitignore changes reverted
LeanderEwert 49f9361
reverted check_co_co parameter names in cases of renaming from node t…
LeanderEwert 209d9fd
New neuroncurrent files added that will contain arrays of states, par…
LeanderEwert d1ad9e7
Deleted an unneccessary outcommented code-line which the check skript…
LeanderEwert bd0f5a8
Started to implement the vectorisation of the step function inner loo…
LeanderEwert f2665d6
Implementation of NeuronCurrents ongoing.
LeanderEwert 4405829
Fixed codestyle errors.
LeanderEwert 268c945
Merge remote-tracking branch 'nest-upstream/master' into origin/Leand…
LeanderEwert d9d23e0
Merge with master.
LeanderEwert b8eeb8f
Review comment adjustments.
LeanderEwert d77c8fc
First full vector implementation. ( untested )
LeanderEwert 110fda5
First full vector implementation. (generated code not compiling yet)
LeanderEwert 37ecc78
Style fixes
LeanderEwert b596b3e
Merge remote-tracking branch 'upstream/master' into origin/LeanderEwert
c604042
add compartmental models check to separate CI stage
593ca09
add compartmental models feature
bc16888
Update pynestml/cocos/co_co_cm_channel_model.py
clinssen 8d40517
Update pynestml/cocos/co_co_cm_synapse_model.py
clinssen 671c81e
Update pynestml/cocos/co_co_cm_concentration_model.py
clinssen e847153
add compartmental models check to separate CI stage
6266fa2
Merge remote-tracking branch 'LeanderEwert/origin/LeanderEwert' into …
df41f88
Fix nest typedefs
pnbabu 84bd195
Merge remote-tracking branch 'LeanderEwert/origin/LeanderEwert' into …
pnbabu 66271bd
Small description for collect_additional_base_infos function
LeanderEwert 317a92a
Merge remote-tracking branch 'origin/origin/LeanderEwert' into origin…
LeanderEwert a4fe44f
add compartmental models feature
8f489b2
Merge remote-tracking branch 'LeanderEwert/origin/LeanderEwert' into …
d79bb40
add compartmental models feature
a3abd10
add compartmental models feature
bb2d828
add compartmental models feature
f4e2e02
add compartmental models feature
130cbb5
Clean up templates
pnbabu c2b7611
Fix filename in copyright header
pnbabu a66fb42
add compartmental models feature
d6d5a3b
Merge remote-tracking branch 'origin/origin/LeanderEwert' into origin…
9cc9be6
Completed compartmental doc.
LeanderEwert b454bfe
Completed compartmental doc. (fix)
LeanderEwert 46e795a
Completed compartmental doc. (fix)
LeanderEwert edc4310
Completed compartmental doc. (fix)
LeanderEwert fa813e8
Completed compartmental doc. (fix)
LeanderEwert 546420b
add compartmental models feature
6a1998d
Merge remote-tracking branch 'origin/origin/LeanderEwert' into origin…
bb8c343
Merge remote-tracking branch 'upstream/master' into origin/LeanderEwert
8f93ef1
Merge remote-tracking branch 'LeanderEwert/origin/LeanderEwert' into …
be660a9
fix templates path
de0609f
fix templates path
15d4f10
Merge remote-tracking branch 'upstream/master' into origin/LeanderEwert
83821b9
update Python version on CI
45a21e8
add compartmental models feature
1b8c5c4
fixing compile errors
LeanderEwert 68a310a
add compartmental models feature
53d27cc
compiling without warnings. error: undefined symbol.
LeanderEwert 6639e5a
corrected compartmental directives path in setup.py.
LeanderEwert 2bf108c
Merge branch 'nest-upstream-master' into origin/LeanderEwert
LeanderEwert 8c0c556
fixed generation issue when no synapses are defined in a model.
LeanderEwert 007dd1a
Merge branch 'origin/LeanderEwert' into origin/LeanderEwert_vectoriza…
LeanderEwert db842ba
post merge with LeanderEwert
LeanderEwert b2e34d2
corrected directives path.
LeanderEwert 42fc198
fixed public syntax.
LeanderEwert 4a25ec3
undefined symbol resolved
LeanderEwert 4ac65f8
current fail
LeanderEwert 22b366d
running simulation but no channel activity
LeanderEwert 386d95d
channels working
LeanderEwert 5c0f23e
vectorization working on all mechanisms
LeanderEwert c210a5d
buffer size bug on spike receive
LeanderEwert 0e39dc0
multiple synapses working.
LeanderEwert c2d4cdb
First working general vectorization.
LeanderEwert b4a9f02
First working version of the continuous input mechanism. Old continuo…
LeanderEwert 5810177
Big Performance improvements mostly due to map to vector type-change.
LeanderEwert 032c630
Added vectorized directives_cpp templates.
LeanderEwert 4dc48dd
Some cleanup pre-merge, ability to record non-existing states as perm…
LeanderEwert 59a2adb
Merge remote-tracking branch 'nest-upstream/master' into origin/Leand…
LeanderEwert 0a5f04c
copy-right header fix.
LeanderEwert 74b6dda
codestyle fix.
LeanderEwert 1b85a61
fixed concmech_model_test.
LeanderEwert b6cb9d8
Syntax changed so that continuous inputs don't have to be provided wi…
LeanderEwert 003fb47
Passive vectorization and unittest implemented.
LeanderEwert e58556b
fix copyright header
LeanderEwert 2e293e8
codestyle fixes.
LeanderEwert d65eadd
codestyle fixes.
LeanderEwert f7ccefa
fixing I_stim continuous input syntax in test models.
LeanderEwert 0c3c9ae
first step towards implicit euler, voltage recording problem
WillemWybo a9695db
fix bug where compartment voltage readout pointers were not
WillemWybo e7456bb
remove debug code from test
WillemWybo 369e849
merge readout voltage fix
WillemWybo fd6feb0
cleanup of no longer used variables
WillemWybo f8e1766
increase margin in test to make it pass, a more precise version will …
WillemWybo b897b09
additional vectorisations
WillemWybo 7bedd4a
rename construct_matrix_element() more appropriately and cleanup
WillemWybo 67db6ca
extended concentration test.
LeanderEwert ce8b900
Revert "Syntax changed so that continuous inputs don't have to be pro…
LeanderEwert 2e4634e
Merge pull request #1 from WillemWybo/implicit_euler
LeanderEwert 8217d1f
common subexpression elimination implemented. Sadly no change in mode…
LeanderEwert 630f329
SIMD loops merged
LeanderEwert 85670d5
disabled common subexpression elimination.
LeanderEwert 8320e07
python initialization extended to ODE vars.
LeanderEwert ae29f05
Independent v_comp initialization added.
LeanderEwert 06a6d52
new initialization test.
LeanderEwert 0883772
std::exp replaced with fastexp ieee exp approximation function.
LeanderEwert 5b0de06
fastexp as codegen option.
LeanderEwert f82f3bc
fastexp as codegen option.
LeanderEwert 45c3d75
compartmental stdp WIP
LeanderEwert 917c716
Merge remote-tracking branch 'nest-upstream/master' into origin/Leand…
LeanderEwert ec7f3ff
copyright header fix.
LeanderEwert 0dc482c
codestyle fixes
LeanderEwert 8274a69
fixed ASTNeuron instance to new ASTModel
LeanderEwert 3ad676d
further post-merge fixes
LeanderEwert e833364
codestyle fix.
LeanderEwert 55ed6bc
tests fixed (continuous input types corrected)
LeanderEwert 22b648f
compartmental test fix. Adjusted tolerance for numerical comparison a…
LeanderEwert 1976809
ieee.h cleanup and external license included
LeanderEwert ecf57ec
added license for the modification of the ieee.h.
LeanderEwert 162258d
added license for the modification of the ieee.h.
LeanderEwert 7491882
point synapse and cm neuron generation pipeline combined
LeanderEwert 3012090
test experiments.
LeanderEwert 7972a3f
concmech model test fix. (disabled fastexp)
LeanderEwert 95614c4
fastexp removed and vectorized cpp_directive jinja templates removed.
LeanderEwert 65ab437
resolved all comments but the printer modification.
LeanderEwert 6bc7f3b
removed debugging output from compartmental test and fixed copyright …
LeanderEwert 1b9ef48
new vector printing [WIP]
LeanderEwert 8eda623
new vector printing [WIP], and documentation
LeanderEwert 80fc827
returned to the previous vector printing method >>for now<<. Fixed so…
LeanderEwert 47b567c
Fixed and enabled new vector variable printing.
LeanderEwert e1ec668
small fix to last commit.
LeanderEwert 0b3ac31
WIP
LeanderEwert 4f027a5
Merge branch 'origin/LeanderEwert_vectorization' into origin/LeanderE…
LeanderEwert fd7c4e5
code compiling test WIP
LeanderEwert 04c8ac3
code compiling test WIP
LeanderEwert ffb6fa0
code compiling test WIP
LeanderEwert e13fdd0
change compartmental vector-based printers into a factory pattern
3a2309b
working on prototype for purely compartmental stdp.
LeanderEwert 8952b92
Testing done, documentation: benchmark added.
LeanderEwert c49ba6e
Image fix for benchmark in compartmental doc.
LeanderEwert e853ba5
Some more spelling and punctuation improvements.
LeanderEwert 3a5c66a
Merge branch 'nest-upstream-master' into origin/LeanderEwert_vectoriz…
LeanderEwert 1ed3aa8
Synapse info extraction WIP.
LeanderEwert fbec553
test junction fix WIP
LeanderEwert f094d1d
Not using unit test in cm tests anymore.
LeanderEwert cf1d231
codestyle fixes.
LeanderEwert 7009941
Information collection pipeline WIP
LeanderEwert 494e3fc
Basic pipeline for synapses done.
LeanderEwert 831b525
test commit for system checks.
LeanderEwert c9ec582
completing some glanced over components of the synapse receptor cogen…
LeanderEwert 5f51c53
First working STDP and IAF implementation (crude!).
LeanderEwert da69e8b
Adex compiling.
LeanderEwert 4e629f8
convolutions for synapses.
LeanderEwert 9d84dca
pre vectorization merge commit
LeanderEwert b647f0e
Merge branch 'origin/LeanderEwert_vectorization' into origin/LeanderE…
LeanderEwert 931efbd
test push
LeanderEwert 6b5c2f2
fixed target path in compartmental test.
LeanderEwert 36fa45a
setup.py mod
LeanderEwert 35bab6f
self_spike convolutions and input mechanism recordable pattern change.
LeanderEwert 9e3c431
collection global modified
LeanderEwert eeb5e1a
individual update blocks WIP
LeanderEwert 6de62a4
individual update blocks WIP 2
LeanderEwert caa383d
Update Block distribution added.
LeanderEwert cbac4f2
Recordable pattern change (only pure variable names and mechanism names)
LeanderEwert dc062f5
internal initialization indexing fixed
LeanderEwert 3f2449a
pre merge
LeanderEwert 9cd7352
pre_run_hook bug fixed.
LeanderEwert 3621c55
Merge branch 'nest-upstream-master' into origin/LeanderEwert_cm_stdp
LeanderEwert 228e408
post merge fixes
LeanderEwert d81fd2f
synapse spike processing order change.
LeanderEwert 0087e60
synapse spike processing order change.
LeanderEwert 1ba3c5d
Merge branch 'nest-upstream-master' into origin/LeanderEwert_cm_stdp
LeanderEwert a853aac
post merge commit.
LeanderEwert eda9d6d
benchmark fixed, breakpoints removed.
LeanderEwert a28c51d
codestyle fixes
LeanderEwert fdebc0a
quick fix concentrations
LeanderEwert 3597ffe
concentration initialization fixed.
LeanderEwert de64c1f
Merge branch 'nest-upstream-master' into origin/LeanderEwert_cm_stdp
LeanderEwert 6e4a5c4
stdp test fixed.
LeanderEwert 9601c4c
codestyle fixes
LeanderEwert 5ea3f89
continuous port bug fixed
LeanderEwert acf7e3d
test fixes
LeanderEwert 518f980
test fixes
LeanderEwert 47e6366
Apply suggestions from code review
LeanderEwert 1729027
Review fixes and doc extension.
LeanderEwert f4392a0
Review fixes and doc extension.
LeanderEwert dc43a01
copyright headers added to nestml test files.
LeanderEwert 6e535e1
cm stdp_synapse model description modified.
LeanderEwert bb9e87f
review comments addressed
LeanderEwert 36277c2
codestyle
LeanderEwert File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# -*- coding: utf-8 -*- | ||
# | ||
# co_co_cm_global.py | ||
# | ||
# This file is part of NEST. | ||
# | ||
# Copyright (C) 2004 The NEST Initiative | ||
# | ||
# NEST is free software: you can redistribute it and/or modify | ||
# it under the terms of the GNU General Public License as published by | ||
# the Free Software Foundation, either version 2 of the License, or | ||
# (at your option) any later version. | ||
# | ||
# NEST is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU General Public License | ||
# along with NEST. If not, see <http://www.gnu.org/licenses/>. | ||
|
||
from pynestml.cocos.co_co import CoCo | ||
from pynestml.meta_model.ast_model import ASTModel | ||
from pynestml.utils.global_processing import GlobalProcessing | ||
|
||
|
||
class CoCoCmGlobal(CoCo): | ||
@classmethod | ||
def check_co_co(cls, neuron: ASTModel): | ||
""" | ||
Checks if this compartmental condition applies to the handed over neuron. | ||
If yes, it checks the presence of expected functions and declarations. | ||
:param neuron: a single neuron instance. | ||
:type neuron: ast_neuron | ||
""" | ||
return GlobalProcessing.check_co_co(neuron) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
# -*- coding: utf-8 -*- | ||
# | ||
# co_co_cm_mech_shared_code.py | ||
# | ||
# This file is part of NEST. | ||
# | ||
# Copyright (C) 2004 The NEST Initiative | ||
# | ||
# NEST is free software: you can redistribute it and/or modify | ||
# it under the terms of the GNU General Public License as published by | ||
# the Free Software Foundation, either version 2 of the License, or | ||
# (at your option) any later version. | ||
# | ||
# NEST is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU General Public License | ||
# along with NEST. If not, see <http://www.gnu.org/licenses/>. | ||
|
||
from pynestml.cocos.co_co import CoCo | ||
from pynestml.utils.logger import LoggingLevel, Logger | ||
from pynestml.utils.messages import Messages | ||
from pynestml.utils.channel_processing import ChannelProcessing | ||
from pynestml.utils.concentration_processing import ConcentrationProcessing | ||
from pynestml.utils.receptor_processing import ReceptorProcessing | ||
from pynestml.utils.continuous_input_processing import ContinuousInputProcessing | ||
from pynestml.meta_model.ast_model import ASTModel | ||
|
||
|
||
class CoCoCmMechSharedCode(CoCo): | ||
@classmethod | ||
def check_co_co(cls, model: ASTModel): | ||
chan_info = ChannelProcessing.get_mechs_info(model) | ||
conc_info = ConcentrationProcessing.get_mechs_info(model) | ||
rec_info = ReceptorProcessing.get_mechs_info(model) | ||
con_in_info = ContinuousInputProcessing.get_mechs_info(model) | ||
|
||
used_vars = dict() | ||
all_info = chan_info | conc_info | rec_info | con_in_info | ||
for info_name, info in all_info.items(): | ||
all_vars = list(set(info['States'].keys()) | set(info["Parameters"].keys()) | set( | ||
info["Internals"].keys())) # + [e.get_name() for e in info["Dependencies"]["global"]] | ||
for var in all_vars: | ||
if var not in used_vars.keys(): | ||
used_vars[var] = list() | ||
used_vars[var].append(info_name) | ||
|
||
for var_name, var in used_vars.items(): | ||
if len(var) > 1: | ||
code, message = Messages.cm_shared_variables_not_allowed(var_name, var) | ||
Logger.log_message(error_position=None, | ||
code=code, message=message, | ||
log_level=LoggingLevel.ERROR) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# -*- coding: utf-8 -*- | ||
# | ||
# co_co_cm_receptor_model.py | ||
# | ||
# This file is part of NEST. | ||
# | ||
# Copyright (C) 2004 The NEST Initiative | ||
# | ||
# NEST is free software: you can redistribute it and/or modify | ||
# it under the terms of the GNU General Public License as published by | ||
# the Free Software Foundation, either version 2 of the License, or | ||
# (at your option) any later version. | ||
# | ||
# NEST is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU General Public License | ||
# along with NEST. If not, see <http://www.gnu.org/licenses/>. | ||
|
||
from pynestml.cocos.co_co import CoCo | ||
from pynestml.meta_model.ast_model import ASTModel | ||
from pynestml.utils.receptor_processing import ReceptorProcessing | ||
|
||
|
||
class CoCoCmReceptorModel(CoCo): | ||
|
||
@classmethod | ||
def check_co_co(cls, model: ASTModel, global_info): | ||
""" | ||
Checks if this compartmental condition applies to the handed over neuron. | ||
If yes, it checks the presence of expected functions and declarations. | ||
:param model: a single neuron instance. | ||
""" | ||
return ReceptorProcessing.check_co_co(model, global_info) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.