File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -756,7 +756,7 @@ def plot(self,
756756if __name__ == "__main__" :
757757 import matplotlib .pyplot as plt
758758 from pathlib import Path
759- parent = Path (r"C:\Users\YY.Ji\Desktop\ Si" )
759+ parent = Path (r"../examples/ Si" )
760760 name = "PBANDS_1"
761761 path = parent / name
762762 fig , ax = plt .subplots (figsize = (12 , 6 ))
Original file line number Diff line number Diff line change @@ -517,7 +517,7 @@ def plot(self,
517517 # energy_range=energy_range, dos_range=dos_range, notes={'s': '(a)'})
518518 # fig.savefig("tdos.png")
519519
520- pdosfile = r"C:\Users\YY.Ji\Desktop\Si\ PDOS"
520+ pdosfile = r"../examples/Si/ PDOS"
521521 pdos = PDOS (pdosfile )
522522 #species = {"Ag": [2], "Cl": [1], "In": [0]}
523523 atom_index = {1 : {1 : [0 , 1 ]}}
Original file line number Diff line number Diff line change 1111(1) The input files of this example is chosen from ABACUS/examples/02(c-d). Extra parameter "out_proj_band" for
1212PBANDS calculation is needed in 02c.
1313
14- (3 ) It is recommended that one use a script to parse PDOS and PBANDS, or you can do it by `python band.py` and `python dos.py` directly.
14+ (2 ) It is recommended that one use a script to parse PDOS and PBANDS, or you can do it by `python band.py` and `python dos.py` directly.
1515
16- (2 ) There is a bug when use command-line to parse PBANDS:
16+ (3 ) There is a bug when use command-line to parse PBANDS:
1717```
1818Traceback (most recent call last):
1919 File "F:\software\Anaconda\Scripts\abacus-plot-script.py", line 33, in <module>
You can’t perform that action at this time.
0 commit comments