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

Optional loading of user prms #165

Open
jepegit opened this issue Aug 7, 2021 · 1 comment
Open

Optional loading of user prms #165

jepegit opened this issue Aug 7, 2021 · 1 comment
Milestone

Comments

@jepegit
Copy link
Owner

jepegit commented Aug 7, 2021

Loading the prms (the user config file) should not be done if cellpy is used purely as a library.
Only the following "API"s should load as default:

# the cellpy get function
cellpy.get()

# the batch utility
b = batch.init()

# other "large" utilities (when they get implemented), for example
cellpy.live()  # monitor (a) running experiment(s)

# most likely the easyplot should also load the prms
cellpy.utils.easyplot()
@jepegit jepegit added this to the v.0.5.0 milestone Aug 7, 2021
@jepegit jepegit modified the milestones: v.0.5.0, v.0.6.0 Sep 15, 2021
@jepegit jepegit modified the milestones: v.0.6.0, v.1.1.0 Sep 29, 2022
@jepegit
Copy link
Owner Author

jepegit commented Mar 9, 2023

Consider splitting core cellpy features and utils etc

# Using cellpy only as a library:
import cellpy  # only imports core

# Using cellpy as an app:
import cellpy.something as clp  # matplotlib-like solution - loads prms etc
# or
cellpy.init() # or somthing similar - loads prms etc

@asbjorul: what do you think?

@jepegit jepegit modified the milestones: v.1.1.0, v2.0.0 Jun 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant