-
Notifications
You must be signed in to change notification settings - Fork 176
Auto test: to do list
Han Wang edited this page Jun 5, 2020
·
8 revisions
For the implementation, one should do :
- Clearly know the input/output of the function/class. How to handle exceptions.
- Finish coding
- Provide Unittest
- Provide Document: what does the user provide in each section of the parameter file (json format)
common.py
- make_*
- run_*
- post_*
Property
- EOS
- Elastic
- Vacancy
- Interstitial
- Surface
Task:
- VASP
- DEEPMD_LMP
- MEAM_LMP
Specific functions:
- Property.make_confs : Make configurations needed to compute the property. The tasks directory will be named as path_to_work/task.xxxxxx IMPORTANT: handel the case when the directory exists.
- Property.cmpt : Compute the property.
- Task.make_input_file(Property.task_type): Prepare input files for a computational task. For example, the VASP prepares INCAR. LAMMPS (including DeePMD, MEAM...) prepares in.lammps. The parameter of this task will be stored in 'output_dir/task.json'
everything starts here
Universal for all property tests
Universal for all property tests except for elastic