Skip to content
Snippets Groups Projects
Commit a56d960c authored by Marek Wiesner's avatar Marek Wiesner
Browse files

Fix bug when reading concentration values from dataset

parent eab2792f
No related branches found
No related tags found
No related merge requests found
......@@ -83,4 +83,4 @@ class Dataset:
def get_concentration_values(self) -> list[float]:
return [m.concentrationValue for m in self.measurements if m.concentrationValue]
\ No newline at end of file
return [m.concentrationValue for m in self.measurements if m.concentrationValue is not None]
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment