Closed marcelzwiers closed 2 years ago
Hi @marcelzwiers , thanks for giving spec2nii a go. You are right, stderr doesn't seem like a good place to output the read progress to. I'll take a look as whether that can be changed.
It seems to be what https://github.com/tqdm/tqdm does by default, with this included via the pymapvbvd package.
For my own notes. It seems that passing file=sys.stdout
to the main tqdm call in pymapvbvd will change where the progress output is sent.
This should now be fixed in pyMapVBVD 0.4.6 which is now on PyPi and will be published on conda-forge soon.
Running
spec2nii twix
runs without error (i.e. with error code / exit status = 0):However, it outputs statistics output on stderr:
This is of course not a big problem, but I believe it is not good practice (and it provokes a warning in the (unreleased/experimental) spec2nii plugin I wrote for my BIDScoin application)