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

Abbreviations #29

Open
kaizu opened this issue Dec 15, 2017 · 1 comment
Open

Abbreviations #29

kaizu opened this issue Dec 15, 2017 · 1 comment
Labels
enhancement New feature or request proposal

Comments

@kaizu
Copy link
Member

kaizu commented Dec 15, 2017

Some names in the ecell4 module seems too long. Give a shorter name.

from ecell4.abbr import *

with attr():
    A | B | C | {'D': 1, 'R': 0.005}

with rules():
    A + B > C | 1.0

run(10.0)
@kaizu
Copy link
Member Author

kaizu commented Dec 15, 2017

i3  # Integer3
r3 # Real3
Sp  #  Species? or just enable to use str anywhere
Rule  # ReactionRule?
gil.Simulator  # gillespie.GillespieSimulator
spa.World.add  # spatiocyte.SpatiocyteWorld.add_molecules

Anything else? See also: https://github.com/ecell/ecell4/issues/139

@kaizu kaizu closed this as completed Dec 15, 2017
@kaizu kaizu reopened this Dec 15, 2017
kaizu referenced this issue in ecell/ecell4_base Oct 30, 2018
kaizu referenced this issue in ecell/ecell4_base Oct 30, 2018
@kaizu kaizu transferred this issue from ecell/ecell4_base Feb 15, 2019
@kaizu kaizu added enhancement New feature or request proposal labels Feb 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request proposal
Projects
None yet
Development

No branches or pull requests

1 participant