cancervariants / gene-normalization

Services and guidelines for normalizing genes
https://gene-normalizer.readthedocs.io/latest/
MIT License
1 stars 3 forks source link

fix: handle password param in postgres connection #333

Closed nickzoic closed 6 months ago

nickzoic commented 6 months ago

Fixes two issues with the Postgres database class:

  1. The error message when calling psql from load_from_remote wasn't very helpful, printing the return code rather than the system_call string.
  2. psql -W password doesn't work that way, so I've changed it to always use the connection url when calling out to psql and pg_dump.