21
21
import matplotlib .pyplot as plt
22
22
from matplotlib .patches import Rectangle
23
23
24
- README_LINK = f"""{ Path (os .path .dirname (__file__ )) / "ReadMe.md" } """
25
24
README_LINK = "https://downloads.ccdc.cam.ac.uk/documentation/API/descriptive_docs/predicted_properties.html"
26
25
27
26
default_settings = {}
@@ -40,8 +39,6 @@ def plot_hist(descs_data, astype="fig"):
40
39
"hole_reorganization_energy" : descs_data .hole_reorganization_energy ,
41
40
"dynamic_disorder" : descs_data .dynamic_disorder ,
42
41
}
43
- # output1 = open("output1.txt", "a")
44
- # output1.write("%s" % (str(data_hlt{"singlet_state_1_energy"})))
45
42
hist_data = json .load (open (Path (__file__ ).parent / "hist_data.json" , "r" ))
46
43
fig , axs = plt .subplots (nrows = 2 , ncols = 5 , figsize = (15 , 15 ))
47
44
@@ -89,8 +86,6 @@ def plot_hist(descs_data, astype="fig"):
89
86
def write_descs_report (settings = default_settings ):
90
87
interface = ApplicationInterface (parse_commandline = False )
91
88
interface .parse_commandline ()
92
- semiconductor_entry_reader = ccdc .io .EntryReader ("CSD" )
93
- entry = semiconductor_entry_reader .entry (interface .identifier )
94
89
entry = interface .current_entry
95
90
if (entry .predicted_properties is None ):
96
91
interface .write_report (title = "Data not found" , content = "No Predicted Property Data Found For " + entry .identifier )
0 commit comments