if args.postcodes:
LOG.warning("Update postcodes centroid")
conn = connect(args.config.get_libpq_dsn())
- refresh.update_postcodes(conn, args.data_dir)
+ refresh.update_postcodes(conn, args.sqllib_dir)
conn.close()
if args.word_counts:
LOG.warning('Recompute frequency of full-word search terms')
conn = connect(args.config.get_libpq_dsn())
- refresh.recompute_word_counts(conn, args.data_dir)
+ refresh.recompute_word_counts(conn, args.sqllib_dir)
conn.close()
if args.address_levels:
if args.functions:
LOG.warning('Create functions')
conn = connect(args.config.get_libpq_dsn())
- refresh.create_functions(conn, args.config, args.data_dir,
+ refresh.create_functions(conn, args.config, args.sqllib_dir,
args.diffs, args.enable_debug_statements)
conn.close()