Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Merge branch 'master' into codex/update-model.py-for-structured-artif…
…act-output-4wa0qd
  • Loading branch information
LeeLupton authored Dec 25, 2025
commit 03758cc7a1c5514e4d9c7035a7adf1013cdee2e7
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ document-clusterer cluster \
On Windows, you can run the same commands in PowerShell. If `document-clusterer` is not on your `PATH`, use the module form instead:

```powershell
python -m document_clusterer.cli clean --stories-dir data\sample --output data\sample_cleaned.json
python -m document_clusterer.cli clean --stories-dir data\\sample --output data\\sample.json
python -m document_clusterer.cli cluster --input-file data\\sample_cleaned.json --stories-dir data\\sample --output-dir clusteredDocuments\\sample
```
Expand Down
5 changes: 1 addition & 4 deletions document_clusterer/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,7 @@ def env_int(var_name: str, default: int) -> int:

def _ensure_file_exists(path: Path, description: str) -> None:
if not path.exists():
raise FileNotFoundError(
f"{description} does not exist: {path.resolve()} (cwd: {Path.cwd()}) "
"If you are using the sample data, run the clean step to generate it."
)

if not path.is_file():
raise ValueError(f"{description} is not a file: {path}")

Expand Down
Loading
You are viewing a condensed version of this merge commit. You can view the full changes here.