Skip to content

Commit

Permalink
fix: add docstrings for parital_query_graph and tmp methods in Poppun…
Browse files Browse the repository at this point in the history
…kFileStore
  • Loading branch information
absternator committed Nov 13, 2024
1 parent 3125ccb commit 57dc2de
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions beebop/filestore.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,10 @@ def output_network(self, p_hash) -> str:
return str(PurePath(self.output(p_hash), "network"))

def parital_query_graph(self, p_hash) -> str:
"""
:param p_hash: [project hash]
:return str: [path to partial query graph]
"""
return str(PurePath(self.output(p_hash), f"{p_hash}_query.subset"))

def include_files(self, p_hash, cluster) -> str:
Expand Down Expand Up @@ -225,6 +229,10 @@ def network_mapping(self, p_hash) -> str:
'cluster_component_dict.pickle'))

def tmp(self, p_hash) -> str:
"""
:param p_hash: [project hash]
:return str: [path to tmp folder]
"""
tmp_path = PurePath(self.output(p_hash), "tmp")
os.makedirs(tmp_path, exist_ok=True)
return str(tmp_path)
Expand Down

0 comments on commit 57dc2de

Please sign in to comment.