Giter VIP home page Giter VIP logo

Comments (3)

Remi-Gau avatar Remi-Gau commented on June 14, 2024

So both userInput and createFilename will start by calling checkCfg to make create any of the default missing fields.

This is not a big issue for userInput: it will run even if no cfg is given as input.

createFilename only requires cfg.task.name to be defined to run.

So as a user you can set the content of most fields before OR after having run those functions: if you run it after you can override the default, if done before checkCFG will keep whatever you gave it.

But you are right that it would be nice to have it in the doc just to be clear.

Feel free to copy paste the content of this issue thread rather than retype it from scratch: some doc is better than no doc.

from cpp_bids.

Remi-Gau avatar Remi-Gau commented on June 14, 2024

Where to put things:

I think this could be added to the function_description.md:

userInput and createFilename will start by calling checkCfg to make create any of the default missing fields.

The rest of the details about how to use it... I am thinking could maybe be best placed in the jupyter notebook, no?

Maybe after Creating BIDS paths and filenames in the basic_usage notebook?

from cpp_bids.

CerenB avatar CerenB commented on June 14, 2024

Yes I was thinking the same place to add such info.
True, it will overwrite and/or only create default parameters if the field is missing. Nevertheless, one sentence would safe the suer some time.

Interesting, I do not know how to update notebook. Hah, I'll check!

from cpp_bids.

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.