Skip to content

Commit

Permalink
Respond correctly when samples is none
Browse files Browse the repository at this point in the history
  • Loading branch information
nsheff committed Aug 15, 2023
1 parent d633464 commit 2eacf23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion peppy/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -1105,7 +1105,7 @@ def samples(self):
:return Iterable[Sample]: Sample instance for each
of this Project's samples
"""
if self._samples:
if self._samples is not None:
return self._samples
if SAMPLE_DF_KEY not in self or self[SAMPLE_DF_KEY] is None:
_LOGGER.debug("No samples are defined")
Expand Down

0 comments on commit 2eacf23

Please sign in to comment.