Skip to content

add command line interface - #33

Merged
Yi-FanLi merged 26 commits into
deepmodeling:develfrom
Yi-FanLi:devel
Dec 12, 2023
Merged

Yi-FanLi merged 26 commits into
deepmodeling:develfrom
Yi-FanLi:devel

Conversation

@Yi-FanLi

@Yi-FanLi Yi-FanLi commented Dec 6, 2023

Copy link
Copy Markdown
Collaborator

This PR adds a CLI for dpti. Also, setup.py is migrated to pyproject.toml.

@codecov

codecov Bot commented Dec 12, 2023 •

Copy link
Copy Markdown

Codecov Report

Attention: 323 lines in your changes are missing coverage. Please review.

Comparison is base (b719828) 37.89% compared to head (6d7fce5) 38.03%.

Files Patch % Lines
dpti/hti_ice.py 14.01% 92 Missing ⚠️
dpti/hti_water.py 16.66% 65 Missing ⚠️
dpti/ti_water.py 25.49% 38 Missing ⚠️
dpti/equi.py 25.00% 27 Missing ⚠️
dpti/main.py 0.00% 26 Missing ⚠️
dpti/ti.py 20.68% 23 Missing ⚠️
dpti/gdi.py 9.52% 19 Missing ⚠️
dpti/hti.py 17.39% 19 Missing ⚠️
dpti/hti_liq.py 22.22% 14 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##            devel      #33      +/-   ##
==========================================
+ Coverage   37.89%   38.03%   +0.14%     
==========================================
  Files          22       24       +2     
  Lines        5291     5366      +75     
==========================================
+ Hits         2005     2041      +36     
- Misses       3286     3325      +39     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Yi-FanLi
Yi-FanLi merged commit 990c310 into deepmodeling:devel Dec 12, 2023
@njzjz njzjz mentioned this pull request Dec 14, 2023
felix5572 pushed a commit to felix5572/dpti that referenced this pull request Mar 16, 2025
* only detect Step in lammps get_thermo function

* do not comment out dump in hti

* fix lammps thermo_modify format error

* set if_dump_avg_posi default to be True

* make hti_water runnable

* make DpFreeEnergyWater workflow runnable

* add command line interface

* correct hti_water CLI name

* correct CLI name of ti_water

* migrate setup.py to pyproject.toml

* migrate to build in release.yml

* recover exec_args function

* recover exec_args in hti_water

* replace setup.py with pyproject.toml in test_lib_utils

* recover exec_args in ti_water

* update test_deepmd_deep_on in test_hti_gen_lammps_input

* fix test_ti_gen_lammps_input thermo_modify format error

* fix the other test_ti_gen_lammps_input thermo_modify format error

* uncomment dump line for test_spring_off in test_hti_gen_lammps_input

* uncomment dump lines

* fix UTs by updating benchmark scripts

* uncomment dump lines

* uncomment dump lines in unittests

* fix UT test_ti_water_gen_lammps_input

* fix UTs

* always pass codecov status
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant