Commit ce569173 authored by Yannick Roehlly's avatar Yannick Roehlly
Browse files

Make glob() available in configuration

Making glob() available in session/configuration.py allows users of
savefluxes and sfhfromfile to use something like

filename = "eval glob('sfh*.fits')"
sfr_column = 2

to take the star formation history from several files.
parent eed20b63
......@@ -10,6 +10,7 @@ import pkgutil
import collections
import itertools
import numpy as np
from glob import glob # To allow the use of glob() in "eval..."
from textwrap import wrap
from .tools import param_dict_combine
from ..data import Database
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment