packmol 21.2.2__tar.gz → 21.2.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (107) hide show
  1. {packmol-21.2.2 → packmol-21.2.3}/CHANGELOG.md +5 -1
  2. {packmol-21.2.2 → packmol-21.2.3}/PKG-INFO +1 -1
  3. {packmol-21.2.2 → packmol-21.2.3}/fpm.toml +1 -1
  4. {packmol-21.2.2 → packmol-21.2.3}/pyproject.toml +1 -1
  5. packmol-21.2.3/python/packmol/binaries/packmol +0 -0
  6. {packmol-21.2.2 → packmol-21.2.3}/src/title.f90 +1 -1
  7. {packmol-21.2.2 → packmol-21.2.3}/testing/Project.toml +4 -0
  8. {packmol-21.2.2 → packmol-21.2.3}/testing/runtests.jl +5 -4
  9. packmol-21.2.2/python/packmol/binaries/packmol +0 -0
  10. {packmol-21.2.2 → packmol-21.2.3}/.github/workflows/actions.yml +0 -0
  11. {packmol-21.2.2 → packmol-21.2.3}/.github/workflows/build-wheels.yaml +0 -0
  12. {packmol-21.2.2 → packmol-21.2.3}/.github/workflows/changelog.yml +0 -0
  13. {packmol-21.2.2 → packmol-21.2.3}/.gitignore +0 -0
  14. {packmol-21.2.2 → packmol-21.2.3}/AUTHORS +0 -0
  15. {packmol-21.2.2 → packmol-21.2.3}/CMakeLists.txt +0 -0
  16. {packmol-21.2.2 → packmol-21.2.3}/LICENSE +0 -0
  17. {packmol-21.2.2 → packmol-21.2.3}/Makefile +0 -0
  18. {packmol-21.2.2 → packmol-21.2.3}/README.md +0 -0
  19. {packmol-21.2.2 → packmol-21.2.3}/app/packmol.f90 +0 -0
  20. {packmol-21.2.2 → packmol-21.2.3}/compile_cmake.sh +0 -0
  21. {packmol-21.2.2 → packmol-21.2.3}/configure +0 -0
  22. {packmol-21.2.2 → packmol-21.2.3}/header +0 -0
  23. {packmol-21.2.2 → packmol-21.2.3}/python/hatch_build.py +0 -0
  24. {packmol-21.2.2 → packmol-21.2.3}/python/packmol/__init__.py +0 -0
  25. {packmol-21.2.2 → packmol-21.2.3}/python/packmol/binaries/.gitignore +0 -0
  26. {packmol-21.2.2 → packmol-21.2.3}/python/packmol/cli.py +0 -0
  27. {packmol-21.2.2 → packmol-21.2.3}/python/tests/test_packmol.py +0 -0
  28. {packmol-21.2.2 → packmol-21.2.3}/solvate.tcl +0 -0
  29. {packmol-21.2.2 → packmol-21.2.3}/src/ahestetic.f90 +0 -0
  30. {packmol-21.2.2 → packmol-21.2.3}/src/cell_indexing.f90 +0 -0
  31. {packmol-21.2.2 → packmol-21.2.3}/src/cenmass.f90 +0 -0
  32. {packmol-21.2.2 → packmol-21.2.3}/src/checkpoint.f90 +0 -0
  33. {packmol-21.2.2 → packmol-21.2.3}/src/cli_parser.f90 +0 -0
  34. {packmol-21.2.2 → packmol-21.2.3}/src/comparegrad.f90 +0 -0
  35. {packmol-21.2.2 → packmol-21.2.3}/src/comprest.f90 +0 -0
  36. {packmol-21.2.2 → packmol-21.2.3}/src/compute_data.f90 +0 -0
  37. {packmol-21.2.2 → packmol-21.2.3}/src/computef.f90 +0 -0
  38. {packmol-21.2.2 → packmol-21.2.3}/src/computeg.f90 +0 -0
  39. {packmol-21.2.2 → packmol-21.2.3}/src/exit_codes.f90 +0 -0
  40. {packmol-21.2.2 → packmol-21.2.3}/src/flashmod.f90 +0 -0
  41. {packmol-21.2.2 → packmol-21.2.3}/src/flashsort.f90 +0 -0
  42. {packmol-21.2.2 → packmol-21.2.3}/src/fparc.f90 +0 -0
  43. {packmol-21.2.2 → packmol-21.2.3}/src/gencan.f +0 -0
  44. {packmol-21.2.2 → packmol-21.2.3}/src/gencan_ieee_signal_routines.f90 +0 -0
  45. {packmol-21.2.2 → packmol-21.2.3}/src/getinp.f90 +0 -0
  46. {packmol-21.2.2 → packmol-21.2.3}/src/gparc.f90 +0 -0
  47. {packmol-21.2.2 → packmol-21.2.3}/src/gwalls.f90 +0 -0
  48. {packmol-21.2.2 → packmol-21.2.3}/src/heuristics.f90 +0 -0
  49. {packmol-21.2.2 → packmol-21.2.3}/src/initial.f90 +0 -0
  50. {packmol-21.2.2 → packmol-21.2.3}/src/input.f90 +0 -0
  51. {packmol-21.2.2 → packmol-21.2.3}/src/jacobi.f90 +0 -0
  52. {packmol-21.2.2 → packmol-21.2.3}/src/output.f90 +0 -0
  53. {packmol-21.2.2 → packmol-21.2.3}/src/pbc.f90 +0 -0
  54. {packmol-21.2.2 → packmol-21.2.3}/src/pgencan.f90 +0 -0
  55. {packmol-21.2.2 → packmol-21.2.3}/src/polartocart.f90 +0 -0
  56. {packmol-21.2.2 → packmol-21.2.3}/src/random.f90 +0 -0
  57. {packmol-21.2.2 → packmol-21.2.3}/src/resetcells.f90 +0 -0
  58. {packmol-21.2.2 → packmol-21.2.3}/src/restmol.f90 +0 -0
  59. {packmol-21.2.2 → packmol-21.2.3}/src/setsizes.f90 +0 -0
  60. {packmol-21.2.2 → packmol-21.2.3}/src/sizes.f90 +0 -0
  61. {packmol-21.2.2 → packmol-21.2.3}/src/strlength.f90 +0 -0
  62. {packmol-21.2.2 → packmol-21.2.3}/src/swaptype.f90 +0 -0
  63. {packmol-21.2.2 → packmol-21.2.3}/src/swaptypemod.f90 +0 -0
  64. {packmol-21.2.2 → packmol-21.2.3}/src/tobar.f90 +0 -0
  65. {packmol-21.2.2 → packmol-21.2.3}/src/usegencan.f90 +0 -0
  66. {packmol-21.2.2 → packmol-21.2.3}/src/writesuccess.f90 +0 -0
  67. {packmol-21.2.2 → packmol-21.2.3}/testing/input_files/benzene2.inp +0 -0
  68. {packmol-21.2.2 → packmol-21.2.3}/testing/input_files/bilayer.inp +0 -0
  69. {packmol-21.2.2 → packmol-21.2.3}/testing/input_files/bilayer_pbc.inp +0 -0
  70. {packmol-21.2.2 → packmol-21.2.3}/testing/input_files/ieee_signaling.inp +0 -0
  71. {packmol-21.2.2 → packmol-21.2.3}/testing/input_files/mixture.inp +0 -0
  72. {packmol-21.2.2 → packmol-21.2.3}/testing/input_files/mixture_pbc.inp +0 -0
  73. {packmol-21.2.2 → packmol-21.2.3}/testing/input_files/only_one_fixed.inp +0 -0
  74. {packmol-21.2.2 → packmol-21.2.3}/testing/input_files/protein_outside_pbc_error.inp +0 -0
  75. {packmol-21.2.2 → packmol-21.2.3}/testing/input_files/solvprotein.inp +0 -0
  76. {packmol-21.2.2 → packmol-21.2.3}/testing/input_files/solvprotein_pbc.inp +0 -0
  77. {packmol-21.2.2 → packmol-21.2.3}/testing/input_files/spherical.inp +0 -0
  78. {packmol-21.2.2 → packmol-21.2.3}/testing/input_files/spherical_pbc.inp +0 -0
  79. {packmol-21.2.2 → packmol-21.2.3}/testing/input_files/toy_with_fixed.inp +0 -0
  80. {packmol-21.2.2 → packmol-21.2.3}/testing/input_files/water_box.inp +0 -0
  81. {packmol-21.2.2 → packmol-21.2.3}/testing/input_files/water_box_conect.inp +0 -0
  82. {packmol-21.2.2 → packmol-21.2.3}/testing/input_files/water_box_failed.inp +0 -0
  83. {packmol-21.2.2 → packmol-21.2.3}/testing/input_files/water_box_pbc.inp +0 -0
  84. {packmol-21.2.2 → packmol-21.2.3}/testing/input_files/water_box_pbc2.inp +0 -0
  85. {packmol-21.2.2 → packmol-21.2.3}/testing/input_files/water_box_pbc_negative_coordinates.inp +0 -0
  86. {packmol-21.2.2 → packmol-21.2.3}/testing/input_files/water_box_pbc_outside_box.inp +0 -0
  87. {packmol-21.2.2 → packmol-21.2.3}/testing/input_files/water_box_pbc_slab.inp +0 -0
  88. {packmol-21.2.2 → packmol-21.2.3}/testing/install_julia.sh +0 -0
  89. {packmol-21.2.2 → packmol-21.2.3}/testing/output_files/benzene2.pdb +0 -0
  90. {packmol-21.2.2 → packmol-21.2.3}/testing/output_files/water_connect.pdb +0 -0
  91. {packmol-21.2.2 → packmol-21.2.3}/testing/structure_files/CLA.pdb +0 -0
  92. {packmol-21.2.2 → packmol-21.2.3}/testing/structure_files/SOD.pdb +0 -0
  93. {packmol-21.2.2 → packmol-21.2.3}/testing/structure_files/benzene.pdb +0 -0
  94. {packmol-21.2.2 → packmol-21.2.3}/testing/structure_files/ieee_signaling.pdb +0 -0
  95. {packmol-21.2.2 → packmol-21.2.3}/testing/structure_files/ieee_signaling_box.pdb +0 -0
  96. {packmol-21.2.2 → packmol-21.2.3}/testing/structure_files/palmitoil.pdb +0 -0
  97. {packmol-21.2.2 → packmol-21.2.3}/testing/structure_files/protein.pdb +0 -0
  98. {packmol-21.2.2 → packmol-21.2.3}/testing/structure_files/spherical.pdb +0 -0
  99. {packmol-21.2.2 → packmol-21.2.3}/testing/structure_files/urea.pdb +0 -0
  100. {packmol-21.2.2 → packmol-21.2.3}/testing/structure_files/water.pdb +0 -0
  101. {packmol-21.2.2 → packmol-21.2.3}/testing/structure_files/water_box.pdb +0 -0
  102. {packmol-21.2.2 → packmol-21.2.3}/testing/structure_files/water_conect.pdb +0 -0
  103. {packmol-21.2.2 → packmol-21.2.3}/testing/test.sh +0 -0
  104. {packmol-21.2.2 → packmol-21.2.3}/testing/test_cli.sh +0 -0
  105. {packmol-21.2.2 → packmol-21.2.3}/testing/test_connectivity.sh +0 -0
  106. {packmol-21.2.2 → packmol-21.2.3}/testing/test_failed.sh +0 -0
  107. {packmol-21.2.2 → packmol-21.2.3}/update_version.sh +0 -0
@@ -10,7 +10,11 @@ packmol changelog
10
10
  [badge-fix]: https://img.shields.io/badge/Fix-purple.svg
11
11
  [badge-info]: https://img.shields.io/badge/Info-gray.svg
12
12
 
13
- Version 21.2.2-DEV
13
+ Version 21.2.3
14
+ --------------
15
+ - ![INFO][badge-info] Update versions of CellListMap.jl and PDBTools.jl packages in test infraestructure.
16
+
17
+ Version 21.2.2
14
18
  --------------
15
19
  - ![INFO][badge-info] Fix code typos.
16
20
  - ![INFO][badge-info] Add changelog verification CI run.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: packmol
3
- Version: 21.2.2
3
+ Version: 21.2.3
4
4
  Summary: Packmol - Creates Initial Configurations for Molecular Dynamics Simulations
5
5
  Project-URL: Homepage, https://github.com/m3g/packmol
6
6
  Project-URL: Repository, https://github.com/m3g/packmol
@@ -1,5 +1,5 @@
1
1
  name = "packmol"
2
- version = "21.2.2"
2
+ version = "21.2.3"
3
3
  license = "MIT"
4
4
  author = "Leandro Martinez, Ernesto Birgin, Jose Mario Martinez"
5
5
  maintainer = "Leandro Martinez"
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "packmol"
3
- version = "21.2.2"
3
+ version = "21.2.3"
4
4
  description = "Packmol - Creates Initial Configurations for Molecular Dynamics Simulations"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.10"
@@ -13,7 +13,7 @@ subroutine title()
13
13
  write(*,"(' PACKMOL - Packing optimization for the automated generation of', /&
14
14
  &' starting configurations for molecular dynamics simulations.', /&
15
15
  &' ',/&
16
- &t61,' Version 21.2.2 ')")
16
+ &t61,' Version 21.2.3 ')")
17
17
  write(*,hash3_line)
18
18
 
19
19
  end subroutine title
@@ -1,3 +1,7 @@
1
+ [compat]
2
+ CellListMap = "0.10.2"
3
+ PDBTools = "3.27.0"
4
+
1
5
  [deps]
2
6
  CellListMap = "69e1c6dd-3888-40e6-b3c8-31ac5f578864"
3
7
  PDBTools = "e29189f1-7114-4dbd-93d0-c5673a921a58"
@@ -22,14 +22,15 @@ struct MinimumDistance
22
22
  j::Int
23
23
  d::Float64
24
24
  end
25
- function update_mind(i, j, d2, pdb, md::MinimumDistance)
25
+ function update_mind(pair, pdb, md::MinimumDistance)
26
+ (; i, j, d2) = pair
26
27
  residue(pdb[i]) == residue(pdb[j]) && return md
27
28
  d = sqrt(d2)
28
29
  return d < md.d ? MinimumDistance(i, j, d) : md
29
30
  end
30
- CellListMap.reducer(md1::MinimumDistance, md2::MinimumDistance) = md1.d < md2.d ? md1 : md2
31
+ CellListMap.reducer!(md1::MinimumDistance, md2::MinimumDistance) = md1.d < md2.d ? md1 : md2
31
32
  CellListMap.copy_output(md::MinimumDistance) = md
32
- CellListMap.reset_output(::MinimumDistance) = MinimumDistance(0, 0, +Inf)
33
+ CellListMap.reset_output!(::MinimumDistance) = MinimumDistance(0, 0, +Inf)
33
34
 
34
35
  function check_mind(input_file::String)
35
36
  tolerance = nothing
@@ -63,7 +64,7 @@ function check_mind(input_file::String)
63
64
  cutoff = tolerance * 1.5,
64
65
  output = MinimumDistance(0, 0, +Inf),
65
66
  )
66
- mind = map_pairwise((x,y,i,j,d2,md) -> update_mind(i, j, d2, pdb, md), sys)
67
+ mind = pairwise!((pair,md) -> update_mind(pair, pdb, md), sys)
67
68
  if (mind.d < (1 - precision) * tolerance)
68
69
  error("""\n
69
70
 
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes