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

[BBPBGLIB-1122] Removing legacy RNGs, leaving only Random123 #136

Merged
merged 6 commits into from
May 28, 2024

Conversation

atemerev
Copy link
Contributor

Removing legacy RNGs and the ability to configure RNGs. Random123 is chosen everywhere as the only option.

Context

RNG types differing from Random123 are no longer used and removed from everywhere (including configuration).

Scope

RNGSettings.hoc (removed RNGmode and all related constants), configuration.py, random.py, and corresponding usages.

Testing

Write a test that raises exception in attempt to configure RNG mode.

Review

  • PR description is complete
  • Coding style (imports, function length, New functions, classes or files) are good
  • Unit/Scientific test added
  • Updated Readme, in-code, developer documentation

@bbpbuildbot

This comment has been minimized.

@bbpbuildbot

This comment has been minimized.

@bbpbuildbot

This comment has been minimized.

ferdonline pushed a commit to BlueBrain/neurodamus-models that referenced this pull request Mar 13, 2024
….hoc

Currently, UPMCELLRAN and COMPATIBILITY RNGs are deprecated and should not be used. Their support is now being removed from Neurodamus, and their uses needs to be removed from HOC files here as well.

Related to BlueBrain/neurodamus/pull/136
ferdonline pushed a commit to BlueBrain/neurodamus-models that referenced this pull request Mar 13, 2024
….hoc

Currently, UPMCELLRAN and COMPATIBILITY RNGs are deprecated and should not be used. Their support is now being removed from Neurodamus, and their uses needs to be removed from HOC files here as well.

Related to BlueBrain/neurodamus/pull/136
@bbpbuildbot

This comment has been minimized.

@WeinaJi WeinaJi force-pushed the atemerev/rng-random123-only branch from a05e4c4 to 2e7f35d Compare April 25, 2024 14:54
@WeinaJi WeinaJi force-pushed the atemerev/rng-random123-only branch from 2e7f35d to a6baddd Compare May 2, 2024 12:28
@bbpbuildbot

This comment has been minimized.

@bbpbuildbot

This comment has been minimized.

neurodamus/core/random.py Outdated Show resolved Hide resolved
@WeinaJi WeinaJi marked this pull request as ready for review May 24, 2024 13:06
@bbpbuildbot

This comment has been minimized.

@bbpbuildbot

This comment has been minimized.

neurodamus/core/random.py Outdated Show resolved Hide resolved
@bbpbuildbot

This comment has been minimized.

@bbpbuildbot

This comment has been minimized.

@bbpbuildbot

This comment has been minimized.

@atemerev atemerev force-pushed the atemerev/rng-random123-only branch from 3f5ca1a to 07f0e06 Compare May 27, 2024 15:33
@bbpbuildbot
Copy link

@atemerev atemerev merged commit b302ede into main May 28, 2024
15 checks passed
@atemerev atemerev deleted the atemerev/rng-random123-only branch May 28, 2024 08:01
WeinaJi pushed a commit that referenced this pull request Oct 14, 2024
Removing legacy RNGs and the ability to configure RNGs. Random123 is
chosen everywhere as the only option.

## Context

RNG types differing from Random123 are no longer used and removed from
everywhere (including configuration).

## Scope

RNGSettings.hoc (removed RNGmode and all related constants),
configuration.py, random.py, and corresponding usages.

## Testing

Write a test that raises exception in attempt to configure RNG mode.

## Review
* [X] PR description is complete
* [X] Coding style (imports, function length, New functions, classes or
files) are good
* [ ] Unit/Scientific test added
* [ ] Updated Readme, in-code, developer documentation
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