Skip to content

Commit

Permalink
Path bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bibhuraushan committed Aug 21, 2024
1 parent 3cbb438 commit d3a1f24
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions aftpy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,8 @@
from .aftmaps import AFTmaps
from .getaftdata import AFTdownload
from .visulalization import Visulalization
from pathlib import Path
home = Path.home()/".aftpy"
home.mkdir(exist_ok=True, parents=True)


2 changes: 1 addition & 1 deletion aftpy/aftmaps.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
from .aftmap import AFTmap
from numpy import ndarray, dtype

this_directory = Path(__file__).parent
this_directory = Path.home()/".aftpy"
__all__ = ['AFTmaps']


Expand Down

0 comments on commit d3a1f24

Please sign in to comment.