The Measurementobject contains a field species_data with its adder method add_to_species_data. However, the expected type of the field is the class MeasurementData. While working absolutely fine, the different naming ("species" vs. "measurement") of the data for the measurement is inconsistent and confusing.
Suggested solution:
Change naming of MeasurementData to SpeciesData, since there can be many measured species within a single Measurement object?
The
Measurementobject contains a fieldspecies_datawith its adder methodadd_to_species_data. However, the expected type of the field is the classMeasurementData. While working absolutely fine, the different naming ("species" vs. "measurement") of the data for the measurement is inconsistent and confusing.