Repository navigation
Description
-
Bond.__eq__does not check bond order incore.topologyobjects:
mdanalysis/package/MDAnalysis/core/topologyobjects.py
Lines 163 to 167 in e110108
Two :class:`Bond` instances can be compared with the ``==`` and ``!=`` operators. A bond is equal to another if the same atom numbers are connected and they have the same bond order. The ordering of the two atom numbers is ignored as is the fact that a bond was guessed.
mdanalysis/package/MDAnalysis/core/topologyobjects.py
Lines 135 to 140 in e110108
def __eq__(self, other): """Check whether two bonds have identical contents""" if not self.universe == other.universe: return False return (np.array_equal(self.indices, other.indices) or np.array_equal(self.indices[::-1], other.indices)) -
All the "Reads the following Attributes" and "Guesses the following Attributes" should be double-checked in
topology.__init__-
__init__does not include ITPParser -
PSFParser:.. _PSF: http://www.charmm.org/documentation/c35b1/struct.htmllink broken. -
MinimalParser: Ends in the middle of a sentence:
This requires that the coordinate format has -
TRJReaderoutdated: Outdated documentation for AMBER TRJReader #2398
-
-
distis missing documentation of theboxparameter (analysis.distances.dist). Note that AtomGroups can be (usually are?) from different Universes. Note that even if the Universe has dimensions associated,distdoes not use them unless explicitly passed intobox -
Add lines to initialise
kanddistindistances.self_distance_arrayreturns example -
Update Molnums documentation, which is identical to Moltypes
-
All of the
helanaldocumentation. Best to leave this after update helanal to AnalysisBase #2452 is addressed -
AtomGroup.guess_bonds misleading documentation, could pass in fudge_factor #2395 fix up
guess_bondsdocumentation -
All of the PSA documentation. Perhaps it will get AnalysisBased?
-
encore.hes returns unreadable details which are not documented
-
encore.ClusteringMethod.KMeans documents precompute_distances without actually having it as a kwarg
-
encore.DimensionalityReductionMethod.StochasticProximityEmbeddingNative documents the default number of dimensions as 3, but it's actually 2
-
for encore.hes, ces, dres: document that the method returns averages and standard deviations if
estimate_error=True -
for encore.ces_convergence document the output. The shape does not include
preference_values. -
for rdf.InterRDF_s document
densitykwarg -
fix base.AnalysisFromFunction raises ValueError
-
document kwargs in Ramachandran.plot
-
PCA.mean_atoms is not the mean positions, PCA.mean is
Activity
richardjgowers commentedon Nov 18, 2019
Yep. So something pandas does is to mush around doc strings with decorators, so we could even do that with
topology.__init__so that when Topology Parsers are defined, they append to that table, so they're automagically done. Or just write some more rst if you don't want to do it programmatically.lilyminium commentedon Nov 19, 2019
The recently-merged #2390 was created to make a script that auto-docs parsers and the attributes associated. It's currently in the UserGuide but I could move it over to the main repo?
orbeckst commentedon Nov 20, 2019
@lilyminium does the UG have a list of all pre-defined topology attributes from core.topologyattrs? Would be useful for
Universe.empty()trickery (as I found out when I wasted a few minutes answering a 4-year old Stackoverflow question How to instantiate Atoms using MDAnalysis?).EDIT: Yes – at https://www.mdanalysis.org/UserGuide/topology_system.html#topology-attributes
lilyminium commentedon Dec 28, 2019
This example in
rms.RMSFdoesn't work, asalign.AlignTrajrequires a reference.Also, could use a trajectory that doesn't need to be made whole.And should either explain whatorder='afc'means or leave it out or useorder='fac'; a 1-frame trajectory doesn't need reshaping.Edit: as pointed out by @jbarnoud, it is easy to forget to clean or preprocess your trajectories before analysis. In that case, putting in the #TODO is now on TODO list 😁
jbarnoud commentedon Jan 2, 2020
Not dealing with PBC is a frequent misuse of the analysis tools. Showing it has to be done seems a good idea to me. Our examples will be used more or less verbatim in papers.
[-]API typos, outdated info, broken links, etc (ongoing)[/-][+]API typos, outdated info, broken links, formatting, etc (ongoing)[/+][-]API typos, outdated info, broken links, formatting, etc (ongoing)[/-][+]API typos, outdated info, broken links, etc (ongoing)[/+]