Macatools/macapype

[nodes/bash_regis] Create a function that give the path of the bash directory

BastienCagna opened this issue · 1 comments

[nodes/bash_regis] Create a function that give the path of the bash directory

Done, the directory bash is now called in all wraps of nodes calling it, e.g.:
`

package_directory = os.path.dirname(os.path.abspath(__file__))
_cmd = 'bash {}/../bash/T1xT2BiasFieldCorrection.sh'.format(
    package_directory)

`