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 bb5-tests #197

Merged
merged 9 commits into from
Aug 6, 2024
Merged

add bb5-tests #197

merged 9 commits into from
Aug 6, 2024

Conversation

ilkilic
Copy link
Contributor

@ilkilic ilkilic commented Jul 26, 2024

This PR adds the bluecellulab-bb5-tests folder to the repository. This folder contains tests for bluecellulab on the large circuits located on bb5. Please note that these tests are not directly usable as they are due to dependencies. This module will continue to be part of the CI pipeline on GitLab until December 31, 2024. After this date, the tests will no longer be included in the CI pipeline.

@ilkilic ilkilic self-assigned this Jul 26, 2024
@codecov-commenter
Copy link

codecov-commenter commented Jul 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.24%. Comparing base (e24a512) to head (f9c73f6).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #197   +/-   ##
=======================================
  Coverage   91.24%   91.24%           
=======================================
  Files          95       95           
  Lines        5708     5708           
=======================================
  Hits         5208     5208           
  Misses        500      500           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@AurelienJaquier AurelienJaquier left a comment

Choose a reason for hiding this comment

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

Could you add the license comment block at the head of every script file (python and sh)? Also could you check the license of the circuits that have already been open sourced (@darshanmandge knew about them I think). If the license is different we'll have to mention it in the LICENSE.txt file I believe, like we did for the mod files.

bluecellulab-bb5-tests/Makefile Outdated Show resolved Hide resolved
bluecellulab-bb5-tests/README.md Outdated Show resolved Hide resolved
bluecellulab-bb5-tests/tests/test_ssim.py Outdated Show resolved Hide resolved
bluecellulab-bb5-tests/tests/test_ssim.py Outdated Show resolved Hide resolved
bluecellulab-bb5-tests/tests/test_ssim.py Outdated Show resolved Hide resolved
bluecellulab-bb5-tests/tests/test_ssim_gpfs.py Outdated Show resolved Hide resolved
bluecellulab-bb5-tests/tests/test_ssim_gpfs.py Outdated Show resolved Hide resolved
bluecellulab-bb5-tests/tests/test_ssim_gpfs.py Outdated Show resolved Hide resolved
assert len(series1) == len(series2), "The series have different lengths."

# Iterate over each pair of elements
for i in range(len(series1)):
Copy link
Contributor

Choose a reason for hiding this comment

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

should we use enumerate and zip here? or do you not care enough to change it think it is alright like that?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I have changed it to enumerate and zip ;)

@darshanmandge
Copy link
Contributor

Could you add the license comment block at the head of every script file (python and sh)? Also could you check the license of the circuits that have already been open sourced (@darshanmandge knew about them I think). If the license is different we'll have to mention it in the LICENSE.txt file I believe, like we did for the mod files.

Some of the circuits are here. You might have check for the ones you want

@@ -0,0 +1,62 @@
:Ih current for thalamic interneurons
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you add a note in README.md file of this folder with details of where these mod files come from, date added and which files are added.

Copy link
Contributor

Choose a reason for hiding this comment

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

I think Aurélien maybe already mentioned it -- Can you add licenses to each new file being added: hoc, mod, py. However, I am not sure about it if we need to do it for other files too?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done in the last commit

@AurelienJaquier
Copy link
Contributor

Could you add the license comment block at the head of every script file (python and sh)? Also could you check the license of the circuits that have already been open sourced (@darshanmandge knew about them I think). If the license is different we'll have to mention it in the LICENSE.txt file I believe, like we did for the mod files.

Some of the circuits are here. You might have check for the ones you want

We only have example 2-cells circuit in this PR. I had a quick look at your link, I don't think they have been released yet. So I think we probably can apply BlueCelluLab's license to them also, meaning we don't need to do anything more for the licensing of the circuits.

@darshanmandge
Copy link
Contributor

could add in PR description what is added here and what these tests do?

Copy link
Contributor

@darshanmandge darshanmandge left a comment

Choose a reason for hiding this comment

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

thanks @ilkilic !

Copy link
Contributor

@AurelienJaquier AurelienJaquier left a comment

Choose a reason for hiding this comment

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

The initial commit of this github repo is 2023, so files that were there in the initial commit should have 2023-2024 in their license

@@ -1,12 +1,26 @@
#!/bin/sh

# Copyright 2012-2024 Blue Brain Project / EPFL
Copy link
Contributor

Choose a reason for hiding this comment

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

2012? I think it should be 2023-2024


## Description

This folder contains tests for bluecellulab on the large circuits located on bb5. Please note that these tests are not directly usable as they are due to dependencies.
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you add a comma here?
not directly usable as they are, due to dependencies

@@ -1,3 +1,16 @@
# Copyright 2012-2024 Blue Brain Project / EPFL
Copy link
Contributor

Choose a reason for hiding this comment

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

2023-2024

@@ -1,3 +1,16 @@
# Copyright 2012-2024 Blue Brain Project / EPFL
Copy link
Contributor

Choose a reason for hiding this comment

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

2023-2024

@@ -1,3 +1,16 @@
# Copyright 2012-2024 Blue Brain Project / EPFL
Copy link
Contributor

Choose a reason for hiding this comment

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

2023-2024

@@ -1,3 +1,16 @@
# Copyright 2012-2024 Blue Brain Project / EPFL
Copy link
Contributor

Choose a reason for hiding this comment

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

2023-2024

@@ -1,3 +1,16 @@
# Copyright 2012-2024 Blue Brain Project / EPFL
Copy link
Contributor

Choose a reason for hiding this comment

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

2023-2024

@@ -1,3 +1,16 @@
# Copyright 2012-2024 Blue Brain Project / EPFL
Copy link
Contributor

Choose a reason for hiding this comment

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

2023-2024

@@ -1,3 +1,16 @@
# Copyright 2012-2024 Blue Brain Project / EPFL
Copy link
Contributor

Choose a reason for hiding this comment

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

2023-2024

Copy link
Contributor

@AurelienJaquier AurelienJaquier left a comment

Choose a reason for hiding this comment

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

looks good, thanks!

@ilkilic ilkilic merged commit 511ea26 into main Aug 6, 2024
9 checks passed
@ilkilic ilkilic deleted the bb5-tests branch August 6, 2024 12:06
AurelienJaquier added a commit that referenced this pull request Aug 9, 2024
* add cvode argument to apply_multiple_stimuli (#191)

Co-authored-by: Jaquier Aurélien Tristan <[email protected]>

* Feat: support custom node sets defined in simulation config (#192)

* Add holding current to apply_multiple_stimuli (#193)

Co-authored-by: Jaquier Aurélien Tristan <[email protected]>

* Correct 'projections' for get_syn_descriptions (#187)

* add contributing guidelines (#190)

* replace amp_cv with relative_skew (#195)

* remove double CircuitSimulation (#196)

Co-authored-by: Jaquier Aurélien Tristan <[email protected]>

* CI(dependabot): Bump anothrNick/github-tag-action from 1.69.0 to 1.70.0 (#198)

Bumps [anothrNick/github-tag-action](https://github.com/anothrnick/github-tag-action) from 1.69.0 to 1.70.0.
- [Release notes](https://github.com/anothrnick/github-tag-action/releases)
- [Commits](anothrNick/github-tag-action@1.69.0...1.70.0)

---
updated-dependencies:
- dependency-name: anothrNick/github-tag-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* add bb5-tests (#197)

* add bb5-tests

* remove gitlab-ci.yml

* remove duplicate mod files for bb5-tests and merge them into the 'tests' folder

* mod files info

* add license header

* update Makefile

* update readme

* Fix: Add missing 'units' attribute to timestamp in example test HDF5 file (#200)

* add gh action for paper draft

* add paper markdown

* update draft-pdf.yml

* fix yaml error in paper.md

* add explanation to draft-pdf.yml

* delete .gitlab-ci.yml for joss-paper

* reword draft-pdf rule

* trigger draft-pdf in any push

* add doi for the unix programming env

* add doi for agile software development Martin

* add doi for parnas1972criteria

* add explanation for figure1

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Aurélien Jaquier <[email protected]>
Co-authored-by: Jaquier Aurélien Tristan <[email protected]>
Co-authored-by: ilkilic <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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.

4 participants