Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

running nirodents on ubuntu #50

Open
eriktaylor opened this issue Nov 22, 2021 · 2 comments
Open

running nirodents on ubuntu #50

eriktaylor opened this issue Nov 22, 2021 · 2 comments
Labels
bug Something isn't working documentation Improvements or additions to documentation

Comments

@eriktaylor
Copy link

hello,

i am trying to run the artsbrainextraction on the Ubuntu terminal.

when i run the script, i get the error:

Could not determine the BIDS root of <{path}>. "\n', 'ValueError: Could not determine the BIDS root of . Only files under a subject directory are currently supported.

Also, how can the script be run from python? I followed the example, tutorial.ipynb notebook, but i get the following error with code from the tutorial notebook:

from ratants_clean import init_brain_extraction_wf
ModuleNotFoundError: No module named 'ratants_clean'

@eilidhmacnicol
Copy link
Collaborator

Hi @eriktaylor - thanks for your message.

Can you please provide an example of the command line you are using which gives you the BIDS root error? Have you tried assessing your directory structure with the BIDS Validator? Otherwise, we know of an issue (#46) that has yet to be addressed which means that the file passed needs to have an absolute path. While this would be a trivial change, we are still a small team and we have had some bigger issues taking precedence.

> from ratants_clean import init_brain_extraction_wf
ModuleNotFoundError: No module named 'ratants_clean'

Thanks for spotting this - it is an outdated version that needs updating ASAP. The brain extraction workflow can now be found in nirodents.workflows.brainextraction:

def init_rodent_brain_extraction_wf(

Thus, it would be called using:
from nirodents.workflows.brainextraction import init_brain_extraction_wf

@eilidhmacnicol eilidhmacnicol added bug Something isn't working documentation Improvements or additions to documentation labels Nov 23, 2021
@eilidhmacnicol
Copy link
Collaborator

Okay, the tutorial has been updated.

Let me know re: BIDs directory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants