Skip to content

Conversation

@Lestropie
Copy link
Member

Likely resolves #1980.

Discovered that mrinfo-ing to a file produced the simplified progress bar, whereas using 2>&1 | tee used the dynamic progress bar, producing a whole lot of junk at the head of the file if opened in a text editor.

This change means that MRtrix3 C++ commands invoked by a MRtrix3 Python command, where the latter is invoked with -info or -debug (and therefore shows dynamic information about executed processes), will now show the simplified progress bar; this is perfectly fine by me. Similarly if the stdout / stderr contents of a failed command are written to text file in the scratch directory, they will also have the simplified appearance, as they ideally should.

Not 100% happy with the appearance of the simplified progress bar (see eg. #1744), but not the top priority right now.

@jdtournier jdtournier added this pull request to the merge queue Jun 27, 2024
Merged via the queue into master with commit 5c788a7 Jun 27, 2024
@jdtournier jdtournier deleted the fix_progressbar_when_piping branch June 27, 2024 10:54
@Lestropie Lestropie mentioned this pull request Jan 14, 2025
31 tasks
Lestropie added a commit that referenced this pull request Jan 15, 2025
Resolution of content merged to dev initially omitted from #3061.
- #2693 (completely omitted)
- #3005 (partial propagation / independent address of some common issues on both branches)
- #3001 (completely omitted)
- #2908 (completely omitted)
- #2955 (completely omitted)
- #2600 (completely omitted)
- #2962 (completely omitted)
- #2935 (completely omitted)
- #2923 (completely omitted)
- #2910 (completely omitted)
- #2638 (completely omitted)
- #2698 (completely omitted)
- #2721 (completely omitted)
- #2794 (completely omitted)
- #2768 (completely omitted; required modification to conform to other dev changes)
- #2713 (residual compilation errors following adf8fdd, including resolution against changes in #2437 on dev.
Lestropie added a commit that referenced this pull request Jan 15, 2025
Resolution of content merged to dev initially omitted from #3061.
- #2693 (completely omitted)
- #3005 (partial propagation / independent address of some common issues on both branches)
- #3001 (completely omitted)
- #2908 (completely omitted)
- #2955 (completely omitted)
- #2600 (completely omitted)
- #2962 (completely omitted)
- #2935 (completely omitted)
- #2923 (completely omitted)
- #2910 (completely omitted)
- #2638 (completely omitted)
- #2698 (completely omitted)
- #2721 (completely omitted)
- #2794 (completely omitted)
- #2768 (completely omitted; required modification to conform to other dev changes)
- #2713 (residual compilation errors following adf8fdd, including resolution against changes in #2437 on dev.
@Lestropie Lestropie restored the fix_progressbar_when_piping branch August 26, 2025 08:11
@Lestropie Lestropie deleted the fix_progressbar_when_piping branch August 27, 2025 00:03
@Lestropie Lestropie mentioned this pull request Sep 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Resolving progressbar appearance selection

3 participants