Commit 64d7e62
Feature: ABACUS light-weight ASE plugin implementation (#6950)
* Feature: abacus light-weight ase plugin
* preparing the examples of MD and MTD
* feat: 添加ABACUS v3.9.0.x版本支持并完善测试
fix(io): 移除legacyio.py中已弃用的read_istate函数
test: 添加xtest.sh测试脚本和测试文件
ci: 配置GitHub Actions工作流实现自动化测试
docs: 更新示例脚本包括DOS计算、约束MD、MTD和常规MD
refactor(core): 清理未完成的restart测试代码
style: 统一文件格式和代码风格
* test: 注释掉测试中删除eig_occ.txt的代码
* test(abacuslite): 添加从running_log读取电子求解器类型和能带的测试
添加测试用例验证从running_log文件中正确读取电子求解器类型和能带信息。同时包含对轨迹、力和应力读取功能的测试。
* test: 更新测试用例以使用新的MD_dump示例文件
修改测试文件路径和预期值以匹配新的测试数据文件nspin4-gamma-mddump,该文件包含2帧数据而非原来的11帧,且alat_in_angstrom值不同
* test(abacuslite): 修复测试方法命名并添加缺失的测试断言
修复测试方法命名错误,将read_*改为test_read_*以正确执行测试
添加对轨迹、力和应力读取功能的详细测试断言
更新应力测试以匹配实际单位转换逻辑
* test(abacuslite): 为TestLatestIO添加原子和k点类型检查
添加对读取结果中原子和k点类型的断言检查,确保返回的Atoms对象及其计算器属性类型正确
* fix(io): 修正测试脚本和IO模块中的问题
- 在xtest.sh中添加set -e以确保错误时退出
- 修复generalio.py中的类型提示和路径处理
- 更新legacyio.py以支持非共线磁矩读取
- 添加新的测试文件并更新测试用例
- 修正KPT文件读写逻辑
* feat(tests): 添加新的测试脚本和更新现有测试
refactor(core): 重构核心测试用例,使用临时目录并简化测试逻辑
feat(ksampling): 添加k路径生成功能,集成seekpath库
docs(examples): 更新带结构示例,引用seekpath并简化代码
* Fix the workflow configuration
* ci(workflow): configure, build and install ABACUS
* ci(workflow): change the image name
* ci(workflow): create soft link from abacus_2p to abacus
* update or delete the reference values
* fix the integration test case of band
* recover the calculation of scf integration test
* add indent for the check on bandstructure.json file
* Explicitly restrict the possible type of esolver_type to ksdft
* fix the inconsistency of atom order between ase and abacus
* remove the neb example temporarily
* recover the neb.py example
* Move files to the interfaces/ASE_interface directory
---------
Co-authored-by: Mohan Chen <mohanchen@pku.edu.cn>1 parent 9dcaae1 commit 64d7e62
File tree
38 files changed
+7402
-1
lines changed- .github/workflows
- interfaces/ASE_interface
- abacuslite
- io
- testfiles
- utils
- examples
- tests
38 files changed
+7402
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
0 commit comments