-
Notifications
You must be signed in to change notification settings - Fork 14
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
how to run power example? #31
Comments
I put sub-0003_task-rest_run-01_meg_raw_filt_dsamp_ica.fif in the Dropbox :) |
hmm ... now my script is stuck. Output so far. In [1]: %run examples/plot_02_power.py
*** main_path -> /home/mainak/Desktop/projects/github_repos/BIDS-examples/sample_BIDS_omega ***
180916-22:30:49,489 nipype.workflow INFO:
Generated workflow graph: /home/mainak/Desktop/projects/github_repos/BIDS-examples/sample_BIDS_omega/power_pipeline/graph.png (graph2use=colored, simple_form=True).
180916-22:30:49,630 nipype.workflow INFO:
Workflow power_pipeline settings: ['check', 'execution', 'logging', 'monitoring']
180916-22:30:49,687 nipype.workflow INFO:
Running in parallel.
180916-22:30:49,704 nipype.workflow INFO:
[MultiProc] Running 0 tasks, and 1 jobs ready. Free memory (GB): 27.95/27.95, Free processors: 3/3.
180916-22:30:49,788 nipype.workflow INFO:
[Node] Setting-up "power_pipeline.datasource" in "/home/mainak/Desktop/projects/github_repos/BIDS-examples/sample_BIDS_omega/power_pipeline/_sess_index_ses-0001_subject_id_sub-0003/datasource".
180916-22:30:49,812 nipype.workflow INFO:
[Node] Running "datasource" ("nipype.interfaces.io.DataGrabber")
180916-22:30:49,823 nipype.workflow INFO:
[Node] Finished "power_pipeline.datasource".
180916-22:30:51,694 nipype.workflow INFO:
[Job 0] Completed (power_pipeline.datasource).
180916-22:30:51,698 nipype.workflow INFO:
[MultiProc] Running 0 tasks, and 1 jobs ready. Free memory (GB): 27.95/27.95, Free processors: 3/3.
180916-22:30:51,776 nipype.workflow INFO:
[Node] Setting-up "power_pipeline.power.power" in "/home/mainak/Desktop/projects/github_repos/BIDS-examples/sample_BIDS_omega/power_pipeline/power/_sess_index_ses-0001_subject_id_sub-0003/power".
180916-22:30:51,814 nipype.workflow INFO:
[Node] Running "power" ("ephypype.interfaces.mne.power.Power")
in Power
Opening raw data file /home/mainak/Desktop/projects/github_repos/BIDS-examples/sample_BIDS_omega/sub-0003/ses-0001/meg/sub-0003_task-rest_run-01_meg_raw_filt_dsamp_ica.fif...
ephypype/power.py:18: RuntimeWarning: This filename (/home/mainak/Desktop/projects/github_repos/BIDS-examples/sample_BIDS_omega/sub-0003/ses-0001/meg/sub-0003_task-rest_run-01_meg_raw_filt_dsamp_ica.fif) does not conform to MNE naming conventions. All raw files should end with raw.fif, raw_sss.fif, raw_tsss.fif, raw.fif.gz, raw_sss.fif.gz or raw_tsss.fif.gz
epochs = read_raw_fif(data_fname, preload=True)
This filename (/home/mainak/Desktop/projects/github_repos/BIDS-examples/sample_BIDS_omega/sub-0003/ses-0001/meg/sub-0003_task-rest_run-01_meg_raw_filt_dsamp_ica.fif) does not conform to MNE naming conventions. All raw files should end with raw.fif, raw_sss.fif, raw_tsss.fif, raw.fif.gz, raw_sss.fif.gz or raw_tsss.fif.gz
Read 5 compensation matrices
Range : 0 ... 479999 = 0.000 ... 599.999 secs
Ready.
Current compensation grade : 3
Reading 0 ... 479999 = 0.000 ... 599.999 secs...
180916-22:30:53,694 nipype.workflow INFO:
[MultiProc] Running 1 tasks, and 0 jobs ready. Free memory (GB): 27.75/27.95, Free processors: 2/3.
Currently running:
* power_pipeline.power.power
Effective window size : 0.320 (s)
(270, 48)
*** save /home/mainak/Desktop/projects/github_repos/BIDS-examples/sample_BIDS_omega/power_pipeline/power/_sess_index_ses-0001_subject_id_sub-0003/power/sub-0003_task-rest_run-01_meg_raw_filt_dsamp_ica-psds.npz *** |
HI @jasmainak I have just run the power analysis and it works for me. I don't understand the problem. @davidmeunier79 @dmalt some idea? |
|
` |
@annapasca did you try using my environment file that I provided in this comment? You can save it in an $ conda env create -f environment.yml Then activate the environment and run the examples again ... |
I suspect though that it's not related to the environment, just the data files. So, we should try to fix automatic dataset fetching. This is done in my pull request #30 . Let us test it and make it work ... |
Okay I think this issue can be closed now. |
I get the following error on the power example:
@annapasca it's asking for
ica
files. Where do I get them from?The text was updated successfully, but these errors were encountered: