Skip to content
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

DIALS 3.18.2 #58

Open
wants to merge 749 commits into
base: dials-3.18
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
749 commits
Select commit Hold shift + click to select a range
970dde9
self._model_input can actually be absent...
pafonine May 28, 2024
a8b79cc
New convenience function with tests
olegsobolev May 29, 2024
7d10c26
detector_residuals: update for matplotlib api
phyy-nx May 29, 2024
c462423
Xtriage: use the word multiplicity instead of redundancy
dcliebschner May 30, 2024
127375a
Reduce2: bugfix with test
dcliebschner May 31, 2024
05bcfc6
Update CHANGELOG.rst for 2024.5 release
bkpoon Jun 3, 2024
d5a87e0
Reduce2: Add test illustrating behavior of grm add_new_bond_restraint…
dcliebschner Jun 3, 2024
c3fc892
Remove unused keyword/parameter. Slightly better warning.
olegsobolev Jun 4, 2024
5f6c169
libtbx: add debug info for Windows compilers
bkpoon Jun 5, 2024
f73e102
libtbx: add support for VS 2022 v17.10
bkpoon Jun 5, 2024
b88f7d7
Supply hierarchy to model manager in as_model_manager unless crystal_…
terwill Jun 6, 2024
51c23a2
Remove as_pdb_input
terwill Jun 6, 2024
df59536
Remove as_pdb_input
terwill Jun 6, 2024
34d8c91
Remove as_pdb_input
terwill Jun 7, 2024
a2dd8f3
Add notes that using as_pdb_input changes model very slightly due to …
terwill Jun 7, 2024
117d8d2
Remove as_pdb_input()
terwill Jun 7, 2024
6b87fc0
Fix `count_each`'s log all expt/img/refl counts when `verbose`
Baharis Jun 7, 2024
851206e
Remove as_pdb_input
terwill Jun 7, 2024
ac333a4
More comprehensive test/illustration of corner-case altloc handling
olegsobolev Jun 7, 2024
8160f6b
Fix `count_each`'s log all expt/img/refl counts when `verbose` 2, pyt…
Baharis Jun 7, 2024
fb32447
Fix `count_each`'s log all expt/img/refl counts when `verbose` 2, nic…
Baharis Jun 7, 2024
bb644c1
One more test/example case
olegsobolev Jun 7, 2024
d8bc62d
One more test/example on altloc
olegsobolev Jun 7, 2024
7f4d4e4
Parse hierarchy differently to allow altlocs
pafonine Jun 9, 2024
75a5184
Add symetric distance method. Simple. Inefficient. But useful if you …
pafonine Jun 9, 2024
79f8df7
Two methods to fit residues with altlocs: masking and sampling
pafonine Jun 9, 2024
309ccea
Fix missing / wrong arg with a test
pafonine Jun 9, 2024
4c99c27
pdbtools: use data_manager to output model so it can figure out corre…
olegsobolev Jun 13, 2024
870ef04
Remove not used, not tested undeveloped function.
olegsobolev Jun 13, 2024
1c39c60
Monitor resource usage (#994)
Baharis Jun 13, 2024
3f84e12
Bugfix: work correctly when there is longer bond in the model than ma…
olegsobolev Jun 13, 2024
01b0860
Cleanup
dcliebschner Jun 14, 2024
038c5a3
Refactor to reuse class API in other code.
nksauter Jun 15, 2024
c0527f9
Reset model after shifting coordinates
terwill Jun 20, 2024
41bef9a
Undo reset
terwill Jun 20, 2024
66dd4ca
Sync with DIALS API changes
phyy-nx Jun 20, 2024
e6a8401
Alow some slack
pafonine Jun 21, 2024
96441f8
hopefully a fix to crash on mac when opening documentation for HKLviewer
Oeffner Jun 21, 2024
20d1113
typo
nwmoriarty Jun 21, 2024
caf0e17
changes for upper
nwmoriarty Jun 21, 2024
3901ee2
Catch tuple vs list
terwill Jun 23, 2024
5d74467
Bug fix and make sure no lone water is added (no matching altloc)
pafonine Jun 24, 2024
10f9eeb
Bug fix and make sure no lone water is added (no matching altloc)
pafonine Jun 24, 2024
98bc43c
fix overwrite
terwill Jun 24, 2024
665b30b
XFEL GUI updates
phyy-nx Jun 24, 2024
842d097
Spell out deep_copy of map_manager instead of using deepcopy (deepcop…
terwill Jun 24, 2024
1de64c1
clean clutter
terwill Jun 24, 2024
8381e63
Submit `cctbx.xfel` jobs using "/bin/bash" instead of "/bin/sh"
Baharis Jun 25, 2024
c779886
mid-june update
nwmoriarty Jun 25, 2024
3132585
Update small_cell indexing documentation
dwpaley Jun 27, 2024
9460872
Not used and not tested code. There are functions like add_crystal_sy…
olegsobolev Jun 27, 2024
42d905a
Unused import
olegsobolev Jun 27, 2024
c67a526
CCTBXParser: write modified DataManager scope with --diff-params
bkpoon Jun 28, 2024
a6b867c
CCTBXParser: adjust check to avoid file separator
bkpoon Jun 28, 2024
56c25ea
CI: bump macOS for XFEL CI
bkpoon Jun 30, 2024
67acd80
Update CHANGELOG.rst for 2024.6 release
bkpoon Jul 1, 2024
1edbdfc
CI: stop CentOS 7 builds and move to Rocky Linux 8
bkpoon Jul 2, 2024
3d42afc
Don't create present_anames until really need them. Surprising time s…
olegsobolev Jul 2, 2024
e3f1760
bug fix: skip rotamer fitting if rotamer iterator is None (or else it…
pafonine Jul 3, 2024
3f2b36f
Fix unsupported map type
pafonine Jul 6, 2024
370c297
speedup ncs_search, 40%
olegsobolev Jul 8, 2024
a43aa7b
Same result way faster without selection
olegsobolev Jul 8, 2024
5d15270
ncs_search speedup 2.5x
olegsobolev Jul 9, 2024
e33bbba
Correct comment
olegsobolev Jul 9, 2024
810451e
ncs_search speedup 20%: sacrifice memory for performance: having flat…
olegsobolev Jul 10, 2024
2d12ea1
ncs_search: consistent use of flex.size_t, 10% speedup, comments.
olegsobolev Jul 10, 2024
c99d03d
First draft on using NCS in pdb_interpretation.
olegsobolev Jun 24, 2024
a1886d1
Introduce parameter
olegsobolev Jun 27, 2024
8a5fe4c
Expanding restraints with NCS. Not changing existing array.
olegsobolev Jul 2, 2024
953f0da
Now handle multiple NCS groups
olegsobolev Jul 3, 2024
1e5cd29
Removing unnecessary import
olegsobolev Jul 11, 2024
614642a
Cleanup
olegsobolev Jul 11, 2024
5d40b29
Allow p.pdb_interpretation.allow_polymer_cross_special_position in ho…
terwill Jul 16, 2024
05cd2c4
clean clutter
terwill Jul 16, 2024
40b3883
XFEL CI: switch back to CentOS 7
bkpoon Jul 17, 2024
9e4c2b4
temp. disable of pH restraints
nwmoriarty Jul 17, 2024
945df1a
Don't `self.params.input.path = None` after `list_input_pairs` on ran…
Baharis Jul 22, 2024
f46b6f9
debug code for pH
nwmoriarty Jul 22, 2024
76e88fd
more options for DDR
nwmoriarty Jul 22, 2024
243c461
placeholder for QMF
nwmoriarty Jul 22, 2024
c8aef62
read files with ?
nwmoriarty Jul 22, 2024
5806fd8
new energy unit
nwmoriarty Jul 22, 2024
4eabd71
read_charge...
nwmoriarty Jul 22, 2024
3a77803
default solvent model for isolated molecules
nwmoriarty Jul 23, 2024
e75a3e1
alert about solvent model
nwmoriarty Jul 23, 2024
dd7ca67
update
nwmoriarty Jul 23, 2024
4129e34
small changes
nwmoriarty Jul 23, 2024
38c7950
change const_shrink_donor_acceptor from 0.6 to 0, and fix test failures
pafonine Jul 23, 2024
5d2bf34
Bugfix in ncs_search shortcut with a test
olegsobolev Jul 24, 2024
813aa56
pdb interpretation with NCS should now work if ON by default for all …
olegsobolev Jul 24, 2024
78b918a
CI: use libcxx=17 for XFEL CI
bkpoon Jul 23, 2024
b7650a8
If no rgs found, keep looking, chain might be split into 2 with TER card
olegsobolev Jul 25, 2024
555aee4
iotbx: fix typo
bkpoon Jul 29, 2024
7143c7d
Revert "iotbx: fix typo"
bkpoon Jul 29, 2024
75df09c
for bulk QMF of a model
nwmoriarty Jul 30, 2024
c6dfcd4
Factor out getting crystal_symmetry in model.py and allow call with j…
terwill Jul 30, 2024
0adfafc
update
nwmoriarty Jul 30, 2024
86b14eb
parameter to avoid histogram calcualtion and show.
olegsobolev Jul 31, 2024
a59dab9
pdb_int speedup: 40% faster process nonbonded for links in linkin_mix…
olegsobolev Jul 31, 2024
8d1a1a7
Add cutoff to generator, switch the rest linking to use it
olegsobolev Aug 1, 2024
175e8ec
iotbx: use scoring to remove possible conflicts in creating fmodel in…
bkpoon Jul 31, 2024
47cb6c2
iotbx: only use scoring if score is available
bkpoon Aug 1, 2024
9eed7fa
Catch None
terwill Aug 1, 2024
5682353
Remove as_pdb_input() completely
terwill Aug 1, 2024
532c1f4
Replace `dict` with `Counter` in the postrefine worker (#1002)
Baharis Aug 2, 2024
8c701e5
Update CHANGELOG.rst for 2024.7 release
bkpoon Aug 2, 2024
860527c
"Truncate" XFEL expts/refls based on aggregated statistics (#1003)
Baharis Aug 2, 2024
062c591
Revert "CI: use libcxx=17 for XFEL CI"
bkpoon Aug 3, 2024
f4c4338
Declutter Phenix: remove geo_file_parsing from master
dcliebschner Aug 6, 2024
77b5ab7
CI: remove deleted entries
bkpoon Aug 6, 2024
09bf1c9
Changes towards allowing docking to account for fixed models.
randyjread Jun 21, 2024
20d723a
Changes to account for contribution from fixed model.
randyjread Jul 26, 2024
7319c63
Don't write out masked_model.map.
randyjread Aug 6, 2024
6d23008
Fix bug for when d_min is not specified.
randyjread Aug 6, 2024
c9f8698
Set verbosity level for print statements about fixed model contribution.
randyjread Aug 7, 2024
9158e1d
Comment out excessive check. Mark and safeguard non-used function.
olegsobolev Aug 8, 2024
1b12740
pdb_int speedup 5%: Call atom_classes once per atom and then use the …
olegsobolev Aug 8, 2024
e8a2cec
iotbx: do not remove array if it is explicitly selected
bkpoon Aug 7, 2024
6667130
update
nwmoriarty Aug 8, 2024
318c5e0
small changes to output and big change to linking sym op
nwmoriarty Aug 8, 2024
982cf8b
Reinstate value of const_shrink_donor_acceptor=0.6 for holton_geometr…
terwill Aug 8, 2024
f600344
Use default for const_shrink_donor_acceptor
terwill Aug 8, 2024
3d6e014
stab in the dark about SIA
nwmoriarty Aug 9, 2024
a3f5f3b
QM timing info
nwmoriarty Aug 9, 2024
54e44a7
documentation
nwmoriarty Aug 9, 2024
db69383
DataManager: Add check to ensure low_resolution > high_resolution
bkpoon Aug 11, 2024
04736bb
dumb error
nwmoriarty Aug 12, 2024
d723c64
pdb_int speedup 10%. Create atom quotes only when need them to raise …
olegsobolev Aug 13, 2024
50c7b72
Decluttering Phenix: archive phenix.evalurama
dcliebschner Aug 13, 2024
38960db
Decluttering Phenix: remove phenix.fest
dcliebschner Aug 13, 2024
7e9652e
XFEL GUI: MPI safe ensemble refinement (#840)
phyy-nx Aug 13, 2024
e3b6974
Negligible tidying up - moving operation out of cycle.
olegsobolev Aug 13, 2024
38f230e
pdb_int speedup 4%: Don't use get_sorted, too slow for the task.
olegsobolev Aug 14, 2024
46a1728
pdb_int speedup 4%: Don't use get_sorted for angles too, too slow for…
olegsobolev Aug 14, 2024
57cd1f9
Check for undefined pdb input
pafonine Aug 14, 2024
1a7d794
bootstrap: switch more repositories to git
bkpoon Aug 12, 2024
23b871d
reducing AA flip output
nwmoriarty Aug 14, 2024
0e5b50d
user control over H/D checking
nwmoriarty Aug 14, 2024
ddbc1f9
moved neutron options from eLBOW
nwmoriarty Aug 15, 2024
d2045ce
clean clutter and more
nwmoriarty Aug 15, 2024
2fe26fc
pdb_int speedup, this function 50x. Preparing data outside the loop, …
olegsobolev Aug 15, 2024
312c37c
Clean unused
olegsobolev Aug 15, 2024
f8fc999
No need in quote, i_seq should do just fine. Faster this way.
olegsobolev Aug 16, 2024
1fdc8a5
possible bugfix
olegsobolev Aug 16, 2024
18ee996
bootstrap: move chem_data to git
bkpoon Aug 16, 2024
d4f9ef6
New cctbx.xfel.merge worker for computing and filtering on ΔCC½ (#1005)
phyy-nx Aug 16, 2024
a32311d
Testing binding ligand binding energy
nwmoriarty Aug 17, 2024
d317725
Reduce2: remove an unnecessary model.select() call. This improves run…
dcliebschner Aug 17, 2024
a5ae3c4
CI: fix chem_data location
bkpoon Aug 17, 2024
a8de1d4
bootstrap: use git-lfs for chem_data
bkpoon Aug 17, 2024
4602610
bootstrap: avoid overwriting parameters when downloading geostd
bkpoon Aug 17, 2024
daea0c4
safety check for empty chains
nwmoriarty Aug 19, 2024
9a201d1
more specific cBeta restraints because MTX
nwmoriarty Aug 19, 2024
dc07948
pass file_read option correctly
nwmoriarty Aug 19, 2024
17f1a72
pdb_int speedup. Early exits across linking routines.
olegsobolev Aug 20, 2024
f5996c1
Refactor code so that sigmaA calculation of model vs cryo-EM map can
randyjread Aug 21, 2024
9c450e2
New cctbx.xfel.merge parameter, select.significance_filter.d_min
phyy-nx Aug 21, 2024
7d409c6
Remove unused call.
olegsobolev Aug 21, 2024
e20fc78
Minor reordering for speed
olegsobolev Aug 21, 2024
558c79f
Move function out of cycle.
olegsobolev Aug 21, 2024
98938c9
Put back option to define sphere center with placed model.
randyjread Aug 22, 2024
b308ac4
bootstrap: add aimnet2calc repo for qrefine
bkpoon Aug 22, 2024
996478a
Reduce2: prevent Sorry.
dcliebschner Aug 22, 2024
bfaa7c1
Add handling of `MPI.LAND`, `MPI.LOR`, `MPI.LXOR` to `mpiEmulator`
Baharis Aug 22, 2024
e8e709a
Performance improvements in deltacc
dwpaley Aug 23, 2024
b196093
Bugfix for deltaccint
phyy-nx Aug 26, 2024
c3422c8
New cutoff for pdb_interpretation speedup. Leaving the old cutoff in …
olegsobolev Aug 26, 2024
85468c4
Better test fix, with Nigel.
olegsobolev Aug 27, 2024
107a933
Ribbons (#1007)
russell-taylor Aug 27, 2024
c4a8c65
Use standard error of the mean to match computation from cctbx
phyy-nx Aug 28, 2024
f40439b
Enabling using ncs in pdb_interpretation, with log output and enabled…
olegsobolev Aug 28, 2024
9323335
Switch deltaccint to using unbinned data
phyy-nx Aug 29, 2024
fdb5a2e
Tidy
phyy-nx Aug 29, 2024
6daf607
CI: continue if SSH key already added
bkpoon Aug 29, 2024
136b35b
Make generating experiment identifiers more constant
phyy-nx Aug 29, 2024
5f4a501
Add verbose option for deltaccint
phyy-nx Aug 29, 2024
db0e425
turn off RNA pucker restraints option
nwmoriarty Aug 26, 2024
9ca4b76
adding mahalanobis distance
nwmoriarty Aug 29, 2024
256502b
Declutter Phenix: archive cl dispatcher mp_validate_bonds
dcliebschner Aug 30, 2024
c2df187
CI: add geostd to data cache download
bkpoon Aug 30, 2024
63e3898
Declutter Phenix: remove model_vs_sequence cl tool
dcliebschner Aug 30, 2024
2ac3b12
update from CC
nwmoriarty Aug 30, 2024
4fa0599
mostly updates to test
nwmoriarty Aug 30, 2024
983b8ae
mmtbx: switch NaN to avoid numpy import
bkpoon Aug 30, 2024
429625e
CI: clean up ssh options
bkpoon Aug 31, 2024
8149b85
Update CHANGELOG.rst for 2024.8 release
bkpoon Sep 1, 2024
b6e57a5
Fix missing chain ID
terwill Sep 3, 2024
df9ce43
Malanobis reorg and corrctions
nwmoriarty Sep 3, 2024
6bf0449
Ribbons2 (#1009)
russell-taylor Sep 3, 2024
b4d6520
Add function to return origin_label given origin .geo header.
cschlick Sep 4, 2024
2194c33
Reduce2: rename test for consistency
dcliebschner Sep 4, 2024
27136c5
Reduce2: propagate name change
dcliebschner Sep 4, 2024
68997a2
Reduce2: Add test. Clean up.
dcliebschner Sep 4, 2024
e9bce95
Clean clutter
Baharis Sep 5, 2024
d8e5e81
Make `mpi_helper`'s method non-rooted if `root=None` (#1010)
Baharis Sep 6, 2024
3f9c877
Reduce2: break down timing even more. Only process if cif restraints …
dcliebschner Sep 6, 2024
4444ace
Do not allow ADP > 999 in rsr
pafonine Sep 7, 2024
75b6f41
Allow external origin in ligandfit
terwill Sep 8, 2024
6927c85
Don't shift the coordinates when doing box and shift for Reduce2 (#1012)
russell-taylor Sep 10, 2024
3360b22
Pull chem_data for molprobity builder now that it is available public…
russell-taylor Sep 11, 2024
ba66eae
Declutter Phenix: resurrect mp_validate_bonds
dcliebschner Sep 11, 2024
412052b
CI: start Python 3.13 syntax check
bkpoon Sep 11, 2024
865e8e3
Mm24 correlation bug fix (#1014)
dwmoreau Sep 12, 2024
bd69e48
Fix bug in relative weight of fixed model contribution.
randyjread Sep 16, 2024
5e4a68b
bug fix. Use native method of hierarchy instead
pafonine Sep 17, 2024
083816b
Bug fixes with a test
pafonine Sep 17, 2024
0c7cd4b
suppress approx_equal output
olegsobolev Sep 17, 2024
ac046ce
Doc for the new function.
olegsobolev Sep 17, 2024
394fee6
Use correct version of ASE
pafonine Sep 18, 2024
45449dd
Towards a general lbfgs minimizer: adding a lbfgsb run() function
dcliebschner Sep 18, 2024
19709d5
Cleanup
dcliebschner Sep 19, 2024
2b5d162
Fix typo
dcliebschner Sep 19, 2024
8b6eb0c
still a mess
nwmoriarty Sep 17, 2024
ae63ba0
test for ARG geom
nwmoriarty Sep 17, 2024
b49c2dc
writing and parsing .geo file headers
nwmoriarty Sep 18, 2024
f65da26
update
nwmoriarty Sep 18, 2024
527f3e8
fixing tests for geo header parsing
nwmoriarty Sep 19, 2024
7e66c36
update
nwmoriarty Sep 19, 2024
89ab9c9
update
nwmoriarty Sep 19, 2024
f4795f9
update
nwmoriarty Sep 19, 2024
f798e6b
update
nwmoriarty Sep 19, 2024
b003e52
update
nwmoriarty Sep 19, 2024
10caab4
Towards a general lbfgs minimizer: add a general minimizer class
dcliebschner Sep 19, 2024
85da749
Docstrings
dcliebschner Sep 19, 2024
3fdbcf6
Towards a general lbfgs minimizer: add test
dcliebschner Sep 19, 2024
ed70df6
Switch to normal dash in docstring
bkpoon Sep 20, 2024
41294a6
expanded cyclic amino acid classes and set default to True
nwmoriarty Sep 20, 2024
0bb7bfe
update
nwmoriarty Sep 23, 2024
12911b3
update
nwmoriarty Sep 23, 2024
d82c251
make defaults the same as old
nwmoriarty Sep 23, 2024
98fe1eb
fixed link_residues test
nwmoriarty Sep 24, 2024
6a6e55e
cootbx: make file finding more portable
bkpoon Sep 24, 2024
6db8021
bootstrap: add AlphaFold repository
bkpoon Sep 24, 2024
d7d0138
conda: clean up devenv file fot cctbx dependencies
bkpoon Sep 24, 2024
ee847b8
CI: switch mamba to conda
bkpoon Sep 25, 2024
079f2da
libtbx: remove entry point functions
bkpoon Sep 25, 2024
b0d9ec8
libtbx: remove most distutils imports
bkpoon Sep 25, 2024
93560d1
conda: add Boost packages and bump minimum Python version
bkpoon Sep 26, 2024
1be1524
CI: update mirror in syntax check
bkpoon Sep 27, 2024
f269d4f
boost: add temporary flag for Boost Timer deprecation
bkpoon Sep 27, 2024
f76dade
CI: add checkout step
bkpoon Sep 27, 2024
890188d
conda: add qt-webengine to devenv file
bkpoon Sep 27, 2024
5ca82bb
Catch None in arrays supplied to the minimizer
pafonine Sep 28, 2024
c0ef0d7
Update CHANGELOG.rst for 2024.9 release
bkpoon Oct 1, 2024
51c8a60
Disable broken test
Anthchirp Aug 19, 2020
e93cb83
Remove unstable test
ndevenish Mar 15, 2021
c21aa36
Remove external data test
ndevenish May 27, 2021
49f0630
Disable another failing test
ndevenish Jan 16, 2023
dfa034d
Disable repeat-failing tests
ndevenish Aug 14, 2023
e7c2377
Prepare branch for DIALS 3.22 release
DiamondLightSource-build-server Oct 14, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 3 additions & 3 deletions .azure-pipelines/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ jobs:
modules: modules
- template: ./conda-linux.yml
parameters:
distribution: centos
version: [7]
modules: modules
distribution: rockylinux
version: [8]
modules: ${{ parameters.modules }}
template: ./unix-conda-build.yml
- template: ./conda-osx.yml
parameters:
Expand Down
6 changes: 0 additions & 6 deletions .azure-pipelines/download-source.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@ jobs:

steps:

- task: DownloadSecureFile@1
name: ssh_config
inputs:
secureFile: ssh.config

# download sources
- checkout: self
path: ./modules/cctbx_project
Expand All @@ -29,7 +24,6 @@ jobs:

- script: |
cd $(Pipeline.Workspace)
export SVN_SSH="ssh -F $(ssh_config.secureFilePath)"
python bootstrap.py hot update --builder=cctbx --python=38 ${{ parameters.flags }}
displayName: Download sources

Expand Down
14 changes: 7 additions & 7 deletions .azure-pipelines/full-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ jobs:
version: [9]
modules: ${{ parameters.modules }}
template: ./unix-conda-build.yml
- template: ./conda-linux.yml
parameters:
distribution: centos
version: [7]
modules: ${{ parameters.modules }}
template: ./unix-conda-build.yml
# - template: ./conda-linux.yml
# parameters:
# distribution: centos
# version: [7]
# modules: ${{ parameters.modules }}
# template: ./unix-conda-build.yml
- template: ./conda-linux.yml
parameters:
distribution: rockylinux
Expand Down Expand Up @@ -63,6 +63,6 @@ jobs:
- template: ./conda-osx.yml
parameters:
vmImage: [13]
xcode_version: [15, 0, 1]
xcode_version: [15, 2]
modules: ${{ parameters.modules }}
template: ./unix-conda-build.yml
7 changes: 7 additions & 0 deletions .azure-pipelines/py2_syntax_exceptions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@ crys3d/hklviewer/webbrowser_messenger_py3.py
crys3d/hklviewer/xtriage_runner.py
crys3d/regression/tst_websocket.py
libtbx/auto_build/conda_build/create_custom_bin.py
libtbx/resource_monitor.py
serialtbx/util/energy_scan_notch_finder.py
xfel/ui/components/xfel_gui_init.py
xfel/ui/components/ebeam_plotter.py
xfel/ui/db/dxtbx_db.py
xfel/euxfel/agipd_from_defs.py
xfel/euxfel/agipd_cxigeom2nexus.py
Expand All @@ -13,3 +16,7 @@ xfel/ui/db/job.py
xfel/command_line/cxi_mpi_submit.py
xfel/command_line/fee_calibration.py
xfel/util/drift.py
xfel/merging/application/errors/error_modifier_mm24.py
xfel/util/preference.py
cctbx/maptbx/qscore.py
cctbx/maptbx/tst_qscore.py
36 changes: 35 additions & 1 deletion .azure-pipelines/syntax.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,52 @@ jobs:
PYTHON_VERSION: 3.9
python3.10:
PYTHON_VERSION: 3.10
python3.11:
PYTHON_VERSION: 3.11
python3.12:
PYTHON_VERSION: 3.12
python3.13:
PYTHON_VERSION: 3.13

steps:

- task: InstallSSHKey@0
inputs:
knownHostsEntry: boa.lbl.gov ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAnPOtqyYASs6hc3fsmUQn92ovSozJsMsJyrMWjppUERX1tD4Fh0D7YaNhLvYpKi5mYVREo+tsKoOatCcqKGHCONWpzx7JHXUzfIBsy6nCeygRyyW4yuyoCuYFvOYLkaM4PrN/7XaZEnp1ux6/ZcbRxBDNK4f42svJUV39OX33tRuQWpP+O85paJr1ePHVz6U2n14a+3fRN3DBMti1dJuKOThU4djYEBQimx54pnW71eYORN2oUz+N/4RHAcomtxZpcUMl3Qadw8hD4s1XM6fzJ0Que7KefnnrPOgAEtZxKl9j09aaE70Oh+ie5Y6ckwddJ/4qZB5m2tBaEi3xuy0TSQ==
sshPublicKey: ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA7XgVgdU9GmZuo5yVyW/htrAuxe7ypuq7IowWwfUC0WZw9SPzQ8kOGj63plF3ytx/qpgvUlS1AiywO20rZ83gHmRdAiuvt9laH09KlWEUhIhAQTzesqBG5aUT0MKo01yxijoRl5HC8w/MdOanc0h01e6IxnZvgG0N30RB1i4xVPCtR/VBmXSp4R0T+Q/gJjfQssuBxHVMrrute4V3uUHek58FL2QgUB0+zq6ipETjuCJxTSyYVAFtCYDPYs+0lAYYkWrXALCr9kX9s22jYtkyv5kNw6mEW8nhtA7GbTdJLv4M6/WYtcvQV8TDcNCfltOfl81U3gcZ9zhQDKGVoNaJEw== [email protected]
sshKeySecureFile: id_rsa
displayName: Download SSH key

- checkout: self
path: ./modules/cctbx_project

- script: |
set -xe
ssh-keyscan -t rsa gitlab.com >> ~/.ssh/known_hosts
cd $(Pipeline.Workspace)/modules/cctbx_project
git checkout master
git remote add gitlab [email protected]:cctbx/cctbx_project.git
git fetch gitlab
git push -u gitlab master
displayName: Update GitLab mirror
condition: eq(variables['PYTHON_VERSION'], '3.9')
continueOnError: true

- script: echo "##vso[task.prependpath]$CONDA/bin"
displayName: Add conda to PATH

- script: |
conda create -y -c conda-forge -n py$(PYTHON_VERSION) python=$(PYTHON_VERSION) six future scons
displayName: Create conda environment
condition: ne(variables['PYTHON_VERSION'], '3.13')

- script: |
conda create -y -c conda-forge -c conda-forge/label/python_rc -n py$(PYTHON_VERSION) python=$(PYTHON_VERSION) six future setuptools
conda activate py$(PYTHON_VERSION)
cd $(Pipeline.Workspace)/modules
git clone -b 4.8.1 https://github.com/SCons/scons.git
displayName: Create conda environment
condition: eq(variables['PYTHON_VERSION'], '3.13')

- script: |
set -xe
Expand All @@ -38,7 +72,7 @@ jobs:
echo Removing $f
rm $f; done
displayName: Remove Python 3 only files for Python 2 syntax check
condition: eq(variables['PYTHON_VERSION'], '2.7')
condition: or(eq(variables['PYTHON_VERSION'], '2.7'), eq(variables['PYTHON_VERSION'], '3.7'))

- script: |
source activate py$(PYTHON_VERSION)
Expand Down
36 changes: 29 additions & 7 deletions .azure-pipelines/templates/download-data-cache.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Template for updating data cache artifacts
# Template for downloading data cache artifacts
# - chem_data
# - geostd
# - phenix_regression
# - phenix_examples
# A ssh_config secure file is needed

steps:
- task: InstallSSHKey@0
Expand All @@ -11,7 +11,9 @@ steps:
sshPublicKey: ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA7XgVgdU9GmZuo5yVyW/htrAuxe7ypuq7IowWwfUC0WZw9SPzQ8kOGj63plF3ytx/qpgvUlS1AiywO20rZ83gHmRdAiuvt9laH09KlWEUhIhAQTzesqBG5aUT0MKo01yxijoRl5HC8w/MdOanc0h01e6IxnZvgG0N30RB1i4xVPCtR/VBmXSp4R0T+Q/gJjfQssuBxHVMrrute4V3uUHek58FL2QgUB0+zq6ipETjuCJxTSyYVAFtCYDPYs+0lAYYkWrXALCr9kX9s22jYtkyv5kNw6mEW8nhtA7GbTdJLv4M6/WYtcvQV8TDcNCfltOfl81U3gcZ9zhQDKGVoNaJEw== [email protected]
sshKeySecureFile: id_rsa
displayName: Download SSH key
continueOnError: true

# chem_data
- task: DownloadPipelineArtifact@2
inputs:
source: 'specific'
Expand All @@ -22,15 +24,34 @@ steps:
displayName: Download chem_data

- script: |
export SVN_SSH="ssh -F $(ssh_config.secureFilePath)"
if [ ! -d "$(Pipeline.Workspace)/modules/chem_data" ]; then
svn co svn+ssh://[email protected]/chem_data/trunk chem_data
fi
cd $(Pipeline.Workspace)/modules/chem_data
svn update
git reset --hard origin/main
git lfs install --local
git pull --rebase
git lfs pull
displayName: Update chem_data
continueOnError: true

# geostd (in chem_data)
- task: DownloadPipelineArtifact@2
inputs:
source: 'specific'
project: '$(resources.pipeline.data_cache.projectID)'
pipeline: '$(resources.pipeline.data_cache.pipelineID)'
allowPartiallySucceededBuilds: true
artifact: 'geostd'
path: $(Pipeline.Workspace)/modules/chem_data/geostd
displayName: Download geostd
continueOnError: true

- script: |
cd $(Pipeline.Workspace)/modules/chem_data/geostd
git reset --hard origin/master
git pull --rebase
displayName: Update geostd
continueOnError: true

# phenix_regression
- task: DownloadPipelineArtifact@2
inputs:
source: 'specific'
Expand All @@ -49,6 +70,7 @@ steps:
displayName: Update phenix_regression
continueOnError: true

# phenix_examples
- task: DownloadPipelineArtifact@2
inputs:
source: 'specific'
Expand Down
19 changes: 9 additions & 10 deletions .azure-pipelines/templates/update-data-cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# is required to prevent Azure Pipelines from deleting the .git directory.
# when creating the artifact.
# - miniforge
# - mambaforge
# - chem_data
# - geostd
# - phenix_regression
Expand All @@ -26,11 +27,6 @@ jobs:
sshKeySecureFile: id_rsa
displayName: Download SSH key

- task: DownloadSecureFile@1
name: ssh_config
inputs:
secureFile: ssh.config

# miniforge
- script: |
mkdir -p $(System.DefaultWorkingDirectory)/miniforge
Expand Down Expand Up @@ -66,15 +62,18 @@ jobs:
continueOnError: true

- script: |
export SVN_SSH="ssh -F $(ssh_config.secureFilePath)"
if [ ! -d "$(System.DefaultWorkingDirectory)/chem_data/.svn" ]; then
if [ ! -d "$(System.DefaultWorkingDirectory)/chem_data/.git" ]; then
rm -fr $(System.DefaultWorkingDirectory)/chem_data
cd $(System.DefaultWorkingDirectory)
svn co svn+ssh://[email protected]/chem_data/trunk chem_data
git clone https://gitlab.com/phenix_project/chem_data.git
git lfs install --local
git lfs pull
fi
cd $(System.DefaultWorkingDirectory)/chem_data
svn relocate svn+ssh://[email protected]/chem_data/trunk
svn update
git reset --hard origin/main
git lfs install --local
git pull --rebase
git lfs pull
displayName: Update chem_data
continueOnError: true

Expand Down
2 changes: 1 addition & 1 deletion .azure-pipelines/unix-conda-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ steps:
- script: |
set -xe
source $(Pipeline.Workspace)/miniforge/etc/profile.d/conda.sh
mamba update --all -y -n base
conda update --all -y -n base
displayName: Update miniforge

# create conda environment
Expand Down
1 change: 1 addition & 0 deletions .azure-pipelines/xfel/azure-pipelines-xfel-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ trigger:
exclude:
- master
- main
- releases/*

resources:
pipelines:
Expand Down
20 changes: 9 additions & 11 deletions .azure-pipelines/xfel/conda-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,17 @@ jobs:
# https://github.com/ApexAI/performance_test/blob/master/azure-pipelines.yml#L9-L17

# centos setup
# https://serverfault.com/questions/1161816/mirrorlist-centos-org-no-longer-resolve
- script: |
set -xe
/tmp/docker exec -t -u 0 ci-container \
sh -c "sed -i 's/mirrorlist=http/#mirrorlist=http/g' /etc/yum.repos.d/CentOS-Base.repo"
sh -c "sed -i s/mirror.centos.org/vault.centos.org/g /etc/yum.repos.d/*.repo"
/tmp/docker exec -t -u 0 ci-container \
sh -c "sed -i 's/#baseurl=http:\/\/mirror/baseurl=http:\/\/vault/g' /etc/yum.repos.d/CentOS-Base.repo"
cat /etc/yum.repos.d/CentOS-Base.repo
displayName: Modify yum repositories for CentOS 6
condition: eq('${{ parameters.version[0] }}', 6)
sh -c "sed -i s/^#.*baseurl=http/baseurl=http/g /etc/yum.repos.d/*.repo"
/tmp/docker exec -t -u 0 ci-container \
sh -c "sed -i s/^mirrorlist=http/#mirrorlist=http/g /etc/yum.repos.d/*.repo"
displayName: Modify yum repositories for CentOS 7
condition: eq('${{ parameters.distribution }}', 'centos')

- script: |
/tmp/docker exec -t -u 0 ci-container \
Expand All @@ -71,15 +73,11 @@ jobs:
displayName: Install dependencies for CentOS
condition: eq('${{ parameters.distribution }}', 'centos')

- script: |
sudo yum install -y python-argparse
displayName: Install argparse for CentOS 6
condition: eq('${{ parameters.version[0] }}', 6)

- bash: |
echo "##vso[task.setvariable variable=LC_ALL]C.utf8"
displayName: Setup locale for CentOS 8
condition: eq('${{ parameters.version[0] }}', 8)
condition: or(eq('${{ parameters.version[0] }}', 8),
eq('${{ parameters.version[0] }}', 9))

# https://lists.openhpc.community/g/users/topic/openmpi_and_shared_memory/16489081?p=,,,20,0,0,0::recentpostdate%2Fsticky,,,20,2,0,16489081
- script: |
Expand Down
9 changes: 5 additions & 4 deletions .azure-pipelines/xfel/conda-osx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,11 @@ jobs:
failOnStderr: false

- script: |
rm -f $(Pipeline.Workspace)/build/lib/scitbx_array_family_flex_ext.so
displayName: Fix broken cache on macOS 10.15 and 11
condition: or(and(eq('${{ parameters.vmImage[0] }}', 10), eq('${{ parameters.vmImage[1] }}', 15)),
eq('${{ parameters.vmImage[0] }}', 11))
set -xe
for f in cctbx_geometry_restraints_ext.so scitbx_array_family_flex_ext.so ; do
rm -f $(Pipeline.Workspace)/build/lib/${f}
done
displayName: Fix broken cache on macOS
continueOnError: true
failOnStderr: false

Expand Down
18 changes: 18 additions & 0 deletions .azure-pipelines/xfel/download-source.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,28 @@ jobs:
- checkout: self
path: ./modules/cctbx_project

# add conda to path
# https://docs.microsoft.com/en-us/azure/devops/pipelines/ecosystems/anaconda?view=azure-devops&tabs=ubuntu-16-04#add-conda-to-your-system-path
- bash: echo "##vso[task.prependpath]$CONDA/bin"
displayName: Add conda to PATH

# create environment with earlier version of git
# https://github.com/git-lfs/git-lfs/issues/5749
- script: |
set -xe
conda create -n git -c conda-forge -y git=2.44
displayName: Create environment with git
retryCountOnTaskFailure: 3

- script: |
cd $(Pipeline.Workspace)
ln -s modules/cctbx_project/libtbx/auto_build/bootstrap.py
displayName: Link bootstrap.py

- script: |
set -xe
source $(CONDA)/etc/profile.d/conda.sh
conda activate git
cd $(Pipeline.Workspace)
python bootstrap.py hot update --builder=xfel --python=39 --no-boost-src
cd modules
Expand Down Expand Up @@ -61,7 +77,9 @@ jobs:
# preserve permissions and delete extra files
- script: |
cd $(Pipeline.Workspace)
mv modules/kokkos/.git modules/kokkos/.git.tmp
rm -fr modules/*/.git/*
mv modules/kokkos/.git.tmp modules/kokkos/.git
rm -fr modules/*/.svn/*
rm -fr modules/*.tar
tar -cf modules.tar modules
Expand Down
4 changes: 3 additions & 1 deletion .azure-pipelines/xfel/unix-conda-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,9 @@ steps:
source $(Pipeline.Workspace)/miniforge/etc/profile.d/conda.sh
conda create -y -n $(PYTHON_VERSION) --file $(Pipeline.Workspace)/modules/dials/.conda-envs/$(OS).txt python=$(PYTHON_FULL_VERSION)
conda install -y -c conda-forge --no-deps -n $(PYTHON_VERSION) junit-xml
conda install -y -c conda-forge cmake pandas distro -n $(PYTHON_VERSION)
conda install -y -c conda-forge cmake make pandas distro -n $(PYTHON_VERSION)
displayName: Create conda environment
retryCountOnTaskFailure: 3

- script: |
set -xe
Expand Down Expand Up @@ -95,6 +96,7 @@ steps:
libtbx.configure lunus
make
fi
rm -fr modules/kokkos/.git/*
displayName: Configure and Build

# test
Expand Down
Loading