Skip to content

Commit bde4821

Browse files
committed
Launch PanDDA2 for all OpenBind data collections
1 parent cece8ab commit bde4821

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

src/dlstbx/services/trigger_xchem.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff 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,

0 commit comments

Comments
 (0)