You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import eleanor
import numpy as np
import matplotlib.pyplot as plt
star = eleanor.Source(tic=38846515, sector=1, tc=True)
gets the following error:
source.py:396: UserWarning: Warning: unable to create .. Downloading TessCut to the current working directory instead.
'working directory instead.'.format(download_dir))
In Source.py::tesscut_dir() the download directory is implicitly created as follows at line 396:
If directory $HOMEDIR/.eleanor does not yet exist, it must be created (os.mkdir) before executing that statement. Otherwise, the downloaded file winds up in the current directory (not desirable).
Running on Xubuntu 18.04.3.latest with Python 3.latest.
The text was updated successfully, but these errors were encountered:
from os.path import expanduser
DIR = expanduser("~/.eleanor")
if not os.path.exists(DIR):
try:
os.mkdir(DATA_DIR)
except Exception as err:
oops("main: Cannot create directory {}:\n{}".format(DIR, str(err)))
For whatever it is worth, I just ran into a surprising tensorflow 1.14.0 fatal anomaly (not an eleanor issue). See tensorflow/tensorflow#17411 for description and work-around.
Running the quickstart sample .....
gets the following error:
In
Source.py::tesscut_dir()
the download directory is implicitly created as follows at line 396:If directory $HOMEDIR/.eleanor does not yet exist, it must be created (
os.mkdir
) before executing that statement. Otherwise, the downloaded file winds up in the current directory (not desirable).Running on Xubuntu 18.04.3.latest with Python 3.latest.
The text was updated successfully, but these errors were encountered: