Closed AlexGKim closed 1 year ago
@AlexGKim Thanks. But I wasn't able to reproduce the error. I got the correct root_dir path when importing GCRCatalogs v1.6.0. Did you run anything else before calling GCRCatalogs?
In [4]: import GCRCatalogs
In [5]: GCRCatalogs.get_root_dir()
Out[5]: '/global/cfs/cdirs/lsst/shared'
In [6]: GCRCatalogs.__version__
Out[6]: '1.6.0'
The problem is that I ran the command
python -m GCRCatalogs.user_config set root_dir /path/to/the/download/directory
Do you know how I can undo this without rerunning the above command, which I can't run again due to silly reasons?
Can you run
python -m GCRCatalogs.user_config del root_dir
?
If not, can you go to ~/.config/lsstdesc/
and remove the user config file directly?
Success! I fixed the config file.
The default path for
root_dir
causes an errorWith the default
I get the error
Whereas to make things work I had to set the path to
GCRCatalogs.set_root_dir('/global/cfs/cdirs/lsst/shared/')