Skip to content

Commit

Permalink
compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
mlincett committed Jul 21, 2022
1 parent 38950de commit f15dcbf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flarestack/data/icecube/ic_season.py
Expand Up @@ -88,9 +88,9 @@

def get_dataset_dir() -> str:
"""
Returns the path to the IceCube dataset directory.
Returns the path to the IceCube dataset directory. This ensures compatibility with all modules still using the path as a string.
"""
dataset_dir = icecube_dataset_dir
dataset_dir = str(icecube_dataset_dir)
if not dataset_dir.endswith("/"):
dataset_dir += "/"
return dataset_dir
Expand Down

0 comments on commit f15dcbf

Please sign in to comment.