self.month = time.tm_mon
self.day = time.tm_mday
self.series = int(series)
- self._auxiliary_paths = dict(
- (aux,
- _os.path.join(
- dirname, 'params', '{}{}_{}'.format(
- month_day, aux, series)))
- for aux in self._auxiliary_files)
+ self._auxiliary_paths = {}
+ for aux in self._auxiliary_files:
+ filename = '{}{}_{}'.format(month_day, aux, series)
+ aux_path = _os.path.join(dirname, filename)
+ if not _os.path.isfile(aux_path):
+ aux_path = _os.path.join(dirname, 'params', filename)
+ self._auxiliary_paths[aux] = aux_path
def _load(self):
for aux in self._auxiliary_files: