Skip to content

Commit

Permalink
Merge pull request #55 from pyomeca/pariterre-patch-1
Browse files Browse the repository at this point in the history
Changed path folder
  • Loading branch information
romainmartinez committed May 27, 2019
2 parents 48b4ec5 + fecf2e4 commit 9838b81
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tests/test_fileio.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,7 @@
from pyomeca import Analogs3d, Markers3d

# Path
if Path.cwd().parts[-1] == 'pyomeca':
PROJECT_FOLDER = Path('.')
else:
# if launched from the terminal
PROJECT_FOLDER = Path('..')
PROJECT_FOLDER = Path(__file__).parent / ".."
DATA_FOLDER = PROJECT_FOLDER / 'tests' / 'data'

MARKERS_CSV = DATA_FOLDER / 'markers.csv'
Expand Down

0 comments on commit 9838b81

Please sign in to comment.