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

Add testing of example scripts #1041

Merged
merged 6 commits into from
May 24, 2022
Merged

Add testing of example scripts #1041

merged 6 commits into from
May 24, 2022

Conversation

eleftherioszisis
Copy link
Contributor

@eleftherioszisis eleftherioszisis commented May 24, 2022

  • Added a __main__ to all tests so that they are executable and fixed issues.
  • Removed deprecated examples (like synthesis json and plot_features that requires a config)
  • Add test_examples in tests/ to run the examples

@codecov-commenter
Copy link

codecov-commenter commented May 24, 2022

Codecov Report

❗ No coverage uploaded for pull request base (v4@ed338f3). Click here to learn what that means.
The diff coverage is n/a.

❗ Current head c97f005 differs from pull request most recent head 4c15bac. Consider uploading reports for the commit 4c15bac to get more accurate results

@@          Coverage Diff           @@
##             v4     #1041   +/-   ##
======================================
  Coverage      ?   100.00%           
======================================
  Files         ?        35           
  Lines         ?      2469           
  Branches      ?         0           
======================================
  Hits          ?      2469           
  Misses        ?         0           
  Partials      ?         0           

@eleftherioszisis eleftherioszisis merged commit 0f3b8d0 into v4 May 24, 2022
@eleftherioszisis eleftherioszisis deleted the zisis/test-examples branch May 24, 2022 08:29
eleftherioszisis added a commit that referenced this pull request Jun 7, 2022
eleftherioszisis added a commit that referenced this pull request Jan 26, 2024
eleftherioszisis pushed a commit that referenced this pull request May 14, 2024
* Mixed subtree processing (#981)
* Refactor tests for test_mixed.py (#1027)
* Remove deprecated modules and functions/classes & warnings (#1026, #1032)
* Use readonly morphio Morphology by default (#979)
* Morphology level radial distance features use the soma as reference point (#1030)
* Expose subtree processing from the morph_stats api (#1034)
* Remove pyXX prefix for lint, docs, and coverage (#1038)
* Fix tutorials and add tutorial testenv (#1039)
* Add isort for formatting/linting (#1040)
* Add testing of example scripts (#1041)
* Make documentation/docstrings testable (#1035)
* Add black to neurom, format everything, and add to lint (#1042)
* Fix load_morpholgies to always resolve paths (#1047)
* allow Morphology objects to be either mut or immut (#1049)
* Replace iter_* methods by properties in core objects and improve iter_segments (#1054)
* Decouple Morphology constructor from io (#1120)
* Move soma methods to functions (#1118)
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.

3 participants