-
Notifications
You must be signed in to change notification settings - Fork 125
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
[ITensors] Observers.jl
package extension
#1381
Conversation
Observers
Observers
Observers
@emstoudenmire in #1365 @kmp5VT is trying out running the tests in a temporary project with |
@emstoudenmire seems like the updated CI workflow fixed the issue. |
That's a relief! Thanks to you and Karl for figuring out that fix. |
Still some more changes to make on this PR, but I think only some small ones left. |
Unles you prefer to just make this PR about removing |
Let's make the package extension in this PR. |
Observers
Observers.jl
package extension
Codecov ReportAttention: Patch coverage is
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #1381 +/- ##
==========================================
- Coverage 79.59% 79.55% -0.05%
==========================================
Files 114 114
Lines 9032 9032
==========================================
- Hits 7189 7185 -4
- Misses 1843 1847 +4 ☔ View full report in Codecov by Sentry. |
[test ITensorTDVP] |
Run ITensorTDVP tests from comment trigger: succeeded ✅ |
This is running the ITensorTDVP workflow on main, as I guessed it would (though the tests ran and passed, for what it's worth, though I think not against this PR). So I'm not sure if the new one I included in this PR will work better or work correctly. If you have a good suggestion for how to repeatedly test a workflow file in a PR I'd be curious. Or maybe another way is to push |
Run ITensorTDVP tests from comment trigger: succeeded ✅ |
I'm pretty sure the new ITensorTDVP test is correctly running the code from this PR. There is the line: If we want to be totally sure, though, I could add a printing statement (like (Update: I'm trying this now.) |
Co-authored-by: Matt Fishman <[email protected]>
I tried my idea about the printing statement, and re-ran the ITensorTDVP test. Unfortunately, though, I did not see the printing output when the tests ran. (I had put a simple println statement at the top of the |
The ITensorTDVP testing workflow is running the tests of the latest registered version of ITensorTDVP.jl, which has its own implementation of We could put a print statement in some other part of the code, say inside one of the |
That makes sense, thanks. I'll move the printing statement. |
Putting it in the |
I temporarily moved the printing statement to the I believe this is ready to merge once tests pass. |
This PR is work in progress toward adding
Observers
support as a package extension. I am going to gradually submit commits and re-test to pinpoint (or avoid) the testing issue with previous PRs.