Skip to content

Commit 4735bda

Browse files
committed
Siongs suggested changes PPM-192
1 parent bb5c6ed commit 4735bda

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

scripts/show_semiconductor_properties/show_semiconductor_properties.py

-5
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
import matplotlib.pyplot as plt
2222
from matplotlib.patches import Rectangle
2323

24-
README_LINK = f"""{Path(os.path.dirname(__file__)) / "ReadMe.md"}"""
2524
README_LINK = "https://downloads.ccdc.cam.ac.uk/documentation/API/descriptive_docs/predicted_properties.html"
2625

2726
default_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"):
8986
def 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

Comments
 (0)