Skip to content

Seed default parameter - #225

Merged
jajcayn merged 6 commits into
neurolib-dev:masterfrom
lenasal:seed_defaultParameter
Nov 3, 2022
Merged

jajcayn merged 6 commits into
neurolib-dev:masterfrom
lenasal:seed_defaultParameter

Conversation

@lenasal

@lenasal lenasal commented Oct 19, 2022

Copy link
Copy Markdown
Collaborator

Corrected the typo in the loadDefaultParameters.py file of the Hopf model. Previously, seed was set to 0 by default, which made the random numbers predictable, and resulted in the same simulation results repeatedly.

@codecov

codecov Bot commented Oct 19, 2022 •

Copy link
Copy Markdown

Codecov Report

Base: 94.96% // Head: 94.98% // Increases project coverage by +0.02% 🎉

Coverage data is based on head (21fda9f) compared to base (0db88b5).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #225      +/-   ##
==========================================
+ Coverage   94.96%   94.98%   +0.02%     
==========================================
  Files          51       51              
  Lines        4427     4425       -2     
==========================================
- Hits         4204     4203       -1     
+ Misses        223      222       -1     
Flag Coverage Δ
unittests 94.98% <100.00%> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
neurolib/models/hopf/loadDefaultParams.py 100.00% <100.00%> (+2.50%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@jajcayn

jajcayn commented Nov 2, 2022 •

Copy link
Copy Markdown
Collaborator

so erroring tests:
python 3.6 is doomed, cannot install some necessary packages... maybe it's time to drop 3.6 support?
only need to upgrade setuptools for newest version before installing other packages:)

3.8 failing tests - investigating now

@jajcayn

jajcayn commented Nov 2, 2022

Copy link
Copy Markdown
Collaborator

@lenasal I was able to fix tests (now working on the last failing notebook) in my neurolib branch...
After I am done, I'll open a PR, when merged, you can rebase your branch on new master and then tests should be fine:)

@lenasal lenasal closed this Nov 3, 2022
@lenasal lenasal reopened this Nov 3, 2022

@jajcayn jajcayn left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM, finally merging:)

@jajcayn
jajcayn merged commit 95b660d into neurolib-dev:master Nov 3, 2022
@lenasal
lenasal deleted the seed_defaultParameter branch November 14, 2022 13:27
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.

2 participants