folding update_add_binary_tables_spectrum_rows.sql into python command-line