GithubHelp home page GithubHelp logo

Parameter Exploration Example about docs HOT 2 CLOSED

ptheywood avatar ptheywood commented on July 17, 2024
Parameter Exploration Example

from docs.

Comments (2)

ptheywood avatar ptheywood commented on July 17, 2024 1

Output file path as of 1.5 can effectively be set, by providing a path to a directory rather than any 0.xml file, in which case command line args could be an option, and as you suggest probably be cleaner for batch running.

We would need to decide on order of precedence if this were to be implemented, I would guess that command line would override XML file which overrides defaultValue.

As for argument syntax I agree we probably need to prefix with --environment or -e and follow with a keyvalue pair, though I would probably choose radius=5 rather than : . We could then support comma separated lists per -e so the following would be valid options:

  • --environment radius=10 --environment seed=12
  • -e radius=10 -e seed=12
  • -e radius=10,seed=12

Which as you suggest should not be too difficult to parse. I don't think we need to worry about constant names containing = or , either as then the file would not even compile (although the message won't be particurlaly clear to the user, perhaps the name should be XML validated via regex to only contain [a-zA-Z0-9_] although in addition it should not start with a number either...

from docs.

Robadob avatar Robadob commented on July 17, 2024

from docs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.