Mixing history reset with clear() not working
See original GitHub issueAfter installing the current development version of sisl
>>> print(sys.version)
3.8.10 (default, Mar 15 2022, 12:22:08)
[GCC 9.4.0]
>>> import sisl
>>> print(sisl.__version__)
0.12.2.dev83+g8b019f96
it appears to me that the resetting of mixer history with clear()
has “disappeared”:
>>> import sisl
>>> mix = sisl.mixing.PulayMixer(0.7, history=7)
>>> mix.clear()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'PulayMixer' object has no attribute 'clear'
Issue Analytics
- State:
- Created a year ago
- Comments:11 (11 by maintainers)
Top Results From Across the Web
What's the difference between git reset --mixed, --soft, and
reset --hard : History changed, HEAD changed, Working directory is changed with lost data. It is always safe to go with Git --soft....
Read more >git-reset Documentation - Git
git-reset - Reset current HEAD to the specified state ... --mixed. Resets the index but not the working tree (i.e., the changed files...
Read more >Git Reset | Atlassian Git Tutorial
Git reset is a powerful command that is used to undo local changes to the state of a Git repo. Explore its 3...
Read more >View and delete browser history in Microsoft Edge
Select the Browsing history check box and select Clear now. Note: This will only clear the browsing history for the profile you're currently...
Read more >Clear browsing data - Android - Google Chrome Help
You can control your history and other browsing data, like saved form entries. You can delete all of your data or just some...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
sorry, forgot to add the file, it should be there now!
No problem, I didn’t realize the new way is simply
mix.history.clear()
. I’m happy with this and I think we can easily implement this change in Hubbard.