Skip to content
Snippets Groups Projects
  • Lionel GUEZ's avatar
    24b7da37
    Bug fix: test presence of `radius_4` in reader · 24b7da37
    Lionel GUEZ authored
    We cannot test `"radius4" in shape_rec_outer.record`, as
    `shape_rec_outer.record` is not a dictionary. We could test `"radius4"
    in shape_rec_outer.record.as_dict()` but it is better to test outside
    of the loop in the field names of the shapefile reader object. The bug
    comes from commit 83a61016.
    24b7da37
    History
    Bug fix: test presence of `radius_4` in reader
    Lionel GUEZ authored
    We cannot test `"radius4" in shape_rec_outer.record`, as
    `shape_rec_outer.record` is not a dictionary. We could test `"radius4"
    in shape_rec_outer.record.as_dict()` but it is better to test outside
    of the loop in the field names of the shapefile reader object. The bug
    comes from commit 83a61016.