Commit 4658e166 authored by Yannick Roehlly's avatar Yannick Roehlly

Convert object name/id to string

parent f36df8e3
......@@ -249,6 +249,9 @@ class Module(common.AnalysisModule):
# Loop over the observations to find the best fitting model and
# compute the parametre statistics.
for obs_index, obs_name in enumerate(obs_table['id']):
# Convert the observation name to string, in case it is a number.
obs_name = str(obs_name)
# We will save the part of the computation table corresponding to
# the model as a FITS file.
fits_table = atpy.Table()
......
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