Skip to content

Commit

Permalink
Merge pull request #120 from AI4WA/feature/cli
Browse files Browse the repository at this point in the history
Feature/cli
  • Loading branch information
PascalSun authored Jan 7, 2025
2 parents 781ee9d + b2e1af9 commit 866eb2a
Show file tree
Hide file tree
Showing 8 changed files with 1,078 additions and 185 deletions.
419 changes: 419 additions & 0 deletions Docs2KG/cli.py

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion Docs2KG/kg_construction/metadata_kg/metadata_kg.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ def construct(

# remove unamed columns
df = df.loc[:, ~df.columns.str.contains("^Unnamed")]

# Validate required columns
if document_id_column not in df.columns:
raise ValueError(f"Input data must contain '{document_id_column}' column")
Expand Down
Loading

0 comments on commit 866eb2a

Please sign in to comment.