mattcieslak / dmri_convert Goto Github PK
View Code? Open in Web Editor NEWCode for converting between MRtrix and DSI Studio
License: BSD 3-Clause "New" or "Revised" License
Code for converting between MRtrix and DSI Studio
License: BSD 3-Clause "New" or "Revised" License
Hi,
I'm trying to use dsistudio_to_mrtrix(), but I've the following error:
87 np.savetxt(dirs_txt, np.column_stack([phi, theta])) 88 ---> 89 popen_run(["amp2sh", "-force", "-directions", dirs_txt, "odf_values.nii", sh_mif]) 90 os.remove("odf_values.nii")
15 16 def popen_run(arg_list): ---> 17 cmd = subprocess.Popen(arg_list, stdout=subprocess.PIPE, 18 stderr=subprocess.PIPE) 19 out, err = cmd.communicate()
~/opt/anaconda3/lib/python3.8/subprocess.py in __init__(self, args, bufsize, executable, stdin, stdout, stderr, preexec_fn, close_fds, shell, cwd, env, universal_newlines, startupinfo, creationflags, restore_signals, start_new_session, pass_fds, encoding, errors, text) 852 encoding=encoding, errors=errors) 853 --> 854 self._execute_child(args, executable, preexec_fn, close_fds, 855 pass_fds, cwd, env, 856 startupinfo, creationflags, shell,
`~/opt/anaconda3/lib/python3.8/subprocess.py in _execute_child(self, args, executable, preexec_fn, close_fds, pass_fds, cwd, env, startupinfo, creationflags, shell, p2cread, p2cwrite, c2pread, c2pwrite, errread, errwrite, restore_signals, start_new_session)
1700 if errno_num != 0:
1701 err_msg = os.strerror(errno_num)
-> 1702 raise child_exception_type(errno_num, err_msg, err_filename)
1703 raise child_exception_type(err_msg)
1704
FileNotFoundError: [Errno 2] No such file or directory: 'amp2sh'`
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.