Code Monkey home page Code Monkey logo

Comments (11)

effigies avatar effigies commented on July 17, 2024 1

Well, as long as you keep the old name as an alias for a couple versions, that shouldn't be a problem.

from fitlins.

effigies avatar effigies commented on July 17, 2024

What does loop_preproc do? This is the first I've heard of bids.configs.

I'm not opposed, in principle.

from fitlins.

adelavega avatar adelavega commented on July 17, 2024

Its so that bids.analysis loops over preproc files rather than raw bold files when loading variables into collections. That way you don't need the raw data, only the fmriprep output

Bids config is new, but allows you to tweak such behavior that may be too niche for a functions API

from fitlins.

tyarkoni avatar tyarkoni commented on July 17, 2024

Might be worth renaming that option to use_preproc_images, I think the loop part is potentially confusing.

from fitlins.

tyarkoni avatar tyarkoni commented on July 17, 2024

Or maybe validate_preproc_images.

from fitlins.

effigies avatar effigies commented on July 17, 2024

Oh, I see. I thought that had been handled automatically, rather than via a special config option.

That's almost certainly what we want in FitLins in general, so I don't see a need for a special option. We should just do it here. If it turns out we need to index the original dataset instead, we can add an option then.

from fitlins.

effigies avatar effigies commented on July 17, 2024

Bids config is new, but allows you to tweak such behavior that may be too niche for a functions API

I'm super wary of global hidden state. It's a great way for order of module loading to affect behavior, which is a debugging nightmare.

from fitlins.

adelavega avatar adelavega commented on July 17, 2024

Yeah fair, although some global parameters are useful. I'm fine renaming that option as Tal suggests, and also agree it's good default behavior for FitLins. I would be fine moving it to a API parameter to load_variables

from fitlins.

effigies avatar effigies commented on July 17, 2024

@adelavega What's needed to move FitLins to using preproc? Is it just the config option, or do I need to adjust anything else?

from fitlins.

adelavega avatar adelavega commented on July 17, 2024

Just the config option should be enough.

See: https://github.com/neuroscout/neuroscout-cli/blob/fec99558457c9537e3674c2e251c7664edc42f28/neuroscout_cli/commands/run.py#L53

from fitlins.

adelavega avatar adelavega commented on July 17, 2024

(Although I should probably rename it, as Tal pointed out)

from fitlins.

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.