QCFractal icon indicating copy to clipboard operation
QCFractal copied to clipboard

WBO Accessibility in Optimization Datasets

Open jmaat opened this issue 6 years ago • 1 comments

Is your feature request related to a problem? Please describe. When querying the WBO from optimization datasets entries[0].get_final_results()[(10, )].extras["qcvars"]["WIBERG_LOWDIN_INDICES"], the return is an natom x natom list that needs to be converted to an array and then filtered by 0.5. This makes it difficult to determine which bond orders correspond to which atom.

Describe the solution you'd like Create a function which can query specific bond orders in a molecule based on atom index.


This is an example of how this functionality might work and look like with an example: *This is my molecule with atom indices listed on each atom: Screen Shot 2019-09-27 at 11 09 13 AM

*I am interested in WBO between atoms indexed "1" and "6". entries[0].get_final_results()[(10, )].getWBO(1, 6)

*My function would return: 1.060403 which is the WBO between atoms indexed 1 and 6.


Alternatively, having a listing of the indices and WBO in a more readable column format would be useful too. For example: Screen Shot 2019-09-27 at 11 19 29 AM

jmaat avatar Sep 27 '19 18:09 jmaat

This one will take some time as anything in extras has no form to it. We will need to get these quantities into the schema and then update the downstream programs which compute these to formally place them into the schema. We can start working on it, but an FYI this will take a bit.

dgasmith avatar Sep 29 '19 16:09 dgasmith