2121import matplotlib .pyplot as plt
2222from matplotlib .patches import Rectangle
2323
24- README_LINK = f"""{ Path (os .path .dirname (__file__ )) / "ReadMe.md" } """
2524README_LINK = "https://downloads.ccdc.cam.ac.uk/documentation/API/descriptive_docs/predicted_properties.html"
2625
2726default_settings = {}
@@ -40,8 +39,6 @@ def plot_hist(descs_data, astype="fig"):
4039 "hole_reorganization_energy" : descs_data .hole_reorganization_energy ,
4140 "dynamic_disorder" : descs_data .dynamic_disorder ,
4241 }
43- # output1 = open("output1.txt", "a")
44- # output1.write("%s" % (str(data_hlt{"singlet_state_1_energy"})))
4542 hist_data = json .load (open (Path (__file__ ).parent / "hist_data.json" , "r" ))
4643 fig , axs = plt .subplots (nrows = 2 , ncols = 5 , figsize = (15 , 15 ))
4744
@@ -89,8 +86,6 @@ def plot_hist(descs_data, astype="fig"):
8986def write_descs_report (settings = default_settings ):
9087 interface = ApplicationInterface (parse_commandline = False )
9188 interface .parse_commandline ()
92- semiconductor_entry_reader = ccdc .io .EntryReader ("CSD" )
93- entry = semiconductor_entry_reader .entry (interface .identifier )
9489 entry = interface .current_entry
9590 if (entry .predicted_properties is None ):
9691 interface .write_report (title = "Data not found" , content = "No Predicted Property Data Found For " + entry .identifier )
0 commit comments