Skip to content
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

Data integrity tests for the new connectome #258

Merged
merged 16 commits into from
Dec 6, 2015
Merged

Conversation

signija
Copy link
Contributor

@signija signija commented Aug 26, 2015

Should fix #163 and is connected to #252 .

According to the info provided by @ahrasheed , the new tests cover the following:

  • there are exactly 6916 connections in total
  • 5805 neuron to neuron connections
  • 1111 neuron to muscle connections
  • the contents of all connection match the ones in the csv file
  • 300 unique neurons making connections
  • exactly 2 unconnected neurons: CANL, CANR
  • 144 muscles in total

Nothing changed for the test for the correct number of neurons (302). Just a note about the matching connections content: I essentially checked if all the connections in the csv file appear in the set returned by Network.synapses() (i.e., if it's a subset). I didn't check the other way around (i.e., identical sets), but let me know if I should change that test at all.

The tests have expected failure decorators at the moment, until the new connectome is merged. If any problems show up with the tests when that happens, or if anyone sees any problems at the moment, just let me know and I'll correct them.

cc @slarson @travs

@slarson
Copy link
Member

slarson commented Aug 26, 2015

Nice!

@slarson
Copy link
Member

slarson commented Aug 28, 2015

Thanks for this! I am consolidating this with the other work by @ahrasheed in this branch. Still a few more tests to pass before I do a full pull request on it!

@signija
Copy link
Contributor Author

signija commented Aug 28, 2015

@slarson Thank you, Stephen! Let me know if I can help with anything.

@signija signija changed the title Data integrity tests for the new connector Data integrity tests for the new connectome Sep 1, 2015
@slarson slarson merged commit c7a68c3 into openworm:dev Dec 6, 2015
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.

Create DataIntegrityTest to address synaptic connections
3 participants