Repository navigation
Add manual sorter tests in singularity - #1373
Conversation
Co-authored-by: Heberto Mayorquin <[email protected]>
…terface into singularity-tests
|
I don't understand why the the last commit is marked as checks completed but all the actions of the new tests are marked as failed: |
|
This looks like a big fight! |
|
Ehehehe it is! |
|
@alejoe91 That said, I find the current approach to decide which version of spikeinterface to install in the container confusing. My view is that the defaults should like this:
What I am missing is one case it makes sense to me that the current default is the right approach. The current default is to that you install the latest version in the repo. Maybe I just lack imagination and this makes sense, but I still feel that the defaults above make more sense. Besides this point, I think that there must be a better way of doing this than using an implicit definition through an environment variable (the zen of python "explicit is better than implicit"). |
Thanks for the feedback @h-mayorquin So basically in your opinion we should always installed from local if the SpikeInterface installation is from sources. Is that correct? What if someone installs SI from git, but not from sources (e.g. |
|
Success!!!! @h-mayorquin can you merge this one? :) Thanks for the help! |
h-mayorquin
left a comment
There was a problem hiding this comment.
This is great.
Concerning useres installing directly from git that is one instance where maybe it would make sense to use the latest dev version. We are making the assumption that they have not modified their own repo after installing which is OK. That said, I think that I would like to stick that edge case under the general default of running the local repo. In fact, now that I think about it, this also works for users installing older versions as they will have a local old version in their machines.
I think this might be harder to do than just installing on git and is not working. I will open an issue ot discuss this and maybe put is a low-priority to-do.
|
One final thing, it seems that the tridesclous container is missing some packages? So it goes back to run the format as |
| running_on_github_actions = os.getenv("CI") | ||
| si_dev_path = None | ||
| if running_on_github_actions: | ||
| print(si_version) | ||
| si_dev_path = os.getenv('SPIKEINTERFACE_DEV_PATH') | ||
| print(si_dev_path) | ||
| assert si_dev_path is not None |
There was a problem hiding this comment.
What is this ? This looks like debuging stuff.
This GH specific stuff should not be the code I think but in the test files only no ?
There was a problem hiding this comment.
Oups! you are right! I thought this was on the test side. Will push a fix!
There was a problem hiding this comment.
That was my mistake, I added when I was debugging and then did not removed then.
There was a problem hiding this comment.
No worries guys.
I just feel that you are sometimes a bit too imptatient for merges :)
Maybe the the priviliedge of youg people.
| print("******") | ||
| print("Container started with the following paths") | ||
| print(si_dev_path_unix, si_source_folder) |
There was a problem hiding this comment.
Inside a verbose would be better.
|
Camarades. Could you wait some external feedback before merges ? |
Porting singularity-based tests from https://github.com/SpikeInterface/spikeinterface-dockerfiles