Skip to content

Commit 6e1a7b3

Browse files
committed
Debug
1 parent d12c373 commit 6e1a7b3

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/pownet/core/data_processor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def load_transmission_data(self) -> None:
7171
# Print files in get_database_dir()
7272
print("\n\nDEBUGGING")
7373
print(get_database_dir())
74-
print("\nFile list:\n", os.listdir(get_database_dir()))
74+
print("File list:\n", os.listdir(get_database_dir()))
7575

7676
self.transmission_params: dict = (
7777
pd.read_csv(

src/pownet/folder_utils.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,7 @@ def get_home_dir() -> str:
3535

3636

3737
def get_database_dir() -> str:
38-
return os.path.join(
39-
os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "database"
40-
)
38+
return os.path.join(get_pownet_dir(), "src", "database")
4139

4240

4341
def get_test_dir() -> str:

0 commit comments

Comments
 (0)