Skip to content

Conversation

@Christian-B
Copy link
Member

fixes #136
fixes #71

Adds an example for
synapses_stdp_izhikevich_neuromodulation_vogels_2011_additive.aplx

@Christian-B Christian-B requested a review from rowleya February 5, 2026 15:34
Copy link
Member

@rowleya rowleya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couple of things to check...

# bool hard code for extracting the weights or not
EXTRACT_WEIGHTS = False
GENERATE_PLOT = False
GENERATE_PLOT = True
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this going to be OK in the integration tests?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

YES in fact the tests need that.

See https://github.com/SpiNNakerManchester/TestBase/blob/875af3d6bbe25ebe41742140b93d4b9af4b4272c/spinnaker_testbase/script_checker.py#L57

when it finds matplotlib.pyplot in the script it mocks that out (python hack)
Then checks the mock is actually called.

  • Does not check how or with what t is called

Comment on lines -54 to -59
def test_examples_balanced_random_balanced_random(self):
self.check_script("examples/balanced_random/balanced_random.py")

def test_examples_balanced_random_split_balanced_random_split(self):
self.check_script("examples/balanced_random/split/balanced_random_split.py")

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have these been removed on purpose?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ABSOLUTELY!

  1. This change is done automatically by script_builder.py
  • that is what intergation tests do
  1. Try running the test it fails as that code has been moved. (removed as duplicate)
  • The moved code is tested elsewhere

@Christian-B
Copy link
Member Author

This PR got commits meant for another pr will redo

@Christian-B Christian-B closed this Feb 9, 2026
@Christian-B Christian-B mentioned this pull request Feb 10, 2026
@Christian-B Christian-B deleted the vogels_fix branch February 11, 2026 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

vogels example broken. Vogels 2011 Does it need a none standard cfg

2 participants