Comments (4)
this now exists. The regression test fails when tests that used to pass on Python 3 no longer do so. Python 2 testing remains in place as a separate build job.
from dxtbx.
I think this all sounds good, I like the sound of the separate feature branches - I'm hoping to learn a bit through this process as I'm not yet up to speed with all of the differences between python 2&3. For the python3-regression test branch, will we receive emails if this one fails or does it rely on checking the github page?
from dxtbx.
I was going to reply "no, we can't have emails because Jenkins can't distinguish between expected and unexpected test failures", but pytest actually makes it really easy to keep a list of conditionally expected test failures, so I've just committed f3daa9c and we now should have Python3 test regression emails.
(The same logic will also apply when you run tests locally.)
from dxtbx.
This work has now been completed.
- All tests pass on Python 2.7 and 3.6 in Jenkins and Travis
- 2 tests were disabled on Python 3 in 54113e8
This is due to.pickle
format files not being loadable. To fix this would require a substantial amount of time and changes in cctbx and libtbx for a use case that is unclear to me. If these files are actually used then someone will have to put the effort in, otherwise I suggest the relevant formats should be retired. - We have achieved A+ rating on LGTM with 11 remaining warnings. This should go down to 3 very soon since
- There are 51 remaining flake8 warnings, they break down as follows:
- 28x E402 module level import not at top of file. These are caused by Python2/3 cross-compatibility work and should be ignored
- 7xF401, 3x F403, 13x F405 - these are covered by #62 and subject to the DIALS conventions in dials/dials#838
- Code coverage has slightly decreased in terms of files and classes (81%) and conditionals (44%). This is not entirely unexpected given that over the course of the work approximately 6% of dxtbx was removed (1500 lines), with the refactoring attention having been biased towards tested code rather than untested code.
- Project closed 10 day ahead of schedule.
Thanks to everyone involved.
from dxtbx.
Related Issues (20)
- Invalid polygon geometry (21) in ... dynamically masked I03 data
- Use module_offset in multi-panel nexus
- EIGER X 16M at SPring-8 BL41XU HOT 9
- [3.17] seems incompatible with Python 3.12 HOT 5
- [3.17] error: βuint32_tβ does not name a type HOT 2
- [3.17] : DeprecationWarning: SelectableGroups dict interface is deprecated.
- [3.17] PytestUnknownMarkWarning: Unknown pytest.mark.regression
- Support for Rigaku Arc detectors HOT 5
- Generalise support for dynamic shadowing in dxtbx HOT 1
- NXmx bugs
- `FormatEigerNXmxFilewriter.get_raw_data` fails when number of linked data files is large HOT 3
- dxtbx.format.FormatNXmxDLS16M.FormatNXmxDLS16M no longer supports legacy data without VDS
- `FormatSMVADSCmlfsom` is too promiscuous HOT 1
- dlsnxs2cbf: produces invalid files from i04-1 Eiger 9M HOT 10
- More general support for handling of hit indices
- Define what we mean by array range HOT 11
- Treat everything internally as count-from-zero
- Figure out what is needed to remove image range
- Rename get_array_range -> get_z_range HOT 1
- Create branches in dxtbx and dials to explore impacts of removing image range etc. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dxtbx.