Skip to content

Commit

Permalink
Change logging level on PandASubdirectoryProvider (#516)
Browse files Browse the repository at this point in the history
  • Loading branch information
olliesilvester authored May 16, 2024
1 parent 6518b35 commit 50d0fe4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/dodal/common/udc_directory_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,14 @@


class PandASubdirectoryProvider(UpdatingDirectoryProvider):
"""Directory provider for the HDFPanda. Points to a panda subdirectory within the
directory path provided, which must exist before attempting to arm the PCAP block"""

resource_dir = Path("panda")

def __init__(self, directory: Path | None = None):
if directory is None:
LOGGER.warn(
LOGGER.debug(
f"{self.__class__.__name__} instantiated with no root path, update() must be called before writing data!"
)
self._directory_info = (
Expand Down

0 comments on commit 50d0fe4

Please sign in to comment.