Git Product home page Git Product logo

myelin_map's People

Contributors

petergoodin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

myelin_map's Issues

reg_trans_Composite.h5 not found

Hi, I am testing your pipeline using a single subject. Dependencies have been installed. E,g, ants.

However the script gets stuck at this function ants_reg in myelin_map_funcs.py. This is the output:

python myelin_map_run.py 
Number of subjects to be processed: 1
Processing data for subj sub-A00000368
Directory /home/isaac/myelin_map/out exists. Not creating

Directory /home/isaac/myelin_map/out/sub-A00000368 already exists. Not creating.

Working dir: /home/isaac/myelin_map/out/sub-A00000368
sub-A00000368 {'t1': 1, 't2': 1}
240411-13:56:01,562 nipype.interface INFO:
	 stdout 2024-04-11T13:56:01.562138:ERROR:  Invalid flag provided use-estimate-learning-rate-once
240411-13:56:01,562 nipype.interface INFO:
	 stdout 2024-04-11T13:56:01.562138:ERROR:  Invalid flag provided use-estimate-learning-rate-once
240411-13:56:01,562 nipype.interface INFO:
	 stdout 2024-04-11T13:56:01.562138:ERROR:  Invalid flag provided use-estimate-learning-rate-once
240411-13:56:01,562 nipype.interface INFO:
	 stderr 2024-04-11T13:56:01.562350:ERROR:  Invalid command line flags found! Aborting execution.
Traceback (most recent call last):
  File "/home/isaac/Documents/school/6-phd/wisc/miniconda3/envs/myelin/lib/python3.10/site-packages/nipype/interfaces/base/core.py", line 453, in aggregate_outputs
    setattr(outputs, key, val)
  File "/home/isaac/Documents/school/6-phd/wisc/miniconda3/envs/myelin/lib/python3.10/site-packages/nipype/interfaces/base/traits_extension.py", line 330, in validate
    value = super(File, self).validate(objekt, name, value, return_pathlike=True)
  File "/home/isaac/Documents/school/6-phd/wisc/miniconda3/envs/myelin/lib/python3.10/site-packages/nipype/interfaces/base/traits_extension.py", line 135, in validate
    self.error(objekt, name, str(value))
  File "/home/isaac/Documents/school/6-phd/wisc/miniconda3/envs/myelin/lib/python3.10/site-packages/traits/base_trait_handler.py", line 74, in error
    raise TraitError(
traits.trait_errors.TraitError: The 'composite_transform' trait of a RegistrationOutputSpec instance must be a pathlike object or string representing an existing file, but a value of '/home/isaac/myelin_map/out/sub-A00000368/reg_trans_Composite.h5' <class 'str'> was specified.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/isaac/myelin_map/myelin_map_run.py", line 51, in <module>
    myelin_map_proc(subj = subj_dirs[0], n_cores = n_cores, raw_dir = raw_dir, output_dir = output_dir, patterns = patterns, n_scans = n_scans, dcm_suffix = dcm_suffix, fwhm_list = fwhm_list)
  File "/home/isaac/myelin_map/myelin_map_funcs.py", line 727, in myelin_map_proc
    reg_output = ants_reg(fixed = t1_subj_nii, moving = t1_im_mni_fn, output_dir = out_subj_dir)
  File "/home/isaac/myelin_map/myelin_map_funcs.py", line 223, in ants_reg
    reg_results = reg.run()
  File "/home/isaac/Documents/school/6-phd/wisc/miniconda3/envs/myelin/lib/python3.10/site-packages/nipype/interfaces/base/core.py", line 400, in run
    outputs = self.aggregate_outputs(runtime)
  File "/home/isaac/Documents/school/6-phd/wisc/miniconda3/envs/myelin/lib/python3.10/site-packages/nipype/interfaces/base/core.py", line 460, in aggregate_outputs
    raise FileNotFoundError(msg)
FileNotFoundError: No such file or directory '/home/isaac/myelin_map/out/sub-A00000368/reg_trans_Composite.h5' for output 'composite_transform' of a Registration interface

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.