Skip to content

Commit 2166c0f

Browse files
Corrected some errors
1 parent 46987f0 commit 2166c0f

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,11 @@ pip install chessAnalyzer
1414
## Usage
1515

1616
```python
17-
import chessAnalyzer, os
17+
import os, chessAnalyzer, chessAnalyzer.main
1818

19-
ca = chessAnalyzer.main.AnnotatePosition(0.5, os.cwd(), <engine(optional)>)
19+
# Always use a string for file paths!
20+
21+
ca = chessAnalyzer.main.AnnotatePosition(0.5, os.getcwd(), <engine file path(string)>)
2022

2123
ca.graph(pgn_loc, end_loc) # creates a graph
2224
annotated_pgn = ca.annotate_game(pgn_loc) # annotates game

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
setuptools.setup(
77
name="chessAnalyzer", # Replace with your own username
8-
version="0.0.1",
8+
version="0.0.4",
99
author="Aryan Anand",
1010
author_email="aryananand.chess@gmail.com",
1111
description="Analyses games and positions. Possible to have a Game Report similar to the one from chess.com, "

0 commit comments

Comments
 (0)