question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Expose parameter management function

See original GitHub issue

The parameter command line interface requires users to use bash. However, there are some python functions defined in parameters_cli.py that we could expose so that e.g. instead of

%%bash
pybamm_edit_parameter lithium_ion

you can just do

pybamm.edit_parameter(["lithium_ion"])

directly in python.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
soma2000-langcommented, Feb 12, 2022

Working on this issue@rtimms

0reactions
tinosulzercommented, Oct 5, 2022

edit_parameter function will be removed now that all parameters are specified by single python files, which makes it pretty intuitive how to specify your own (to be done after #2334 is merged)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Expose Parameters
Every graph's properties has a section called Input Parameters. This section acts as a central place to manage all exposed parameters.
Read more >
Expose Transformation Parameters as Mapping Parameters
The instance value of a parameter is the parameter value to use in a specific mapping or mapplet. When you expose a transformation...
Read more >
How to set optional parameter from Azure API ...
The Logic App executes a SELECT statement and returns me some rows, and I'm using Azure API management to expose these rows to...
Read more >
Task definition parameters
Task definitions are split into separate parts: the task family, the IAM task role, the network mode, container definitions, volumes, task placement ...
Read more >
Configuration Parameter - an overview
There is an ongoing trend toward using Extensible Markup Language (XML) based databases for configuration management data, as they allow for convenient and ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found