ICCMS-CALYPSO / CALYPSO-kit

CALYPSO kit
0 stars 1 forks source link

feat(database): add database module and insert calypso results #6

Closed ixsluo closed 1 year ago

ixsluo commented 1 year ago

What does this PR do?

Feature #3

  1. use old input.dat parser to parse calypso input.dat
  2. fix the parser for not using numpy dtype in list elements
  3. insert parse-and-matched pso_ini and pso_opt from results dir directly into database

Feature #4

  1. add login module, auto-decode numpy ndarray
  2. add RawRecord userdict class as raw record template
  3. add structure query class and useful aggregate pipes
  4. add clean-up method to mark those not valid structure as deprecated
  5. add patch method to patch those lost structure properties

Feature #5

  1. calculate symmetry, strain, min distance, kabsch-info, dim-larsen
Before submitting - Was this **discussed/agreed** via a GitHub issue? (not for typos and docs) - [x] Did you read the [contributor guideline], **Pull Request** section? - [ ] Did you make sure your **PR does only one thing**, instead of bundling different changes together? - Did you make sure to **update the documentation** with your changes? (if necessary) - Did you write any **new necessary tests**? (not for typos and docs) - [x] Did you verify new and **existing tests pass** locally with your changes? - Did you list all the **breaking changes** introduced by this pull request? - Did you **update the CHANGELOG**? (not for typos, docs, test updates, or minor internal changes/refactors)

PR review

Reviewer checklist - [ ] Is this pull request ready for review? (if not, please submit in draft mode) - [ ] Check that all items from **Before submitting** are resolved - [ ] Make sure the title is self-explanatory and the description concisely explains the PR - [ ] Add labels and milestones (and optionally projects) to the PR so it can be classified