Skip to content

Create internal and external sorters sub-modules - #1354

Merged
h-mayorquin merged 12 commits into
SpikeInterface:masterfrom
alejoe91:external-sorters
Feb 27, 2023
Merged

h-mayorquin merged 12 commits into
SpikeInterface:masterfrom
alejoe91:external-sorters

Conversation

@alejoe91

@alejoe91 alejoe91 commented Feb 22, 2023 •

Copy link
Copy Markdown
Member
  • Test are not run for external sorters (avoiding to install unnecessary external dependencies)
  • Simplifies code coverage
  • Simplifies sorters module strucrure (with internal and external subfolders)
  • The full tests now are split between sorters (core changes to launchers/utils etc), internal (tested if changed), and external (not tested)

The idea is to add the testing machinery of spikeinterface-dockerfiles to test using docker/singularity

@alejoe91 alejoe91 added sorters Related to sorters module refactor Refactor of code, with no change to functionality labels Feb 22, 2023

@h-mayorquin h-mayorquin left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This looks good to me concerning the CI changes. I could not figure it out based on the names though, are the ones called external the ones that will run with docker, the internal ones will be the ones based on sortingcomponents and the rest is basic machinery common to both, am I getting this right?

Comment thread .github/workflows/full-test.yml Resolved
Comment thread conftest.py Resolved
@alejoe91
alejoe91 marked this pull request as ready for review February 27, 2023 16:08

@h-mayorquin h-mayorquin left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Seems good to me, we will avoid running the costly internal sorters tests unless we change them or sorting components.

Also, we now have a distinction between internal and external expressed in the structure of the repo.

I will merge this to work #1370

@h-mayorquin
h-mayorquin merged commit 06c955a into SpikeInterface:master Feb 27, 2023
@samuelgarcia

Copy link
Copy Markdown
Member

Hey guys.
I did not have chance to have a look to this!!
For big stuff it is cool to have sevarl eyes on it.

@h-mayorquin

Copy link
Copy Markdown
Contributor

Sorry @samuelgarcia my mistake, I remember that we talked about this before and I thought you gave a green flag to this. I will ping you next time for something this large.

@alejoe91
alejoe91 deleted the external-sorters branch April 7, 2023 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactor Refactor of code, with no change to functionality sorters Related to sorters module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants