Skip to content

units definitions#186

Merged
nrnhines merged 2 commits into
masterfrom
ramcdougal-units
Apr 18, 2019
Merged

units definitions#186
nrnhines merged 2 commits into
masterfrom
ramcdougal-units

Conversation

@ramcdougal

Copy link
Copy Markdown
Member

Allows writing, e.g.

ca = rxd.Species(cyt, name='ca', charge=2, initial = 100 * uM)

T1degradation = rxd.Rate(T1, -0.01 * nM / hour * T1)

Allows writing, e.g.

ca = rxd.Species(cyt, name='ca', charge=2, initial = 100 * uM)

T1degradation = rxd.Rate(T1, -0.01 * nM / hour * T1)
Done in a way that's harmless in Python2.

Allows (in Python 3):

ca = rxd.Species(cyt, charge=2, name='ca', initial = 100 * μM)
@nrnhines nrnhines merged commit 8034d72 into master Apr 18, 2019
@nrnhines nrnhines deleted the ramcdougal-units branch October 5, 2019 08:22
olupton pushed a commit that referenced this pull request Dec 7, 2022
  - old notes / docs NOTES.md and CodeGen.md removed
  - removed examples from test/input and added new mod files
     under share/example
  - install examples under share/example
  - add python api nmodl.example_dir (useful for tutorial)
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