We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fbe663f commit 679a141Copy full SHA for 679a141
1 file changed
src/dlstbx/wrapper/dimple.py
@@ -153,6 +153,10 @@ def send_results_to_ispyb(self):
153
schemas.AttachmentFileType.RESULT,
154
2,
155
),
156
+ self.results_directory / "anode.html": (
157
+ schemas.AttachmentFileType.RESULT,
158
+ 2,
159
+ ),
160
}
161
attachments.extend(
162
[
@@ -307,6 +311,14 @@ def run(self):
307
311
)
308
312
309
313
if success:
314
+ self.log.info("Creating anode html visualisation")
315
+ try:
316
+ os.system(
317
+ f"module load molviewspec; gen_html_anode.py --results_directory {str(self.results_directory)} --peaks 10"
318
+ )
319
+ except Exception as e:
320
+ self.log.info(f"Exception creating anode html visualisation: {e}")
321
+
310
322
self.log.info("Sending dimple results to ISPyB")
323
success = self.send_results_to_ispyb()
324
0 commit comments