- def __init__(self, start = time.strptime('19960101000000', '%Y%m%d%H%M%S'),
- end = datetime.now(), features = []):
- self._start = start
- self._end = end
- self._features = features
+ _start = None
+ _end = None
+
+ def __init__(self, config_file):
+
+ # Check for the integrity of feature names
+ Source.__init__(self)
+
+ self._config = ConfigParser()
+ self._config.read(config_file)
+
+ # Collecting ephemeris features
+ with open(CSV_FILE, "r") as f:
+ reader = DictReader(f, delimiter=',')
+ self._features = [row['name'] for row in reader
+ if self._config['FEATURES'].getboolean(row['name'])]