diff --git a/src/npg_irods/cli/update_secondary_metadata.py b/src/npg_irods/cli/update_secondary_metadata.py index 24518d4..bfa4937 100755 --- a/src/npg_irods/cli/update_secondary_metadata.py +++ b/src/npg_irods/cli/update_secondary_metadata.py @@ -112,7 +112,7 @@ def main(): print(version()) sys.exit(0) - dbconfig = DBConfig.from_file(args.database_config.name, "mlwh_ro") + dbconfig = DBConfig.from_file(args.db_config.name, "mlwh_ro") engine = sqlalchemy.create_engine( dbconfig.url, pool_pre_ping=True, pool_recycle=3600 )