mathieulagrange / doce

Doce is a python library designed to help you handling the complexity of computational experiments.
Apache License 2.0
8 stars 2 forks source link

Launching Doce experiments inside Python scripts #215

Closed ax-le closed 1 month ago

ax-le commented 1 month ago

Hi! This may be a naïve issue, so I apologize if the information was easily available.

I am opening this issue to understand how one could launch an experiment using only Python code, and not the CLI. In particular, I didn't find information in the documentation that such Python code is (conveniently) proposed to users.

To be extremely clear: is there a python version for "python3 my_doceexperiment.py -c" which could be coded inside a main? (A python version that does not involve a workaround such as "os.system(python3 my_doceexperiment.py -c".)

Thanks in advance!

mathieulagrange commented 1 month ago

checkout the new version on GitHub and look at the demo_nocli.py in the examples.

Is it doing what you need ?

ax-le commented 1 month ago

Yes it is, thanks! Will you include the feature in the next release? It would help me a lot.

ax-le commented 1 month ago

I guess we can close the issue for now. Thanks again!