Fixes the following error which I get when running docker-compose run --rm --user="$(id -u):$(id -g )" main python3 process_all.py
Traceback (most recent call last):
File "process_all.py", line 6, in <module>
from spacepy import pycdf
File "/home/user/miniconda/lib/python3.6/site-packages/spacepy/__init__.py", line 329, in <module>
_read_config(rcfile)
File "/home/user/miniconda/lib/python3.6/site-packages/spacepy/__init__.py", line 297, in _read_config
_write_defaults(rcfile, defaults)
File "/home/user/miniconda/lib/python3.6/site-packages/spacepy/__init__.py", line 200, in _write_defaults
f = open(rcfile, 'r+t') #Avoid race condition, open for read and write
PermissionError: [Errno 13] Permission denied: '/home/user/.spacepy/spacepy.rc'
Fixes the following error which I get when running
docker-compose run --rm --user="$(id -u):$(id -g )" main python3 process_all.py