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

split make_fp and share make_fp_calculation between run and simplify #1235

Merged
merged 5 commits into from
May 30, 2023

Commits on May 29, 2023

  1. refactor make_fp and share more methods between run and simplify

    Fix deepmodeling#1222.
    
    Currently make_fp does two things: (1) select candidates from the model_devi task; (2) make FP input file. They are in the same method.
    This commit splitted the method into two indepedent methods `make_fp_configs` and `make_fp_calculation`. Run and simplify have their own `make_fp_configs`, but share the same `make_fp_calculation`.
    A problem is that `make_fp_configs` generates different formats for different model_devi_engine. (e.g. POSCAR for lammps) We should resolve this problem in the future.
    
    Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
    njzjz committed May 29, 2023
    Configuration menu
    Copy the full SHA
    c391be7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c63b288 View commit details
    Browse the repository at this point in the history
  3. fix tests

    Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
    njzjz committed May 29, 2023
    Configuration menu
    Copy the full SHA
    2cf847c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2736444 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    86b5787 View commit details
    Browse the repository at this point in the history