Releases: oasci/reptar
Releases · oasci/reptar
v0.1.0
Added
- Logging capabilities with sparse implementation.
- Basic zarr File handling.
- Geometry validation during sampling using
validate_and_fill_geometry
from
QCElemental. Also addedutils.validate_geometry
function that checks this for
multiple structures. - Tests for xtb energy+gradient calculations.
- Tests for psi4 energy and energy+gradient calculations.
- Pylint section in documentation.
Changed
reptar-write-xyz
now supports all file types.- Handle 2D arrays in XYZ writers.
- References to
string
files are renamed toxyz
. - System information (i.e., atomic numbers and coordinates) are moved to
driver.run()
instead of during initialization. - Unified specification of ray workers and number of cores.
n_workers
always defaults to1
whichn_cpus_per_worker
specifies the number
of CPU cores per worker (also defaults to1
).
Fixed
utils.center_structures
sometimes repeated the array incorrectly.- Explicitly use 3DMol v1.8.0 for documentation.
psi4_energy
returned wrong energy shape.File.put()
did not create missing groups consistently in exdir files.
v0.0.3
Added
- Ability to remove data with the
File
object. - Option (
missing_is_none
) to returnNone
fromFile.get()
if the key does not exist. Saver
with sampling.with_md5_update
option for putting data in reptar files.File.copy()
method to help copying data between groups.driverOPT
andpsi4_opt
worker.reptar-write-xyz
script for writing xyz files from command line.driverENERGY
for just energy calculations.psi4_energy
worker.- Saver class for long calculations.
- Parse final electronic energies from ORCA.
- Support for CREST conformer and rotamer searches.
- Support for Atomic Simulation Environment (ASE) trajectories.
- Determine structure indices with respect to structure provenance specifications.
- Simple structural descriptors.
- Quick documentation for sampler.
- Example script for GDML npz files.
- Writer for standard XYZ files with optional comments.
- Writer for extended XYZ files used in the Gaussian approximation potentials (GAP) code.
- Documentation for writers.
- Method to store arrays in ASE and schnetpack databases.
Changed
- Pylint and Black formatting; thus, lots of naming changes were made.
- Renamed
creator
class toCreator
to avoid namespace conflicts. - Moved
reptar.calculators.save.Saver
toreptar.Saver
. - Condensed and cleaned sampling routines into
Sampler
class. - Use
qcelemental.periodictable
for atomic numbers, symbols, and masses instead of manual dictionaries. - All drivers have a
use_ray
parameter that defaults toFalse
. - Calculators now use keyword arguments.
- Cleaned up ray calculations.
- Convert scf energies from cclib to Hartree by default.
- Moved example calculations to reptar-data.
- Manual
api
documents withsphinx-multiversion
. - Raise
RuntimeError
when key does not exist in exdir. - PDB writer numbers each atom name.
- Renamed
File.add()
toFile.put()
. - Return data from exdir as
np.ndarray
instead ofnp.memmap
. creator.group
is nowcreator.from_calc
.- Specify array dimensions in docstrings.
- Do not import every submodule in reptar.
That way, optional calculation dependencies are not required when importing reptar. - Upgrades to README.
- PDB writer is now a function instead of class.
- PDB writer requires arrays instead of reptar files and group keys.
- Rename
data
class toFile
.
This clears up previous ambiguous usage of "data" to refer to both a file and value of a key. - Rename reptarWriter to textWriter (more specific).
- Require setting the memory for Psi4 worker.
Removed
element_to_z
,z_to_element
, andz_to_mass
inreptar.utils
.- Many-body expansion routines were incorporated into mbGDML.
textWriter
class (really had no purpose).
Fixed
- Previously, coordinates were sliced based on a boolean mask during sampling.
The specific order ofentity_ids
inr_prov_specs
is no longer correct.
For example, if the selection as[0, 382, 82, 45, 100]
then the actual coordinates would be in order of45
,82
, and then100
, which is incorrect.
Any sampled structures before this commit do not have correctr_prov_specs
with respect to the source. psi4_engrad
no longer translates and rotates molecules to origin (which would result in incorrect gradients)._generate_structure_samples
whenquantity
is all.
Would incorrectly generate combinations with replacement.
v0.0.2
Added
- Parallel implementation of Psi4 and xTB energy and gradient calculations with ray.
- Updating README and documentation home page.
- Zenodo DOI.
Changed
- Document pip install of reptar.
- Sampling structures copies gradients instead of forces.
- Write test files to temporary, untracked directory.
v0.0.1
Initial release!