Skip to content

Commit

Permalink
update all docstring and README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ShengLin1001 committed Nov 7, 2024
1 parent a67c0c9 commit 01fc6e1
Show file tree
Hide file tree
Showing 330 changed files with 4,559 additions and 8,945 deletions.
93 changes: 61 additions & 32 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,50 +1,79 @@
# pjvasp_package

Package for DFT calculations
A package designed for modeling and postprocessing metal systems, with a special focus on thin film applications.

# Install this package:

## --user for all virtual environment
## Install this package:

```shell
pip3 install --upgrade --user git+https://github.com/ShengLin1001/pjvasp_package.git
pip install -r requirements.txt
pip install git+https://github.com/BinglunYin/myalloy_package.git
###########
pip install git+https://github.com/ShengLin1001/pjvasp_package.git
# or, download the repository.
pip install -e .
###########
pip uninstall mymetal-pkg
```

## Recommended
Firstly, you need to download .zip and unzip it (Insteading, just cloning using desktop GitHub!)

Secondly, enter the family directory, and run the following bash command

```shell
pip3 install --user -e .
```
## Structure: The documentation is currently under construction using sphinx.

## Uninstall
```shell
pip3 uninstall mymetal-pkg
./mymetal/
├── calculate
│   ├── calenergy
│   ├── calmath
│   ├── calmechanics
│   ├── calmismatch
│   └── calqm
├── example
│   ├── test-cut
│   ├── test-generate-bulk
│   ├── test-hetbuilder-fixatom
│   ├── test-hydroxylated
│   ├── test-hydroxylated-custom
│   ├── test-post
│   ├── test-stack
│   └── test-stretch
├── io
│   ├── post
│   └── vasp.py
├── ml
│   ├── confusionmatrix.py
│   ├── dataset.py
│   ├── model.py
│   └── plot.py
├── post
│   ├── newmain.py
│   └── oldmain.py
└── universial
├── atom
├── check
├── data
├── index
├── matrix
├── plot
├── print
└── search

29 directories, 7 files
```

# some fixed problems
Each module and function includes a docstring. If you have any questions, please refer to the source code or use the help() function.

## when i run the test-post/*.py, i found the output file has been generated in the root directory of pjvasp_package
I am working on generating the documentation directly from the docstrings. The /mymetal/example/ directory contains all the special functions I have developed.

we should add fllowing python commands
## Additional requirements for ml, heterostructure.

```shell
import os
# get the path of those script
script_dir = os.path.dirname(__file__)
# set the working path
os.chdir(script_dir)
```

# some fixing problems

# unfilled code
############## jupyter
# iprPy

root/create_package.py generate the structure of package
############## ml package
# torch
# torchvision
# scikit-learn

build/extrfilm.py

universal/printafter.py
############## find heterostructure
# hetbuilder
```

Empty file removed build/lib/mymetal/__init__.py
Empty file.
16 changes: 0 additions & 16 deletions build/lib/mymetal/build/__init__.py

This file was deleted.

Empty file.
63 changes: 0 additions & 63 deletions build/lib/mymetal/build/film/extrfilm.py

This file was deleted.

21 changes: 0 additions & 21 deletions build/lib/mymetal/build/film/findcubic.py

This file was deleted.

Loading

0 comments on commit 01fc6e1

Please sign in to comment.