-
Notifications
You must be signed in to change notification settings - Fork 11
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
Add provenance writing for app_vertex #885
base: master
Are you sure you want to change the base?
Conversation
|
||
def test_app_vertex(self): | ||
with ProvenanceWriter() as db: | ||
db.insert_app_vertex("pop", "type", "description", 0.5) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The type tested here does not match the CREATE TABLE.
While it works it is not the cleanest
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops - good spot, edited.
Approved to merge when you want into whichever branch you feel best |
Conflicts: spinn_front_end_common/interface/provenance/db.sql spinn_front_end_common/interface/provenance/provenance_writer.py unittests/interface/provenance/test_provenance_database.py
Should the field and param "population" not be "label". At the FEC level there are no Populations (minor) You are actually saving the AbstractPopulationVertex.label. (Yes I know that is typically also the population label) Would allow the table/ method also to be used for none Population Vertices |
Conflicts: spinn_front_end_common/interface/provenance/db.sql spinn_front_end_common/interface/provenance/provenance_writer.py
- move DataType changes from DataSpecification here
Part of SpiNNakerManchester/sPyNNaker#852