Skip to content

Commit

Permalink
Bugfix in bulk_species_node_concentration
Browse files Browse the repository at this point in the history
  • Loading branch information
andreArtelt committed Oct 31, 2024
1 parent 22de93a commit 0c39a52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion epyt_flow/simulation/scada/scada_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -2150,7 +2150,7 @@ def get_data_bulk_species_node_concentration(self,
raise TypeError("'bulk_species_sensor_locations' must be an instance of 'dict'" +
f" but not of '{type(bulk_species_sensor_locations)}'")
for species_id in bulk_species_sensor_locations:
if species_id not in self.__sensor_config.bulk_species_sensors:
if species_id not in self.__sensor_config.bulk_species_node_sensors:
raise ValueError(f"Species '{species_id}' is not included in the " +
"sensor configuration")

Expand Down

0 comments on commit 0c39a52

Please sign in to comment.