-
Notifications
You must be signed in to change notification settings - Fork 191
Terminal fixes on dev #3137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Terminal fixes on dev #3137
Conversation
|
clang-tidy review says "All clean, LGTM! 👍" |
18b91ec to
ff02cd2
Compare
|
clang-tidy review says "All clean, LGTM! 👍" |
This issue stems from an incorrect move constructor for the ProgressBar. Since the class has a private |
|
clang-tidy review says "All clean, LGTM! 👍" |
|
clang-tidy review says "All clean, LGTM! 👍" |
|
@daljit46 Makes sense to me, I think we just go with that. |
Sounds spot on to me too 👍 |
Implements move constructors and assignment operators for the ProgressBar class. Also moves existing constructor implementation in cpp file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clang-tidy made some suggestions
2b42c34 to
d21d986
Compare
|
clang-tidy review says "All clean, LGTM! 👍" |
|
@MRtrix3/mrtrix3-devs: I'm using this PR to describe what I believe is the current situation with respect to erroneous force pushes. All PRs on GitHub that are based on The discussion history of this PR claims that there have been two force pushes to target branch
This is however incongruent with the current tip of
This I believe to be the "correct" current tip of I believe that in my mess yesterday, I have done a third force push of To test this, I hit the GitHub "Update branch" button on this PR to explicitly load in the latest
, which shows as a clean merge:
Importantly, it shows as its parents dff5e72e, which was the previous tip of this branch, and 70031c3, which I believe to be the correct tip for
I therefore believe that as soon as a PR targeting |
|
Example of current misleading state of PRs (#3125):
|
I only verified until a couple of commits before HEAD (as my local clone of dev is outdated by a couple of weeks), but this looks correct to me. I think you could also double-check with something like |
|
OK cool, not seen that git rev-parse "origin/dev@{2025-08-26 14:00}"
af5daaa7edae2c25e6c2e7d03af608fd86e90397
git rev-parse "origin/dev@{2025-08-26 15:00}"
70031c348fcefb16b534e342a9f87a5d1a343c94That corresponds to #3153. |
|
It seems like the changes I made in 2b42c34 have been discarded. We could probably cherry-pick that commit again. |
|
There's a good chance that any work that anyone else had pushed to a branch on GitHub after the most recent It is however likely that this is flagging that there's still more fundamental issues. 2b42c34 shows as its parent dda9fd2, which is a copy of what's currently appearing in this PR as d21d986. I expect more likely what's happening is that a lot of PRs have been moved to point to rebased commits. When I force-pushed I'm hoping that on my local clone, I can use the |
Correction: Original commit was in fact 0d0ef7b; 2b42c34 is an erroneous rebase of such. I've figured out how to use the GitHub REST CLI to query event history. I think I can go through the list of branches, and for each, find the first erroneous force push, and revert the branch back to its tip before that force push occurred. |
dff5e72 to
0d0ef7b
Compare
- Re-generate command documentation. - Resolve additions to CLI with augmentations to Python CLI in #2678. - Resolve some poorly formed code logic identified by pylint. - Improve progressbar appearance when not printing to a terminal, consistent with #3137. - Fix export of optimal gradient table. - Increase tolerance on default test: because a greater spectrum of gradient table alterations are now possible, it is more probable that a table that is not precisely equivalent to the unmodified table will be selected due to chance, but this should not lead to test failure given the stochasticity of the command and the relatively small number of streamlines.






Just couple of little snags discovered while building up the next-gen FBA pipeline.
I was about to start doing a
git bisectto try to figure out why ondevfor C++ commands, there is often, preceding the appearance of a progress bar, an extra erroneous progress bar with no message that immediately shows 100% completion. Eg.:Line 3 shouldn't be there. It does not occur if
-nthreads 0is used.But from my first backtrace, it's almost certainly due to #2755 copying rather than moving something. @daljit46 Could you take that one on?