Changed interface in make_apdb.py

The make_apdb.py script in ap_pipe is responsible for setting up the database for use with the AP pipeline. I’ve just merged DM-22663, which changes the config format used by this script. Where before you might set up an SQLite database as:

make_apdb.py -c diaPipe.apdb.db_url="sqlite:///apdb.db" diaPipe.apdb.isolation_level=READ_UNCOMMITTED

the syntax is now the shorter

make_apdb.py -c db_url="sqlite:///apdb.db" isolation_level=READ_UNCOMMITTED

I think I’ve already cleared this change with current make_apdb.py users, but if you have any questions, you can find more details in the online documentation (at least, once it builds tomorrow, November 4).

1 Like