Fix `get_gracedb` argument order
In the current version of
get_gracedb, the call to
gracedb_to_json is causing an error because the
outdir is being passed as the second argument, while the
gracedb_to_json expects the credential to be the second argument. I have added an explicit assignment to the
outdir variable to fix this issue.