change XTC/TRR tests for lock file presence#5423
Conversation
- fix #5382 - filelock >= 3.29.5 will now never remove the lockfile (avoids a race condition on POSIX): changed the correspond test (xfail for older versions of fielock) - updated doc string XDRBaseReader._load_offsets to indicate that we use filelock - added more docs to XDR page (more details on offsets) - add filelock docs to intersphinx mapping
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #5423 +/- ##
===========================================
- Coverage 93.85% 93.84% -0.01%
===========================================
Files 182 182
Lines 22509 22510 +1
Branches 3202 3202
===========================================
Hits 21125 21125
- Misses 922 923 +1
Partials 462 462 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
42127e8 to
7c7724e
Compare
|
Not sure what the linter is complaining about. Pre-commit (with black 24.10) was happy. The feedback from linters/black is close to useless to me as it just says "2 files would be reformatted, 218 files would be left unchanged." without telling me which one. (And please don't make me read the list of 200 files that it touched to find the one that does not say "already well formatted, good job."...). |
|
It looks as if on Win, the lock file is being removed (?!). https://dev.azure.com/mdanalysis/mdanalysis/_build/results?buildId=9343&view=logs&j=dc60759d-7bf7-580f-541c-8b624e38610f&t=c864e5cd-d904-5b0e-978b-27ea9778a5fc&l=843 |
Fixes #5382
Changes made in this Pull Request:
LLM / AI generated code disclosure
LLMs or other AI-powered tools (beyond simple IDE use cases) were used in this contribution: yes
PR Checklist
package/CHANGELOGfile updated?package/AUTHORS? (If it is not, add it!)Developers Certificate of Origin
I certify that I can submit this code contribution as described in the Developer Certificate of Origin, under the MDAnalysis LICENSE.