Releases: m3g/PDBTools.jl
Releases · m3g/PDBTools.jl
v2.1.3
PDBTools v2.1.3
- Better support for
residue_ticks
when repeated or non-sortedresnum
s are found. It will fallback toserial=true
and use serial indexing for the residue ticks.
Merged pull requests:
- Bump codecov/codecov-action from 4 to 5 (#36) (@dependabot[bot])
- Ticks fallback repeated resnums (#37) (@lmiq)
v2.1.2
PDBTools v2.1.2
- fixed
same_residue
(internal function), now returningfalse
is thesegname
differs.
Merged pull requests:
v1.8.7
PDBTools v1.8.7
- Define
read_pdb
andwrite_pdb
to reduce transition incompatibilities with 2.0 series (not documented here).
This release has been identified as a backport.
Automated changelogs for backports tend to be wildly incorrect.
Therefore, the list of issues and pull requests is hidden.
v2.1.1
PDBTools v2.1.1
- faster application of
@sel_str
by construction of the query on the creation of the object.
v2.1.0
PDBTools v2.1.0
New feature
- Customize the assignment of the fields of the mmCIF file to Atom type fields in both reading and writing mmCIF files.
Other changes
- Dropped the dependency on AtomsBase.
- Added many tests, increasing coverage.
Merged pull requests:
v2.0.0
PDBTools v2.0.0
New features
- Reading of (potentially very large) mmCIF files with
read_mmcif
. - Write mmCIF files with
write_mmcif
. copy(::Atom)
works if the custom field is of immutable type (anddeepcopy
is suggested otherwise).wget
dowloads files inmmCIF
format by default, and aformat
option is added.
Breaking changes
readPDB
was replaced byread_pdb
, and the first argument now is the file name (alias was kept for legacy compatibility, with the old behavior).- The
Atom
data structure changed to have a parametric type for thecustom
field:Atom{CustomFieldType}
. This means that functions previously accepting typeVector{Atom}
must now acceptVector{<:Atom}
(for example). - By default,
Atom() == Atom{Nothing}
, the custom field containsnothing
. - The custom field is not anymore a Dict mandatorily.
- The
charge
field is now aFloat32
. - The integer fields of
Atom
are notInt32
, the Float fields fields areFloat32
and the string fields areInlineStrings.String7
orInlineStrings.String3
. read_atom
was renamed toread_atom_pdb
and is no longer public.
Merged pull requests:
v1.8.6
v1.8.5
PDBTools v1.8.5
- Improve inference of
getproperty
for elements, in particular makemass
non-allocating.