Skip to content

Conversation

@BvB93
Copy link
Member

@BvB93 BvB93 commented Jun 2, 2021

Adds a new fast implementation of the bulkiness workflow, one that is independent of the molecules conformation.
It's not nicely exposed via a recipe as of yet, but the API is there.

Examples

>>> from scm.plams import Molecule, Atom
>>> from nanoCAT.bulk import GraphConstructor, yield_distances

>>> mol: Molecule = ...
>>> anchor: Atom = ...

>>> constructor = GraphConstructor(mol)
>>> mol_start, graph_dict = constructor(anchor)
>>> sum(yield_distances(graph_dict, mol_start))
21.58389271

@BvB93 BvB93 added the enhancement New feature or request label Jun 2, 2021
@codecov
Copy link

codecov bot commented Jun 2, 2021

Codecov Report

Merging #100 (bc2cf10) into master (cbc520d) will increase coverage by 0.24%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #100      +/-   ##
==========================================
+ Coverage   36.50%   36.75%   +0.24%     
==========================================
  Files          33       35       +2     
  Lines        2509     2639     +130     
==========================================
+ Hits          916      970      +54     
- Misses       1593     1669      +76     
Impacted Files Coverage Δ
nanoCAT/__init__.py 100.00% <ø> (ø)
nanoCAT/bulk/__init__.py 0.00% <0.00%> (ø)
nanoCAT/bulk/mol_graph.py 0.00% <0.00%> (ø)
nanoCAT/recipes/fast_sigma.py 46.60% <0.00%> (+12.89%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cbc520d...bc2cf10. Read the comment docs.

@BvB93 BvB93 merged commit e86657e into master Jun 2, 2021
@BvB93 BvB93 deleted the chain_bulk branch June 2, 2021 19:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants