File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -237,11 +237,6 @@ def trigger_pandda_xchem(
237237 )
238238 return {"success" : True }
239239
240- TEST_DCID = 20217382
241- if dcid != TEST_DCID :
242- self .log .debug (f"Not triggering PanDDA2 pipeline for dcid={ dcid } " )
243- return {"success" : True }
244-
245240 # Find corresponding xchem visit directory and database
246241 xchem_dir = pathlib .Path (f"/dls/labxchem/data/{ visit_proposal } " )
247242 yaml_files = []
@@ -527,7 +522,7 @@ def trigger_pandda_xchem(
527522
528523 if df3 .empty :
529524 self .log .info (
530- f"Problem finding 'best' dataset to take forward for dcid { dcid } "
525+ f"Problem finding 'best' dataset to take forward for PanDDA2 for dcid { dcid } "
531526 )
532527 return {"success" : True }
533528
@@ -556,7 +551,6 @@ def trigger_pandda_xchem(
556551 # Read XChem SQLite for ligand info
557552 try :
558553 conn = sqlite3 .connect (db_copy )
559- # conn.execute("PRAGMA journal_mode=WAL;")
560554 df = pd .read_sql_query (
561555 f"SELECT * from mainTable WHERE Puck = '{ code } ' AND PuckPosition = { location } AND CrystalName = '{ dtag } '" ,
562556 conn ,
You can’t perform that action at this time.
0 commit comments