Skip to content

Conversation

@brownbaerchen
Copy link
Contributor

Just removed a bit of clutter

@brownbaerchen brownbaerchen added the girl scout rule All you did was leave the campground slightly cleaner than you found it. label Jan 24, 2025
@tlunet
Copy link
Member

tlunet commented Jan 24, 2025

Is the girl scout rule label a bit macho ? Like girl scouts make things cleaner, because they are educated to do that ... 🌵

@brownbaerchen
Copy link
Contributor Author

Is the girl scout rule label a bit macho ? Like girl scouts make things cleaner, because they are educated to do that ... 🌵

My intention was the opposite. It is based on the, I believe, well known Boy Scout rule. But I am open to changing this if I missed the target...

@tlunet
Copy link
Member

tlunet commented Jan 24, 2025

Is the girl scout rule label a bit macho ? Like girl scouts make things cleaner, because they are educated to do that ... 🌵

My intention was the opposite. It is based on the, I believe, well known Boy Scout rule. But I am open to changing this if I missed the target...

Well, not sure I'm legitimate to complain anyway 😅 ... was just pocking

@tlunet tlunet merged commit 352deda into Parallel-in-Time:master Jan 24, 2025
90 checks passed
brownbaerchen added a commit to brownbaerchen/pySDC that referenced this pull request Aug 22, 2025
#!!!!!!!!!! WARNING: RUFF FAILED !!!!!!!!!!: 

#pySDC/projects/GPU/analysis_scripts/compare_RBC3D.py:418:9: E722 Do not use bare `except`
#    |
Parallel-in-Time#416 |                 k[_s > 1e-16], _s[_s > 1e-16], color=last_line.get_color(), ls=last_line.get_linestyle(), label=label
Parallel-in-Time#417 |             )
Parallel-in-Time#418 |         except:
#    |         ^^^^^^ E722
Parallel-in-Time#419 |             pass
#    |
#
#pySDC/projects/GPU/analysis_scripts/compare_RBC3D.py:517:5: F841 Local variable `Delta_Nu` is assigned to but never used
#    |
Parallel-in-Time#515 |     t = data['t']
Parallel-in-Time#516 |     avg_Nu = np.array([np.mean(Nu[40 : 40 + i + 1]) for i in range(len(Nu[40:]))])
Parallel-in-Time#517 |     Delta_Nu = np.array([abs(avg_Nu[i + 1] - avg_Nu[i]) for i in range(len(avg_Nu) - 1)])
#    |     ^^^^^^^^ F841
Parallel-in-Time#518 |     # ax.plot(data['t'][40:-1], Delta_Nu / avg_Nu[:-1])
Parallel-in-Time#519 |     # ax.plot(data['t'], np.abs(avg_Nu - avg_Nu[-1]) / avg_Nu[-1])
#    |
#    = help: Remove assignment to unused variable `Delta_Nu`:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

girl scout rule All you did was leave the campground slightly cleaner than you found it.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants