Skip to content

Commit

Permalink
adjust change
Browse files Browse the repository at this point in the history
  • Loading branch information
RasmusOrsoe committed Sep 13, 2024
1 parent 355a691 commit c0e0f5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/graphnet/data/extractors/internal/parquet_extractor.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def __init__(self, extractor_name: str):

def __call__(self, file_path: str) -> pd.DataFrame:
"""Extract information from parquet file."""
if self._table == os.path.dirname(file_path):
if self._table == os.path.basename(os.path.dirname(file_path)):
return pol.read_parquet(file_path).to_pandas()
else:
return None

0 comments on commit c0e0f5a

Please sign in to comment.