Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Input parsing cleaning and PhysConsts from QCelemental #404

Merged
merged 75 commits into from
Apr 27, 2022

Commits on Mar 24, 2022

  1. Added predicate for ensuring positive spin multiplicities

    Anders Brakestad committed Mar 24, 2022
    Configuration menu
    Copy the full SHA
    7c3b8e3 View commit details
    Browse the repository at this point in the history
  2. Moved the molecule validation out of the api file, to make the struct…

    …ure cleaner.
    Anders Brakestad committed Mar 24, 2022
    Configuration menu
    Copy the full SHA
    4df67d2 View commit details
    Browse the repository at this point in the history
  3. Simplified write_molecule function

    Anders Brakestad committed Mar 24, 2022
    Configuration menu
    Copy the full SHA
    b9d3b1d View commit details
    Browse the repository at this point in the history
  4. Removed method for writing to program syntax. might as well do this i…

    …n api.py to keep the code consistent there
    Anders Brakestad committed Mar 24, 2022
    Configuration menu
    Copy the full SHA
    83bad78 View commit details
    Browse the repository at this point in the history
  5. Removed import of weird package that was sneaked in somehow

    Anders Brakestad committed Mar 24, 2022
    Configuration menu
    Copy the full SHA
    9eef63c View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2022

  1. Cleanup and doc

    Anders Brakestad committed Mar 25, 2022
    Configuration menu
    Copy the full SHA
    73902ed View commit details
    Browse the repository at this point in the history
  2. Not use walrus operator to avoid having to change python version requ…

    …irement.
    Anders Brakestad committed Mar 25, 2022
    Configuration menu
    Copy the full SHA
    18843e7 View commit details
    Browse the repository at this point in the history
  3. fix comment typo

    Brakjen authored Mar 25, 2022
    Configuration menu
    Copy the full SHA
    1605865 View commit details
    Browse the repository at this point in the history
  4. Removed unnecessary todo

    Anders Brakestad committed Mar 25, 2022
    Configuration menu
    Copy the full SHA
    a038d83 View commit details
    Browse the repository at this point in the history
  5. Removed __init__ file in input parsing plumbing

    Anders Brakestad committed Mar 25, 2022
    Configuration menu
    Copy the full SHA
    20a4217 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7960907 View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2022

  1. Converted test input to json

    Anders Brakestad committed Mar 28, 2022
    Configuration menu
    Copy the full SHA
    d073311 View commit details
    Browse the repository at this point in the history
  2. Removed duplicated cavity sphere in ref input and reran test. The tes…

    …t now passes.
    Anders Brakestad committed Mar 28, 2022
    Configuration menu
    Copy the full SHA
    005c09a View commit details
    Browse the repository at this point in the history
  3. Added short docstring

    Anders Brakestad committed Mar 28, 2022
    Configuration menu
    Copy the full SHA
    96a0527 View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2022

  1. Sketched the handling of physical constants to use qcelemental on the…

    … python side.
    Anders Brakestad committed Mar 30, 2022
    Configuration menu
    Copy the full SHA
    52c019e View commit details
    Browse the repository at this point in the history

Commits on Mar 31, 2022

  1. Write constants to program.json

    Anders Brakestad committed Mar 31, 2022
    Configuration menu
    Copy the full SHA
    22333a9 View commit details
    Browse the repository at this point in the history
  2. Singleton class providing access to the constants.

    Anders Brakestad committed Mar 31, 2022
    Configuration menu
    Copy the full SHA
    a2c1fa0 View commit details
    Browse the repository at this point in the history
  3. clang format

    Anders Brakestad committed Mar 31, 2022
    Configuration menu
    Copy the full SHA
    d4d0f98 View commit details
    Browse the repository at this point in the history
  4. clang format

    Anders Brakestad committed Mar 31, 2022
    Configuration menu
    Copy the full SHA
    779b3c1 View commit details
    Browse the repository at this point in the history
  5. clanga format

    Anders Brakestad committed Mar 31, 2022
    Configuration menu
    Copy the full SHA
    83c35cb View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2022

  1. Added default constants to constructor. will be accessed if no data h…

    …as been set, so that unit tests can pass.
    Anders Brakestad committed Apr 1, 2022
    Configuration menu
    Copy the full SHA
    f668dc3 View commit details
    Browse the repository at this point in the history
  2. Added qcelemental as python dep

    Anders Brakestad committed Apr 1, 2022
    Configuration menu
    Copy the full SHA
    09fe423 View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2022

  1. Now only a subset of the constants relevant for MRChem are added to t…

    …he program input.
    Anders Brakestad committed Apr 4, 2022
    Configuration menu
    Copy the full SHA
    fcb4c35 View commit details
    Browse the repository at this point in the history
  2. Added qcelemental to let tests run via github actions pass.

    Anders Brakestad committed Apr 4, 2022
    Configuration menu
    Copy the full SHA
    6dda95e View commit details
    Browse the repository at this point in the history
  3. Fixed bug in the case of constants name. all constants passed to cpp …

    …are lower_case
    Anders Brakestad committed Apr 4, 2022
    Configuration menu
    Copy the full SHA
    9b77d4c View commit details
    Browse the repository at this point in the history
  4. Added qcelemental to make codecoverage pass

    Anders Brakestad committed Apr 4, 2022
    Configuration menu
    Copy the full SHA
    fa39973 View commit details
    Browse the repository at this point in the history
  5. Minor style fixes.

    Anders Brakestad committed Apr 4, 2022
    Configuration menu
    Copy the full SHA
    2fde3bf View commit details
    Browse the repository at this point in the history
  6. Removed unused import.

    Anders Brakestad committed Apr 4, 2022
    Configuration menu
    Copy the full SHA
    475d464 View commit details
    Browse the repository at this point in the history
  7. Comment docs

    Anders Brakestad committed Apr 4, 2022
    Configuration menu
    Copy the full SHA
    7528d8e View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2022

  1. Redesigned MRChemConstants. No longer inherits from qcelemental, but …

    …instantiates a PhysicalConstantsContext in __init__. This cleans up the class namespace a bit.
    Anders Brakestad committed Apr 5, 2022
    Configuration menu
    Copy the full SHA
    505bc78 View commit details
    Browse the repository at this point in the history
  2. Fixed indendation

    Anders Brakestad committed Apr 5, 2022
    Configuration menu
    Copy the full SHA
    4858ecd View commit details
    Browse the repository at this point in the history
  3. Added qcelemental to dev packages

    Anders Brakestad committed Apr 5, 2022
    Configuration menu
    Copy the full SHA
    374c329 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6607872 View commit details
    Browse the repository at this point in the history
  5. Updated call to MRChemConstants

    Anders Brakestad committed Apr 5, 2022
    Configuration menu
    Copy the full SHA
    4820d7e View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2022

  1. Fix symbols not found error during linking.

    Anders Brakestad committed Apr 6, 2022
    Configuration menu
    Copy the full SHA
    ef56699 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    05ce3a4 View commit details
    Browse the repository at this point in the history
  3. clang format

    Anders Brakestad committed Apr 6, 2022
    Configuration menu
    Copy the full SHA
    8f88517 View commit details
    Browse the repository at this point in the history
  4. Script that can update the constants section in template.yml, execute…

    … parselglossy to update the input parser, and copy the new user ref to doc/users/
    Anders Brakestad committed Apr 6, 2022
    Configuration menu
    Copy the full SHA
    efcdfa8 View commit details
    Browse the repository at this point in the history
  5. Added description to CLI interface

    Anders Brakestad committed Apr 6, 2022
    Configuration menu
    Copy the full SHA
    d0b5d1d View commit details
    Browse the repository at this point in the history
  6. Update to match name for light speed constant

    Anders Brakestad committed Apr 6, 2022
    Configuration menu
    Copy the full SHA
    ee0542e View commit details
    Browse the repository at this point in the history
  7. Minor style changes

    Anders Brakestad committed Apr 6, 2022
    Configuration menu
    Copy the full SHA
    569f9a9 View commit details
    Browse the repository at this point in the history
  8. Small bug fixes

    Anders Brakestad committed Apr 6, 2022
    Configuration menu
    Copy the full SHA
    76a6c5c View commit details
    Browse the repository at this point in the history
  9. Now fetch constants from user_dict

    Anders Brakestad committed Apr 6, 2022
    Configuration menu
    Copy the full SHA
    9a688ba View commit details
    Browse the repository at this point in the history
  10. Added instructions for updating constants and the input parser with t…

    …he new script.
    Anders Brakestad committed Apr 6, 2022
    Configuration menu
    Copy the full SHA
    9479eca View commit details
    Browse the repository at this point in the history
  11. Updated template and input parser to allow the user to overwrite cons…

    …tant defaults
    Anders Brakestad committed Apr 6, 2022
    Configuration menu
    Copy the full SHA
    51958c7 View commit details
    Browse the repository at this point in the history
  12. Updated README

    Anders Brakestad committed Apr 6, 2022
    Configuration menu
    Copy the full SHA
    9e5e916 View commit details
    Browse the repository at this point in the history
  13. Added dryrun option to CLI

    Anders Brakestad committed Apr 6, 2022
    Configuration menu
    Copy the full SHA
    f3c81da View commit details
    Browse the repository at this point in the history
  14. Store constants explicitly in cpp to make unit tests pass.

    Anders Brakestad committed Apr 6, 2022
    Configuration menu
    Copy the full SHA
    a509ce4 View commit details
    Browse the repository at this point in the history
  15. Remove qcelemental dependency from input parsing.

    Anders Brakestad committed Apr 6, 2022
    Configuration menu
    Copy the full SHA
    c5dce35 View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2022

  1. Configuration menu
    Copy the full SHA
    df73d7a View commit details
    Browse the repository at this point in the history
  2. Updated the way constants are defined. Removed unused constants. Adde…

    …d a try-catch clause when getting constants, to help debugging when using incorrect constant names. Added more detailed docstrings to the constants, indicating areas of the code affected by changing the default of a constant.
    Anders Brakestad committed Apr 7, 2022
    Configuration menu
    Copy the full SHA
    1ead17b View commit details
    Browse the repository at this point in the history
  3. Updated constant docstrings plus some minor cleanups

    Anders Brakestad committed Apr 7, 2022
    Configuration menu
    Copy the full SHA
    cc8b2dd View commit details
    Browse the repository at this point in the history
  4. Removed sqrt(pi) as a separate constant

    Anders Brakestad committed Apr 7, 2022
    Configuration menu
    Copy the full SHA
    ea3e411 View commit details
    Browse the repository at this point in the history
  5. Removed light_speed keyword from ZORA input section. This is taken ca…

    …re of in the new Constants input section
    Anders Brakestad committed Apr 7, 2022
    Configuration menu
    Copy the full SHA
    0298536 View commit details
    Browse the repository at this point in the history
  6. Removed light_speed keyword from ZORA input section. This is taken ca…

    …re of in the new Constants input section
    Anders Brakestad committed Apr 7, 2022
    Configuration menu
    Copy the full SHA
    3127872 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    e67d732 View commit details
    Browse the repository at this point in the history
  8. Bug fixes related to the light speed keyword being moved from ZORA to…

    … Constants
    Anders Brakestad committed Apr 7, 2022
    Configuration menu
    Copy the full SHA
    19bec5d View commit details
    Browse the repository at this point in the history
  9. Removed pi from mrchem constants. Now mrcpp::pi is used for all calls…

    … to pi.
    Anders Brakestad committed Apr 7, 2022
    Configuration menu
    Copy the full SHA
    b70a07a View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2022

  1. Added constants section to input schema

    Anders Brakestad committed Apr 8, 2022
    Configuration menu
    Copy the full SHA
    ecc035a View commit details
    Browse the repository at this point in the history
  2. Made constants being printed at printlevel 1 and above

    Anders Brakestad committed Apr 8, 2022
    Configuration menu
    Copy the full SHA
    acf8960 View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2022

  1. Added keyword to printer so that the user can choose when to print th…

    …e constants. Also made the spacing adaptive to the constant names.
    Anders Brakestad committed Apr 11, 2022
    Configuration menu
    Copy the full SHA
    20f0307 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    13ef30f View commit details
    Browse the repository at this point in the history
  3. Fix error from conflic resolution

    Anders Brakestad committed Apr 11, 2022
    Configuration menu
    Copy the full SHA
    3142afe View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2022

  1. Configuration menu
    Copy the full SHA
    f800d3f View commit details
    Browse the repository at this point in the history

Commits on Apr 21, 2022

  1. Minor cleanups

    Anders Brakestad committed Apr 21, 2022
    Configuration menu
    Copy the full SHA
    c7bb479 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    52ff645 View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2022

  1. Ensure the indentation scheme in the input template.

    Anders Brakestad committed Apr 25, 2022
    Configuration menu
    Copy the full SHA
    1cf402f View commit details
    Browse the repository at this point in the history
  2. Added json print helper method to print_utils. Use this to print phys…

    …ical constants. Removed print precision option, now print constants exactly as given.
    Anders Brakestad committed Apr 25, 2022
    Configuration menu
    Copy the full SHA
    484da12 View commit details
    Browse the repository at this point in the history
  3. Undo modification to print widths.

    Anders Brakestad committed Apr 25, 2022
    Configuration menu
    Copy the full SHA
    69158fe View commit details
    Browse the repository at this point in the history
  4. Removed unused parameters.

    Anders Brakestad committed Apr 25, 2022
    Configuration menu
    Copy the full SHA
    0fe4162 View commit details
    Browse the repository at this point in the history
  5. Added ruamel.yaml to dev packages

    Anders Brakestad committed Apr 25, 2022
    Configuration menu
    Copy the full SHA
    6c7e724 View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2022

  1. Updated json printer to newest version.

    Anders Brakestad committed Apr 26, 2022
    Configuration menu
    Copy the full SHA
    c0da948 View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2022

  1. Fix colon shift

    Stig Rune Jensen committed Apr 27, 2022
    Configuration menu
    Copy the full SHA
    e31df4f View commit details
    Browse the repository at this point in the history
  2. Add cavity input section only when used

    Stig Rune Jensen committed Apr 27, 2022
    Configuration menu
    Copy the full SHA
    8ae0fc7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d135280 View commit details
    Browse the repository at this point in the history