SAMBA-ilum 1.0.0.535__tar.gz → 1.0.0.537__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {samba_ilum-1.0.0.535 → samba_ilum-1.0.0.537}/PKG-INFO +1 -1
- {samba_ilum-1.0.0.535 → samba_ilum-1.0.0.537}/SAMBA_ilum.egg-info/PKG-INFO +1 -1
- {samba_ilum-1.0.0.535 → samba_ilum-1.0.0.537}/samba_ilum/__main__.py +1 -1
- {samba_ilum-1.0.0.535 → samba_ilum-1.0.0.537}/samba_ilum/src/HeteroStructure_Generator.py +33 -31
- {samba_ilum-1.0.0.535 → samba_ilum-1.0.0.537}/samba_ilum/src/cell_check.py +1 -1
- {samba_ilum-1.0.0.535 → samba_ilum-1.0.0.537}/setup.py +1 -1
- {samba_ilum-1.0.0.535 → samba_ilum-1.0.0.537}/LICENSE.txt +0 -0
- {samba_ilum-1.0.0.535 → samba_ilum-1.0.0.537}/README.md +0 -0
- {samba_ilum-1.0.0.535 → samba_ilum-1.0.0.537}/SAMBA_ilum.egg-info/SOURCES.txt +0 -0
- {samba_ilum-1.0.0.535 → samba_ilum-1.0.0.537}/SAMBA_ilum.egg-info/dependency_links.txt +0 -0
- {samba_ilum-1.0.0.535 → samba_ilum-1.0.0.537}/SAMBA_ilum.egg-info/entry_points.txt +0 -0
- {samba_ilum-1.0.0.535 → samba_ilum-1.0.0.537}/SAMBA_ilum.egg-info/requires.txt +0 -0
- {samba_ilum-1.0.0.535 → samba_ilum-1.0.0.537}/SAMBA_ilum.egg-info/top_level.txt +0 -0
- {samba_ilum-1.0.0.535 → samba_ilum-1.0.0.537}/samba_ilum/__init__.py +0 -0
- {samba_ilum-1.0.0.535 → samba_ilum-1.0.0.537}/samba_ilum/src/BZ_2D.py +0 -0
- {samba_ilum-1.0.0.535 → samba_ilum-1.0.0.537}/samba_ilum/src/INPUTS/Hubbard_U_values.txt +0 -0
- {samba_ilum-1.0.0.535 → samba_ilum-1.0.0.537}/samba_ilum/src/INPUTS/INCAR_a-scan +0 -0
- {samba_ilum-1.0.0.535 → samba_ilum-1.0.0.537}/samba_ilum/src/INPUTS/INCAR_bader +0 -0
- {samba_ilum-1.0.0.535 → samba_ilum-1.0.0.537}/samba_ilum/src/INPUTS/INCAR_bader.SO +0 -0
- {samba_ilum-1.0.0.535 → samba_ilum-1.0.0.537}/samba_ilum/src/INPUTS/INCAR_bands +0 -0
- {samba_ilum-1.0.0.535 → samba_ilum-1.0.0.537}/samba_ilum/src/INPUTS/INCAR_bands.SO +0 -0
- {samba_ilum-1.0.0.535 → samba_ilum-1.0.0.537}/samba_ilum/src/INPUTS/INCAR_dos +0 -0
- {samba_ilum-1.0.0.535 → samba_ilum-1.0.0.537}/samba_ilum/src/INPUTS/INCAR_dos.SO +0 -0
- {samba_ilum-1.0.0.535 → samba_ilum-1.0.0.537}/samba_ilum/src/INPUTS/INCAR_relax +0 -0
- {samba_ilum-1.0.0.535 → samba_ilum-1.0.0.537}/samba_ilum/src/INPUTS/INCAR_scf +0 -0
- {samba_ilum-1.0.0.535 → samba_ilum-1.0.0.537}/samba_ilum/src/INPUTS/INCAR_scf.SO +0 -0
- {samba_ilum-1.0.0.535 → samba_ilum-1.0.0.537}/samba_ilum/src/INPUTS/INCAR_xy-scan +0 -0
- {samba_ilum-1.0.0.535 → samba_ilum-1.0.0.537}/samba_ilum/src/INPUTS/INCAR_xyz-scan +0 -0
- {samba_ilum-1.0.0.535 → samba_ilum-1.0.0.537}/samba_ilum/src/INPUTS/INCAR_z-scan +0 -0
- {samba_ilum-1.0.0.535 → samba_ilum-1.0.0.537}/samba_ilum/src/INPUTS/SAMBA_HeteroStructure.input +0 -0
- {samba_ilum-1.0.0.535 → samba_ilum-1.0.0.537}/samba_ilum/src/INPUTS/SAMBA_WorkFlow.input +0 -0
- {samba_ilum-1.0.0.535 → samba_ilum-1.0.0.537}/samba_ilum/src/INPUTS/inputs_VASProcar/input.vasprocar.bands +0 -0
- {samba_ilum-1.0.0.535 → samba_ilum-1.0.0.537}/samba_ilum/src/INPUTS/inputs_VASProcar/input.vasprocar.chgcar +0 -0
- {samba_ilum-1.0.0.535 → samba_ilum-1.0.0.537}/samba_ilum/src/INPUTS/inputs_VASProcar/input.vasprocar.dos +0 -0
- {samba_ilum-1.0.0.535 → samba_ilum-1.0.0.537}/samba_ilum/src/INPUTS/inputs_VASProcar/input.vasprocar.location +0 -0
- {samba_ilum-1.0.0.535 → samba_ilum-1.0.0.537}/samba_ilum/src/INPUTS/inputs_VASProcar/input.vasprocar.locpot +0 -0
- {samba_ilum-1.0.0.535 → samba_ilum-1.0.0.537}/samba_ilum/src/INPUTS/inputs_VASProcar/input.vasprocar.orbitals +0 -0
- {samba_ilum-1.0.0.535 → samba_ilum-1.0.0.537}/samba_ilum/src/INPUTS/inputs_VASProcar/input.vasprocar.spin +0 -0
- {samba_ilum-1.0.0.535 → samba_ilum-1.0.0.537}/samba_ilum/src/INPUTS/vdw_kernel.bindat +0 -0
- {samba_ilum-1.0.0.535 → samba_ilum-1.0.0.537}/samba_ilum/src/_info_pseudo.py +0 -0
- {samba_ilum-1.0.0.535 → samba_ilum-1.0.0.537}/samba_ilum/src/a-scan.py +0 -0
- {samba_ilum-1.0.0.535 → samba_ilum-1.0.0.537}/samba_ilum/src/a-scan_analysis.py +0 -0
- {samba_ilum-1.0.0.535 → samba_ilum-1.0.0.537}/samba_ilum/src/bader +0 -0
- {samba_ilum-1.0.0.535 → samba_ilum-1.0.0.537}/samba_ilum/src/bader_poscar.py +0 -0
- {samba_ilum-1.0.0.535 → samba_ilum-1.0.0.537}/samba_ilum/src/bader_update.py +0 -0
- {samba_ilum-1.0.0.535 → samba_ilum-1.0.0.537}/samba_ilum/src/charge_transfer.py +0 -0
- {samba_ilum-1.0.0.535 → samba_ilum-1.0.0.537}/samba_ilum/src/chgsum.pl +0 -0
- {samba_ilum-1.0.0.535 → samba_ilum-1.0.0.537}/samba_ilum/src/contcar_update.py +0 -0
- {samba_ilum-1.0.0.535 → samba_ilum-1.0.0.537}/samba_ilum/src/data-base_json.py +0 -0
- {samba_ilum-1.0.0.535 → samba_ilum-1.0.0.537}/samba_ilum/src/data-base_union.py +0 -0
- {samba_ilum-1.0.0.535 → samba_ilum-1.0.0.537}/samba_ilum/src/energy_scan.py +0 -0
- {samba_ilum-1.0.0.535 → samba_ilum-1.0.0.537}/samba_ilum/src/hubbard_correction.py +0 -0
- {samba_ilum-1.0.0.535 → samba_ilum-1.0.0.537}/samba_ilum/src/job.py +0 -0
- {samba_ilum-1.0.0.535 → samba_ilum-1.0.0.537}/samba_ilum/src/kpoints.py +0 -0
- {samba_ilum-1.0.0.535 → samba_ilum-1.0.0.537}/samba_ilum/src/lattice_plot3d.py +0 -0
- {samba_ilum-1.0.0.535 → samba_ilum-1.0.0.537}/samba_ilum/src/make_files.py +0 -0
- {samba_ilum-1.0.0.535 → samba_ilum-1.0.0.537}/samba_ilum/src/output.py +0 -0
- {samba_ilum-1.0.0.535 → samba_ilum-1.0.0.537}/samba_ilum/src/potcar.py +0 -0
- {samba_ilum-1.0.0.535 → samba_ilum-1.0.0.537}/samba_ilum/src/vdW_DF.py +0 -0
- {samba_ilum-1.0.0.535 → samba_ilum-1.0.0.537}/samba_ilum/src/xy-scan.py +0 -0
- {samba_ilum-1.0.0.535 → samba_ilum-1.0.0.537}/samba_ilum/src/xy-scan_analysis.py +0 -0
- {samba_ilum-1.0.0.535 → samba_ilum-1.0.0.537}/samba_ilum/src/xyz-scan.py +0 -0
- {samba_ilum-1.0.0.535 → samba_ilum-1.0.0.537}/samba_ilum/src/xyz-scan_analysis.py +0 -0
- {samba_ilum-1.0.0.535 → samba_ilum-1.0.0.537}/samba_ilum/src/z-scan.py +0 -0
- {samba_ilum-1.0.0.535 → samba_ilum-1.0.0.537}/samba_ilum/src/z-scan_analysis.py +0 -0
- {samba_ilum-1.0.0.535 → samba_ilum-1.0.0.537}/setup.cfg +0 -0
|
@@ -1961,44 +1961,46 @@ print(f'============================================')
|
|
|
1961
1961
|
files = os.listdir(diret2)
|
|
1962
1962
|
#--------------------------
|
|
1963
1963
|
for i in range(len(files)):
|
|
1964
|
+
#--------------------------------------------------------------------------------------------
|
|
1965
|
+
# Creating a unique 16-digit ID that encodes the POSCAR file structure ----------------------
|
|
1966
|
+
#--------------------------------------------------------------------------------------------
|
|
1967
|
+
with open(diret2 + files[i], 'r') as f: lines = [line.strip() for line in f.readlines() if line.strip()]
|
|
1968
|
+
#-----------------------
|
|
1969
|
+
tag_1 = float(lines[1])
|
|
1970
|
+
#---------
|
|
1971
|
+
tag_2 = []
|
|
1972
|
+
for j in range(2, 5):
|
|
1973
|
+
vector = [float(x) for x in lines[j].split()]
|
|
1974
|
+
tag_2.append(vector)
|
|
1975
|
+
#-----------------------
|
|
1976
|
+
tag_3 = lines[5].split()
|
|
1977
|
+
#-----------------------
|
|
1978
|
+
tag_4 = [int(x) for x in lines[6].split()]
|
|
1979
|
+
#-----------------------------------------
|
|
1980
|
+
tag_5 = lines[7].lower()
|
|
1981
|
+
#-----------------------
|
|
1982
|
+
tag_6 = []
|
|
1983
|
+
natoms = sum(tag_4)
|
|
1984
|
+
for j in range(8, 8 + natoms):
|
|
1985
|
+
coord = [float(x) for x in lines[j].split()[:3]]
|
|
1986
|
+
tag_6.append(coord)
|
|
1987
|
+
#----------------------
|
|
1988
|
+
data_hash = [tag_1, tag_2, tag_3, tag_4, tag_5, tag_6]
|
|
1989
|
+
canonical_string = json.dumps(data_hash, separators=(',', ':'))
|
|
1990
|
+
new_id = hashlib.sha256(canonical_string.encode('utf-8')).hexdigest()[:8]
|
|
1991
|
+
#------------------------------------------------------------------------
|
|
1992
|
+
|
|
1993
|
+
|
|
1964
1994
|
#------------------------------------
|
|
1965
1995
|
poscar = open(diret2 + files[i], "r")
|
|
1966
1996
|
#------------------------------------
|
|
1967
|
-
VTemp = poscar.readline()
|
|
1968
|
-
if (n_Lattice == 2):
|
|
1969
|
-
var_area = str(VTemp[11])
|
|
1970
|
-
rotation_angle = str(VTemp[27])
|
|
1971
|
-
if (n_Lattice == 3):
|
|
1972
|
-
var_area = str(VTemp[12])
|
|
1973
|
-
rotation_angle = str(VTemp[28])
|
|
1974
|
-
|
|
1975
|
-
#-------------------------
|
|
1976
|
-
VTemp1 = VTemp[-1].split()
|
|
1977
|
-
#-------------------------
|
|
1978
|
-
pulo = n_Lattice +4
|
|
1979
|
-
tag1_str = VTemp[pulo + 1]; tag1 = [float(x) for x in tag1_str.split('_')] # mismatch_areas_12_21
|
|
1980
|
-
tag2_str = VTemp[pulo + 5]; tag2 = [float(x) for x in tag2_str.split('_')] # var_areas
|
|
1981
|
-
tag3_str = VTemp[pulo + 9]; tag3 = [float(x) for x in tag3_str.split('_')] # var_vectors
|
|
1982
|
-
tag4_str = VTemp[pulo + 13]; tag4 = [float(x) for x in tag4_str.split('_')] # mismatch_angles_12_21
|
|
1983
|
-
tag5_str = VTemp[pulo + 17]; tag5 = [float(x) for x in tag5_str.split('_')] # var_angles
|
|
1984
|
-
tag6_str = VTemp[pulo + 25]; tag6 = [float(x) for x in tag6_str.split('_')] # MSCell_1
|
|
1985
|
-
tag7_str = VTemp[pulo + 29]; tag7 = [float(x) for x in tag7_str.split('_')] # MSCell_2
|
|
1986
|
-
tag8_str = VTemp[pulo + 33]; tag8 = [float(x) for x in tag8_str.split('_')] # MDeform_1
|
|
1987
|
-
tag9_str = VTemp[pulo + 37]; tag9 = [float(x) for x in tag9_str.split('_')] # MDeform_2
|
|
1988
|
-
#-----------------------------------------------------------------------------------------
|
|
1989
|
-
data_hash = [tag1, tag2, tag3, tag4, tag5, tag6, tag7, tag8, tag9]
|
|
1990
|
-
#-----------------------------------------------------------------
|
|
1991
|
-
new_id = hashlib.sha1(json.dumps(data_hash, separators=(',', ':')).encode('utf-8')).hexdigest()[:8]
|
|
1992
|
-
#--------------------------------------------------------------------------------------------------
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
#-------------------------------------------------------
|
|
1997
|
+
VTemp = poscar.readline()
|
|
1996
1998
|
VTemp = poscar.readline()
|
|
1997
1999
|
param = float(VTemp)
|
|
1998
|
-
|
|
2000
|
+
#----------------------------
|
|
1999
2001
|
A = poscar.readline().split()
|
|
2000
2002
|
B = poscar.readline().split()
|
|
2001
|
-
|
|
2003
|
+
#----------------------------------------------------
|
|
2002
2004
|
for ii in range(3): VTemp = poscar.readline().split()
|
|
2003
2005
|
nion = 0
|
|
2004
2006
|
for j in range(len(VTemp)): nion += int(VTemp[j])
|
|
@@ -303,7 +303,7 @@ for i in range(len(files0)):
|
|
|
303
303
|
tag_6 = []
|
|
304
304
|
natoms = sum(tag_4)
|
|
305
305
|
for j in range(8, 8 + natoms):
|
|
306
|
-
coord = [float(x) for x in lines[j].split()]
|
|
306
|
+
coord = [float(x) for x in lines[j].split()[:3]]
|
|
307
307
|
tag_6.append(coord)
|
|
308
308
|
#----------------------
|
|
309
309
|
data_hash = [tag_1, tag_2, tag_3, tag_4, tag_5, tag_6]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{samba_ilum-1.0.0.535 → samba_ilum-1.0.0.537}/samba_ilum/src/INPUTS/SAMBA_HeteroStructure.input
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|