Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
178 commits
Select commit Hold shift + click to select a range
ada0f2f
Added c files
richardjgowers Feb 28, 2016
b5e5906
Bumped version to 0.14.0 release
richardjgowers Feb 28, 2016
13a97e4
Finalised CHANGELOG
richardjgowers Feb 28, 2016
cc64b45
Merged 0.15.0 release into master
richardjgowers May 15, 2016
a28739a
Finalised CHANGELOG for v0.16.0
richardjgowers Apr 10, 2017
b55e64f
Merge branch 'develop'
richardjgowers Apr 10, 2017
2d474e9
Updated Cython C files
richardjgowers Apr 10, 2017
e464e9a
Fixed version in testsuite
richardjgowers Apr 10, 2017
6a274d7
Updated conda build version
richardjgowers Apr 10, 2017
dfb09d6
Merge branch 'develop'
richardjgowers Jun 3, 2017
723cd89
Updated c sources for 0.16.1
richardjgowers Jun 3, 2017
fbc1688
make scipy and matplotlib full dependencies (#1159)
orbeckst Jun 16, 2017
4734057
scipy and matplotlib are imported at top in analysis
orbeckst Jun 16, 2017
12a795e
removed conditional skipping of tests when scipy or matplotlib are mi…
orbeckst Jun 16, 2017
85c0c56
minor clean ups
kain88-de Jun 17, 2017
f846427
add @utkbansal to changelog
kain88-de Jun 24, 2017
ae72fe9
Merge branch 'master' into release-0.16.2
richardjgowers Jun 27, 2017
5b55e0e
Merge pull request #1421 from MDAnalysis/release-0.16.2
richardjgowers Jun 27, 2017
3fa9bf7
Bumped version to 0.16.2 release
richardjgowers Jun 27, 2017
ea708b0
Updated c sources for 0.16.2 release
richardjgowers Jun 27, 2017
2b327cd
Bumped version to 0.17 release
richardjgowers Jan 24, 2018
b07983c
Merge branch 'develop'
richardjgowers Jan 24, 2018
9189429
updated conda recipe for 0.17.0 release
richardjgowers Jan 24, 2018
f7a6f47
regenerated c files for 0.17.0
richardjgowers Jan 25, 2018
e8a1648
finalised 0.18.0
richardjgowers Apr 15, 2018
bc5be1f
Merge branch 'develop'
richardjgowers Apr 15, 2018
39b0e4c
updated c files for 0.18 release
richardjgowers Apr 22, 2018
bd83af7
Merge branch 'develop'
richardjgowers Oct 9, 2018
bd3ff77
fixed compilation of cpp sources
richardjgowers Oct 9, 2018
d9e58f2
Updated c/cpp sources for 0.19
richardjgowers Oct 9, 2018
108ffe0
Merge pull request #2095 from MDAnalysis/release-0.19.0
richardjgowers Oct 9, 2018
7c119ab
finish version 0.19.1
richardjgowers Nov 5, 2018
03ae3bc
Merge branch 'develop'
richardjgowers Nov 5, 2018
b7f36bd
updated c sources for 0.19.1
richardjgowers Nov 5, 2018
8622a0e
fixup to changelog
richardjgowers Nov 5, 2018
de6f119
fixup to changelog
richardjgowers Nov 5, 2018
a1d9f75
started v0.19.2
richardjgowers Nov 5, 2018
9fd8913
Merge pull request #2133 from MDAnalysis/rel-19.1
richardjgowers Nov 6, 2018
7d8d0e6
added windows support
richardjgowers Nov 6, 2018
d571723
finalised v0.19.2
richardjgowers Nov 6, 2018
5c19974
Merge branch 'start-0.19.2'
richardjgowers Nov 6, 2018
074a4e1
finalised release date of v0.20.0
richardjgowers Aug 28, 2019
4f46946
updated version to 0.20.0 release
richardjgowers Aug 28, 2019
cdb96ff
Merge branch 'develop'
richardjgowers Aug 28, 2019
7c468a4
updated C/Cpp sources for v0.20.0
richardjgowers Aug 28, 2019
e5e4f5e
finalised v0.20.1 release
richardjgowers Sep 5, 2019
ee47592
Merge branch 'develop'
richardjgowers Sep 5, 2019
1a8759c
finalised 1.0.0 changelog
richardjgowers Jun 9, 2020
169db04
Merge branch 'develop'
richardjgowers Jun 9, 2020
85ebe43
bumped version number to 1.0.0
richardjgowers Jun 10, 2020
7d03843
Merge branch 'develop'
richardjgowers Jun 10, 2020
4365f3b
update c/cpp files for 1.0.0 release
richardjgowers Jun 10, 2020
efe48c4
restrict pip package versions to Python 2.7 compatible ones
orbeckst Jun 10, 2020
4db8130
update CHANGELOG
orbeckst Jun 10, 2020
bf16435
change status from beta to mature
IAlibay Jun 20, 2020
a2a9a5c
fix InterRDF_s(..., density) normalization
VOD555 Jul 1, 2020
dbd39c2
changed InterRDF_s density keyword semantics
orbeckst Jul 10, 2020
8af09d7
Add scripts for doc versioning (#2749)
lilyminium Jun 15, 2020
7313cf1
build docs for master as well
lilyminium Jul 1, 2020
dbaf957
removed matplotlib.use('agg') from tests
orbeckst Jun 16, 2020
dd4490a
CI: add codecov to Azure CI (#2720)
tylerjereddy Jun 26, 2020
bbafbbe
fixed 1.0.1 contributor list based on git log
orbeckst Jun 26, 2020
28f043f
file clean-ups
orbeckst Jun 30, 2020
656e724
fixes google badges (#2772)
IAlibay Jun 18, 2020
dd0bbe4
fixed maintainer/change_release.sh
orbeckst Jul 1, 2020
1e107ed
bumped release to 1.0.1-dev (so that docs are properly labeled)
orbeckst Jul 1, 2020
e8fbd52
Make the TPR parser a bit faster (#2804)
jbarnoud Jul 2, 2020
fa6bc1f
ChainReader Refactoring (#2815)
yuxuanzhuang Jul 3, 2020
720ab7a
decorate Selection.apply to ignore empty atomgroups (#2767)
lilyminium Jun 20, 2020
de8813e
TRZReader check for n_atoms (#2820)
yuxuanzhuang Jul 7, 2020
721c800
deprecation of waterdynamics.HydrogenBondLifetimes
orbeckst Jul 12, 2020
5608bb8
Fixes AttributeError in HydrogenBondAnalysis (#2849)
Jul 15, 2020
7c1c426
fix masses and charge bug in HOOMD-XML parser (#2889)
CalCraven Aug 12, 2020
89cf0a3
Implemented extraction of chains from DMS formats (#2872)
ianmkenney Jul 29, 2020
9100720
cleaned up lib.log (#2902)
orbeckst Aug 14, 2020
b672b59
Faster name selections (#2755)
richardjgowers Aug 25, 2020
c6e27a3
pin chemfiles-lib for Python 2.7
orbeckst Aug 27, 2020
82ff196
add travis job to test pypi packaging
orbeckst Jul 1, 2020
4ed8f41
consolidate package info files
orbeckst Jun 30, 2020
b27a59f
deprecate core.universe.as_Universe
orbeckst Aug 27, 2020
27dae7c
Added space to separate field in helanal output files
rcrehuet Jun 10, 2020
4173028
install chemfiles via pip for Python 2.7
orbeckst Sep 1, 2020
f6cf595
fix minor inconsistencies in backport
orbeckst Sep 2, 2020
d91e5e8
Deprecate helanal (PR #2928)
lilyminium Sep 4, 2020
52679c7
Merge pull request #2798 from MDAnalysis/backport-1.0.1
orbeckst Sep 4, 2020
1327583
oops
lilyminium Sep 6, 2020
2ebb052
Add test files (#2940)
lilyminium Sep 9, 2020
992d0e3
add docs for analysis.align.AverageStructure
orbeckst Sep 15, 2020
ecbbc4e
ensure that unistd.h is included for spe.c with recent clang
orbeckst Sep 18, 2020
9c496f6
comment out parmed intersphinx
lilyminium Sep 28, 2020
3619b53
Add more docs redirects (#2960)
lilyminium Oct 1, 2020
4303288
Add doc script changes but revert VERSION variable (#2964)
lilyminium Oct 2, 2020
efb9137
Have copies of docs at stable/ and dev/ (#2970)
lilyminium Oct 6, 2020
1116b7e
change CHARMM selection syntax page (#2973)
IAlibay Oct 6, 2020
c4fa754
Stable sitemap master (#2999)
lilyminium Oct 20, 2020
5a259b7
Always transplant a stub for transplanted methods (#2427)
jbarnoud Oct 22, 2020
e12bd3f
update CI files for Py2/Py3 packages
orbeckst Oct 23, 2020
3640cd8
Merge pull request #3007 from MDAnalysis/backport-PR2427
orbeckst Oct 23, 2020
088a666
Add dev and stable versions once (#3009)
lilyminium Oct 24, 2020
73cd1e6
Have CI use mamba (#2983)
jbarnoud Oct 15, 2020
49cb0a8
Fixed AtomGroup.center's behavior when using compounds in conjugation…
mnmelo Oct 18, 2020
2ef90f2
increase default Python to 3.7 on Travis CI (#3011)
orbeckst Oct 24, 2020
e8403c7
Add dev and stable versions once (#3009)
lilyminium Oct 24, 2020
0b6b372
Have CI use mamba (#2983)
jbarnoud Oct 15, 2020
b37f518
Fixed AtomGroup.center's behavior when using compounds in conjugation…
mnmelo Oct 18, 2020
9da4442
increase default Python to 3.7 on Travis CI (#3011)
orbeckst Oct 24, 2020
0e3c108
Adds basic GH Actions CI workflow (#3040)
IAlibay Dec 2, 2020
63444aa
Deploy docs via GitHub Actions CI (#3053)
lilyminium Dec 6, 2020
0030b38
TST, CI: add ARM64 Graviton 2 to CI (#2956)
tylerjereddy Oct 19, 2020
3b941da
ParmEdConverter: fix NameError when catching NoDataError (#2953)
Oct 30, 2020
c07b5c8
Improve the performance of ParmEd converter. (Fix #3028) (#3029)
HanatoK Nov 19, 2020
082b087
mv travis back and only keep 3.5 and 2.7
lilyminium Dec 9, 2020
7a92b3c
Merge branch 'master' into gh-actions-py3
lilyminium Dec 9, 2020
74f229c
move py3.5 job
lilyminium Dec 9, 2020
383d15e
Adds basic GH Actions CI workflow (#3040)
IAlibay Dec 2, 2020
86eb383
Deploy docs via GitHub Actions CI (#3053)
lilyminium Dec 6, 2020
0f9a6e5
TST, CI: add ARM64 Graviton 2 to CI (#2956)
tylerjereddy Oct 19, 2020
7f83f4a
ParmEdConverter: fix NameError when catching NoDataError (#2953)
Oct 30, 2020
a64eed9
Improve the performance of ParmEd converter. (Fix #3028) (#3029)
HanatoK Nov 19, 2020
454bd4d
mv travis back and only keep 3.5 and 2.7
lilyminium Dec 9, 2020
60ea0bb
move py3.5 job
lilyminium Dec 9, 2020
c88698d
Merge branch 'gh-actions-py3' of github.com:lilyminium/mdanalysis int…
lilyminium Dec 14, 2020
6a99f57
rm appveyor
lilyminium Dec 14, 2020
09bdc9a
try pinning
lilyminium Dec 16, 2020
c3c4240
Merge pull request #3067 from lilyminium/gh-actions-py3
lilyminium Dec 21, 2020
fe6cb34
Add ReadTheDocs configuration for PR builds (#3060)
lilyminium Dec 10, 2020
8c1fbd6
Install MDAnalysis on ReadTheDocs via pip (#3071)
lilyminium Dec 15, 2020
ebd9c02
Merge pull request #3078 from lilyminium/rtd-master
lilyminium Dec 22, 2020
6e2d8e7
Temporarily disable nsgrid (Issue #2930) (#3004)
IAlibay Dec 22, 2020
c1bef0f
Rel 1.0.1b (#3093)
richardjgowers Jan 17, 2021
c69be8f
Turn off mamba for Travis CI (#3099)
lilyminium Jan 18, 2021
f64e5a5
Change tmpdir fixture to tmpdir_factory (#3095) (#3097)
lilyminium Jan 22, 2021
658a73d
Copy README into package (#3094)
IAlibay Jan 23, 2021
6eb715a
Fix python_requires (#3104)
IAlibay Jan 24, 2021
bc95e31
Fix rotateby documentation (#2903)
RMeli Aug 12, 2020
d9dcdcd
Fixed NSGrid (#3133)
richardjgowers Mar 7, 2021
d3b38cd
Implement legacy CI for py2.7 and 3.5 (#3143)
IAlibay Mar 8, 2021
232b4dc
Unpin dependencies for py3.6+ in setup files (#3139)
IAlibay Mar 12, 2021
7ed893d
Move and deprecate old waterbridge analysis code location (#3111)
xiki-tempula Mar 13, 2021
1eede18
Adds deprecation warning when trying to add_TopAttr bfactors or tempf…
lilyminium Mar 14, 2021
03c6317
Add tpr_resid_from_one keyword to TPRParser (#3153)
lilyminium Mar 14, 2021
e4659fb
Use match to check hole2 warnings (#3162)
lilyminium Mar 14, 2021
2c9be4e
Adds test to make sure small box issue is now fixed #2670 (#3163)
IAlibay Mar 14, 2021
5c61de4
Fixed issue -3129 (#3130)
richardjgowers Mar 15, 2021
eb73468
fixed NSGrid bug #2345 (#3182)
zemanj Mar 21, 2021
9a03aec
Deprecates using segid for chainid (#3173)
lilyminium Mar 22, 2021
04e8af4
Issue 2327 - Warn of upcoming scale_factor changes (#3185)
IAlibay Mar 27, 2021
c6f1a5a
improved FastNS performance for orthorhombic boxes (#3186)
zemanj Mar 29, 2021
1522653
Remove Timestep code path for ParmedConverter (#3172)
lilyminium Apr 3, 2021
0880dc1
use branching instead of bool multipliers (#3210)
zemanj Apr 3, 2021
b5ab73d
Added get_connections (#3160)
lilyminium Apr 4, 2021
de8933a
Deprecation warning for results attribute (#3194)
PicoCentauri Apr 5, 2021
361ca7e
Undo half of PR 3160 (#3212)
lilyminium Apr 5, 2021
76c9dc0
hbond_autocorrel exclusion fix (#3242)
richardjgowers Apr 28, 2021
c70504d
Prep for release 1.1.0 (#3246)
IAlibay Apr 28, 2021
740cae2
Update to 1.1.1 (#3251)
IAlibay May 1, 2021
e4cb6ba
removed autogenerated C/CPP files from version control (#3250)
richardjgowers May 2, 2021
1e456e8
retroactive CHANGELOG 1.0.0 fixes (#3260)
orbeckst May 6, 2021
53b4bae
Merge remote-tracking branch 'origin/master' into develop
richardjgowers May 13, 2021
f570784
Merge remote-tracking branch 'origin/develop' into develop
richardjgowers May 13, 2021
aa58252
Update hbond_autocorrel.py
richardjgowers May 13, 2021
6e1815e
Update setup.py
richardjgowers May 13, 2021
a4f5438
Update utils.py
richardjgowers May 13, 2021
d25edd0
Apply suggestions from code review
IAlibay May 13, 2021
03a9a0b
Apply suggestions from code review
IAlibay May 13, 2021
9c6e751
Add travis cron job back
IAlibay May 13, 2021
3938f92
Review suggestions
IAlibay May 13, 2021
947f497
Apply suggestions from code review
IAlibay May 13, 2021
01ee954
chainID warning
IAlibay May 13, 2021
c3b776b
Update test_groups.py
richardjgowers May 13, 2021
db2a6d8
Update testsuite/MDAnalysisTests/converters/test_parmed.py
IAlibay May 13, 2021
22122b4
remove chainID warning
IAlibay May 13, 2021
80467a7
Update package/MDAnalysis/core/selection.py
lilyminium May 13, 2021
b027575
remove deprecate import
IAlibay May 13, 2021
0f73093
Apply suggestions from code review
IAlibay May 14, 2021
4dc31dc
revert wrap changes, fix references, remove unused import
IAlibay May 14, 2021
66acbdf
Update testsuite/MDAnalysisTests/core/test_universe.py
IAlibay May 14, 2021
1cc1939
fix invalid escape sequence match
IAlibay May 14, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions maintainer/change_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ die () {

findcommand() {
for name in $*; do
path=$(which $name)
if [ -n "$path" ]; then
echo $path
return 0
fi
path=$(which $name)
if [ -n "$path" ]; then
echo $path
return 0
fi
done
die "None of the commands $* found." 2
}
Expand Down Expand Up @@ -74,12 +74,12 @@ echo "Using sed = $SED"
echo "Setting RELEASE/__version__ in MDAnalysis to $RELEASE"

git grep -E -l 'RELEASE.*[0-9]+\.[0-9]+\.[0-9]+(\.[0-9]+)?(-dev[0-9]*|-rc[0-9]*)?' $FILES \
| xargs -I FILE $SED '/RELEASE/s/[0-9]+\.[0-9]+\.[0-9]+(\.[0-9]+)?(-dev[0-9]*|-rc[0-9]*)?/'${RELEASE}'/' -i.bak FILE
| xargs -I FILE $SED -e '/RELEASE/s/[0-9]+\.[0-9]+\.[0-9]+(\.[0-9]+)?(-dev[0-9]*|-rc[0-9]*)?/'${RELEASE}'/' -i .bak FILE

git grep -E -l '__version__ *=.*[0-9]+\.[0-9]+\.[0-9]+(\.[0-9]+)?(-dev[0-9]*|-rc[0-9]*)?' $FILES \
| xargs -I FILE $SED '/__version__/s/[0-9]+\.[0-9]+\.[0-9]+(\.[0-9]+)?(-dev[0-9]*|-rc[0-9]*)?/'${RELEASE}'/' -i.bak FILE
| xargs -I FILE $SED -e '/__version__/s/[0-9]+\.[0-9]+\.[0-9]+(\.[0-9]+)?(-dev[0-9]*|-rc[0-9]*)?/'${RELEASE}'/' -i .bak FILE

git grep -E -l 'version:.*[0-9]+\.[0-9]+\.[0-9]+(\.[0-9]+)?(-dev[0-9]*|-rc[0-9]*)?' $FILES \
| xargs -I FILE $SED '/version:/s/[0-9]+\.[0-9]+\.[0-9]+(\.[0-9]+)?(-dev[0-9]*|-rc[0-9]*)?/'${RELEASE}'/' -i.bak FILE
| xargs -I FILE $SED -e '/version:/s/[0-9]+\.[0-9]+\.[0-9]+(\.[0-9]+)?(-dev[0-9]*|-rc[0-9]*)?/'${RELEASE}'/' -i .bak FILE

git status
6 changes: 3 additions & 3 deletions maintainer/conda/MDAnalysis/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package:
name: mdanalysis
# This has to be changed after a release
version: "0.19.1dev"
version: "2.0.0-dev0"

source:
git_url: https://github.com/MDAnalysis/mdanalysis
git_branch: develop
# git_tag: release-0.15.0
# git_branch: develop
git_tag: release-0.19.1

# specify the subversion of the conda package. Defaults to 0. If you make
# changes to the conda package alone with out an increase in the source package
Expand Down
2 changes: 2 additions & 0 deletions package/AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ Chronological list of authors
- Edis Jakupovic
- Nicholas Craven
- Mieczyslaw Torchala
- Ramon Crehuet
- Haochuan Chen
- Karthikeyan Singaravelan
2021
Expand All @@ -167,6 +168,7 @@ Chronological list of authors
- Sulay Shah
- Alexander Yang


External code
-------------

Expand Down
124 changes: 118 additions & 6 deletions package/CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,115 @@ Deprecations
read it from the input TRZ trajectory.


05/01/21 IAlibay

* 1.1.1

Fixes
* Remove absolute paths from package upload to pypi.


04/28/21 richardjgowers, IAlibay, tylerjereddy, xiki-tempula, lilyminium,
zemanj, PicoCentauri

* 1.1.0

Fixes
* Removes use of absolute paths in setup.py to avoid Windows installation
failures (Issue #3129)
* Adds test for crashes caused by small box NSGrid searches (Issue #2670)
* Replaces decreated NumPy type aliases and fixes NEP 34 explicit ragged
array warnings (PR #3139, backports PRs #2845 and #2834)
* Fixed several issues with NSGrid and triclinic boxes not finding some pairs.
(Issues #2229 #2345 #2919, PR #2937).
* Removed deprecation warning from numpy in hbond_autocorrel
(Issue #2987 PR #3242)
* Fixed bug in exclusion matrix of hbond_autocorrel (PR #3242)

Changes
* Maximum pinned versions in setup.py removed for python 3.6+ (PR #3139)

Deprecations
* ParmEdConverter no longer accepts Timestep objects at all
(Issue #3031, PR #3172)
* NCDFWriter `scale_factor` writing will change in version 2.0 to
better match AMBER outputs (Issue #2327)
* Deprecated using the last letter of the segid as the
chainID when writing PDB files (Issue #3144)
* Deprecated tempfactors and bfactors being separate
TopologyAttrs, with a warning (PR #3161)
* hbonds.WaterBridgeAnalysis will be removed in 2.0.0 and
replaced with hydrogenbonds.WaterBridgeAnalysis (#3111)
* TPRParser indexing resids from 0 by default is deprecated.
From 2.0 TPRParser will index resids from 1 by default.


Enhancements
* Added `get_connections` method to get bonds, angles, dihedrals, etc.
with or without atoms outside the group (Issues #1264, #2821, PR #3160)
* Added `tpr_resid_from_one` keyword to select whether TPRParser
indexes resids from 0 or 1 (Issue #2364, PR #3153)


01/17/21 richardjgowers, IAlibay, orbeckst, tylerjereddy, jbarnoud,
yuxuanzhuang, lilyminium, VOD555, p-j-smith, bieniekmateusz,
calcraven, ianmkenney, rcrehuet, manuel.nuno.melo, hanatok

* 1.0.1

Fixes
* Due to issues with the reliability/accuracy of `nsgrid`, this method is
currently not recommended for use. It has also been removed as an option
from lib.capped_distance and lib.self_capped_distance. Please use PKDTree
instead (Issue #2930)
* Development status changed from beta to mature (Issue #2773)
* pip installation only requests Python 2.7-compatible packages (#2736)
* Testsuite does not use any more matplotlib.use('agg') (#2191)
* The methods provided by topology attributes now appear in the
documentation (Issue #1845)
* AtomGroup.center now works correctly for compounds + unwrapping
(Issue #2984)
* In ChainReader, read_frame does not trigger change of iterating position.
(Issue #2723, PR #2815)
* empty_atomgroup.select_atoms('name *') now returns an empty
AtomGroup instead of TypeError (Issue #2765)
* TRZReader now checks `n_atoms` on reading. (Issue #2817, PR #2820)
* TRZWriter now writes `n_atoms` to the file. (Issue #2817, PR #2820)
* rdf.InterRDF_s density keyword documented and now gives correct results for
density=True; the keyword was available since 0.19.0 but with incorrect
semantics and not documented and did not produce correct results (Issue
#2811, PR #2812)
* In hydrogenbonds.hbond_analysis.HydrogenbondAnalysis an AttributeError
was thrown when finding D-H pairs via the topology if `hydrogens` was an
empty AtomGroup (Issue #2848)
* Fixed reading in masses and charges from a hoomdxml file
(Issue #2888, PR #2889)
* Fixed performance regression on select_atoms for string selections (#2751)
* Fixed the DMSParser, allowing the creation of multiple segids sharing
residues with identical resids (Issue #1387, PR #2872)
* Fixed missing space between floats in helanal output files (PR #2733)
* ensure that unistd.h is included on macOS when compiling ENCORE's spe.c
(Issue #2934)

Enhancements
* Improved performance of the ParmEd converter (Issue #3028, PR #3029)
* Improved performances when parsing TPR files (PR #2804)

Changes (not affecting users)
* Continuous integration uses mamba rather than conda to install the
dependencies (PR #2983)

Deprecations
* waterdynamics.HydrogenBondLifetimes will be removed in 2.0.0 and
replaced with hydrogenbonds.HydrogenBondAnalysis.lifetime() (#2547)
* lib.util.echo() will be removed in 2.0.0
* core.universe.as_Universe() will be removed in 2.0.0
* analysis.leaflets.LeafletFinder() will not accept a filename any more,
only a Universe, in 2.0.0
* analysis.helanal will be removed in 2.0.0 and replaced by
analysis.helix_analysis (PR #2622)


06/09/20 richardjgowers, kain88-de, lilyminium, p-j-smith, bdice, joaomcteixeira,
PicoCentauri, davidercruz, jbarnoud, RMeli, IAlibay, mtiberti, CCook96,
Yuan-Yu, xiki-tempula, HTian1997, Iv-Hristov, hmacdope, AnshulAngaria,
Expand All @@ -356,7 +465,7 @@ Fixes
* n_components correctly selects PCA components (Issue #2623)
* Use internal residue indices instead of resids for similarity and connectivity
selections (Issues #2669 and #2672, PR #2673)
* Checks for cryo-em 1 A^3 default CRYST1 record,
* Checks for cryo-em 1 A^3 default CRYST1 record,
disabling setting of box dimensions if found (Issue #2599)
* mdamath.angles now returns np.pi instead of -np.pi in cases of
lower bound roundoff errors. (Issue #2632, PR #2634)
Expand All @@ -381,7 +490,7 @@ Fixes
* Clarifies density_from_Universe docs and adds user warning (Issue #2372)
* Fix upstream deprecation of `matplotlib.axis.Tick` attributes in
`MDAnalysis.analysis.psa`
* PDBWriter now uses first character of segid as ChainID (Issue #2224)
* PDBWriter now uses last character of segid as ChainID (Issue #2224)
* Adds a more detailed warning when attempting to read chamber-style parm7
files (Issue #2475)
* ClusterCollection.get_ids now returns correctly (Issue #2464)
Expand All @@ -395,6 +504,7 @@ Fixes
than one format (Issue #2353)
* PDBQTParser now gives icode TopologyAttrs (Issue #2361)
* GROReader and GROWriter now can handle boxes with box vectors >1000nm
(Issue #2371)
* Guess atom element with uppercase name
* TopologyGroup no longer reshapes the type, guessed, and order properties
(Issue #2392)
Expand All @@ -417,7 +527,7 @@ Fixes
Enhancements
* Added support for FHI-AIMS input files (PR #2705)
* vastly improved support for 32-bit Windows (PR #2696)
* Added methods to compute the root-mean-square-inner-product of subspaces
* Added methods to compute the root-mean-square-inner-product of subspaces
and the cumulative overlap of a vector in a subspace for PCA (PR #2613)
* Added .frames and .times arrays to AnalysisBase (Issue #2661)
* Added elements attribute to PDBParser (Issue #2553, #2647)
Expand Down Expand Up @@ -464,7 +574,7 @@ Enhancements

Changes
* Unused `MDAnalysis.lib.mdamath._angle` has been removed (Issue #2650)
* Refactored dihedral selections and Ramachandran.__init__ to speed up
* Refactored dihedral selections and Ramachandran.__init__ to speed up
dihedral selections for faster tests (Issue #2671, PR #2706)
* Removes the deprecated `t0`, `tf`, and `dtmax` from
:class:Waterdynamics.SurvivalProbability. Instead the `start`, `stop` and
Expand Down Expand Up @@ -527,7 +637,6 @@ Changes
function calls. (Issue #782)

Deprecations
* analysis.helanal is deprecated in 1.0 (remove in 2.0)
* analysis.hole is deprecated in 1.0 (remove in 2.0)
* analysis.hbonds.HydrogenBondAnalysis is deprecated in 1.0 (remove in 2.0)
* analysis.density.density_from_Universe() (remove in 2.0)
Expand All @@ -536,6 +645,7 @@ Deprecations
* Writer.write_next_timestep is deprecated, use write() instead (remove in 2.0)
* Writer.write(Timestep) is deprecated, use either a Universe or AtomGroup


09/05/19 IAlibay, richardjgowers

* 0.20.1
Expand Down Expand Up @@ -908,7 +1018,6 @@ Testsuite
* Unit tests for unwanted side effects when importing MDAnalysis
* MDAnalysis.visualization is now tested


01/24/18 richardjgowers, rathann, orbeckst, tylerjereddy, mtiberti, kain88-de,
jbarnoud, nestorwendt, mmattaNU, jmborr, sobuelow, sseyler, rcortini,
xiki-tempula, manuel.nuno.melo
Expand Down Expand Up @@ -1018,6 +1127,9 @@ Fixes
* Fixed dtype of numpy arrays to accomodate 32 bit architectures (Issue #1362)
* Groups are hashable on python 3 (Issue #1397)

Changes
* scipy and matplotlib are now required dependencies (Issue #1159)


Changes
* scipy and matplotlib are now required dependencies (Issue #1159)
Expand Down
2 changes: 1 addition & 1 deletion package/MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ global-exclude *.pyc
global-exclude *.pyo
global-exclude *.pyd
global-exclude *~
global-exclude .git
global-exclude .git
13 changes: 7 additions & 6 deletions package/MDAnalysis/analysis/hydrogenbonds/hbond_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -768,7 +768,8 @@ def count_by_time(self):
indices /= self.step

counts = np.zeros_like(self.frames)
counts[indices.astype(int)] = tmp_counts
counts[indices.astype(np.intp)] = tmp_counts
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is more correct right? i.e. np.intp is the correct type for indexing?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah I think this is the 32/64 bit compliant way of saying the integer that addresses anything (i.e. .ix is intp). I think int had previously led to 32/64 mismatches

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So the difference here was just between what Tyler and I wrote for the numpy 1.20 deprecation stuff, as long as it works and isn't significantly difference in terms of performance let's just go with it.


return counts

def count_by_type(self):
Expand All @@ -786,8 +787,8 @@ def count_by_type(self):
acceptor atoms in a hydrogen bond.
"""

d = self.u.atoms[self.results.hbonds[:, 1].astype(int)]
a = self.u.atoms[self.results.hbonds[:, 3].astype(int)]
d = self.u.atoms[self.hbonds[:, 1].astype(np.intp)]
a = self.u.atoms[self.hbonds[:, 3].astype(np.intp)]

tmp_hbonds = np.array([d.resnames, d.types, a.resnames, a.types],
dtype=str).T
Expand Down Expand Up @@ -815,9 +816,9 @@ def count_by_ids(self):
in a hydrogen bond.
"""

d = self.u.atoms[self.results.hbonds[:, 1].astype(int)]
h = self.u.atoms[self.results.hbonds[:, 2].astype(int)]
a = self.u.atoms[self.results.hbonds[:, 3].astype(int)]
d = self.u.atoms[self.hbonds[:, 1].astype(np.intp)]
h = self.u.atoms[self.hbonds[:, 2].astype(np.intp)]
a = self.u.atoms[self.hbonds[:, 3].astype(np.intp)]

tmp_hbonds = np.array([d.ids, h.ids, a.ids]).T
hbond_ids, ids_counts = np.unique(tmp_hbonds, axis=0,
Expand Down
4 changes: 2 additions & 2 deletions package/MDAnalysis/analysis/leaflet.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ class LeafletFinder(object):
consecutively, starting at 0. To obtain the atoms in the input structure
use :meth:`LeafletFinder.groups`::

u_PDB = mda.Universe(PDB)
L = LeafletFinder(u_PDB, 'name P*')
u = mda.Universe(PDB)
L = LeafletFinder(u, 'name P*')
leaflet0 = L.groups(0)
leaflet1 = L.groups(1)

Expand Down
2 changes: 1 addition & 1 deletion package/MDAnalysis/analysis/waterdynamics.py
Original file line number Diff line number Diff line change
Expand Up @@ -942,7 +942,7 @@ class SurvivalProbability(object):
Using the MDAnalysis.lib.correlations.py to carry out the intermittency
and autocorrelation calculations.
Changed `selection` keyword to `select`.
Removed support for the deprecated `t0`, `tf`, and `dtmax` keywords.
Removed support for the deprecated `t0`, `tf`, and `dtmax` keywords.
These should instead be passed to :meth:`SurvivalProbability.run` as
the `start`, `stop`, and `tau_max` keywords respectively.
The `stop` keyword as passed to :meth:`SurvivalProbability.run` has now
Expand Down
3 changes: 3 additions & 0 deletions package/MDAnalysis/coordinates/PDB.py
Original file line number Diff line number Diff line change
Expand Up @@ -539,6 +539,9 @@ class PDBWriter(base.WriterBase):
.. versionchanged:: 2.0.0
Add the `redindex` argument. Setting this keyword to ``True``
(the default) preserves the behavior in earlier versions of MDAnalysis.
The PDB writer checks for a valid chainID entry instead of using the
last character of segid. Should a chainID not be present, or not
conform to the PDB standard, the default value of 'X' is used.

"""
fmt = {
Expand Down
19 changes: 19 additions & 0 deletions package/MDAnalysis/coordinates/TRJ.py
Original file line number Diff line number Diff line change
Expand Up @@ -823,6 +823,18 @@ class NCDFWriter(base.WriterBase):
.. _`Issue #506`:
https://github.com/MDAnalysis/mdanalysis/issues/506#issuecomment-225081416

Raises
Copy link
Member

@IAlibay IAlibay May 13, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These changes are good for now, we can change it once #3294 is merged (probably after the beta at this rate).

------
FutureWarning
When writing. The :class:`NCDFWriter` currently does not write any
`scale_factor` values for the data variables. Whilst not in breach
of the AMBER NetCDF standard, this behaviour differs from that of
most AMBER writers, especially for velocities which usually have a
`scale_factor` of 20.455. In MDAnalysis 2.0, the :class:`NCDFWriter`
will enforce `scale_factor` writing to either match user inputs (either
manually defined or via the :class:`NCDFReader`) or those as written by
AmberTools's :program:`sander` under default operation.

See Also
--------
:class:`NCDFReader`
Expand Down Expand Up @@ -882,6 +894,13 @@ def __init__(self,
self.has_forces = kwargs.get('forces', False)
self.curr_frame = 0

# warn users of upcoming changes
wmsg = ("In MDAnalysis v2.0, `scale_factor` writing will change ("
"currently these are not written), to better match the way "
"they are written by AMBER programs. See NCDFWriter docstring "
"for more details.")
warnings.warn(wmsg, FutureWarning)

def _init_netcdf(self, periodic=True):
"""Initialize netcdf AMBER 1.0 trajectory.

Expand Down
2 changes: 1 addition & 1 deletion package/MDAnalysis/coordinates/TRZ.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ class TRZReader(base.ReaderBase):
Extra data (Temperature, Energies, Pressures, etc) now read
into ts.data dictionary.
Now passes a weakref of self to ts (ts._reader).
.. versionchanged:: 2.0.0
.. versionchanged:: 1.0.1
Now checks for the correct `n_atoms` on reading
and can raise :exc:`ValueError`.
"""
Expand Down
Loading