Skip to content

SonataConfig.parsedRun: rework#469

Merged
cattabiani merged 24 commits intomainfrom
katta/parsedRun_rework
Feb 6, 2026
Merged

SonataConfig.parsedRun: rework#469
cattabiani merged 24 commits intomainfrom
katta/parsedRun_rework

Conversation

@cattabiani
Copy link
Contributor

@cattabiani cattabiani commented Jan 9, 2026

Description

Fix #453

Scope

  • run_conf is a dataclass: RunConfig (mutable) instead of a dict
  • _single_vesicle validator: removed, unused
  • _second_order is always in 0, 1, 2. No need to validate. Libsonata already does that
  • _randomize_gaba_risetime validator: removed, unused
  • change accessors in the code
  • remove deprecated ElectrodePath

@cattabiani cattabiani self-assigned this Jan 9, 2026
@cattabiani cattabiani marked this pull request as ready for review January 9, 2026 13:43
Copy link
Collaborator

@WeinaJi WeinaJi 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. Just one comment.

@cattabiani cattabiani requested a review from WeinaJi February 6, 2026 09:19
Copy link
Collaborator

@WeinaJi WeinaJi left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks!

@cattabiani cattabiani merged commit e20fce4 into main Feb 6, 2026
19 checks passed
@cattabiani cattabiani deleted the katta/parsedRun_rework branch February 6, 2026 11:59
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.

SonataConfig.parsedRun: dict -> config object

2 participants