Closed dr-rodriguez closed 7 years ago
When attempting to read a CAOM2.3 xml with ObservationReader, this line fails due to missing keywords elements. Since keywords are optional, this line should only run if keywords_element is not None.
keywords_element
https://github.com/opencadc/caom2tools/blob/416afc51c4cd3e02d7f493ea9de42b9c51805094/caom2/caom2/obs_reader_writer.py#L264
Ha! We also run into it and I was in the middle of releasing the patch. Fixed and released in caom2-2.3.0a5.
When attempting to read a CAOM2.3 xml with ObservationReader, this line fails due to missing keywords elements. Since keywords are optional, this line should only run if
keywords_element
is not None.https://github.com/opencadc/caom2tools/blob/416afc51c4cd3e02d7f493ea9de42b9c51805094/caom2/caom2/obs_reader_writer.py#L264