qsiprep icon indicating copy to clipboard operation
qsiprep copied to clipboard

Error loading yml plugin using 0.16.ORc3

Open WilliamFCB opened this issue 2 years ago • 2 comments

Hi Matt, I started trying out 0.16.ORC3

The script apparently halted already when it tried to load a ..qsiprep_plugin.yml file

Traceback (most recent call last): File "/usr/local/miniconda/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap self.run() File "/usr/local/miniconda/lib/python3.8/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/usr/local/miniconda/lib/python3.8/site-packages/qsiprep/cli/run.py", line 851, in build_qsiprep_workflow plugin_settings = loadyml(f) TypeError: load() missing 1 required positional argument: 'Loader'

A quick and dirty web search suggested that this might be solved by using yaml.safe_load(f) instead of yaml.load(f)

thanks William

WilliamFCB avatar Jun 21 '22 06:06 WilliamFCB

@WilliamFCB could you try pennbbl/qsiprep:unstable? This has the fix you proposed and should solve this issue

mattcieslak avatar Jul 12 '22 17:07 mattcieslak

Hi Matt,

Many thanks, I will give it a go!

WilliamFCB avatar Jul 15 '22 07:07 WilliamFCB

Closing for now, please reopen if it's not resolved

mattcieslak avatar Jan 12 '24 04:01 mattcieslak