msgomez06 / TCBench_Alpha

MIT License
2 stars 5 forks source link

Windows OS path issues #2

Open Unco3892 opened 2 months ago

Unco3892 commented 2 months ago

Issue of path separation for windows 11: https://github.com/msgomez06/TCBench_Alpha/blob/1af0b42e750fd8c84407ae8471fa111f5c916b2a/dev/utils/toolbox.py#L49

Also, note that your package branch has a similar issue with the path for data_dir: https://github.com/msgomez06/TCBench_Alpha/blob/530918ee56ff5353e40ff09a291a9e475d627206/tcbenchmark/utils/toolbox.py#L1280

which has been updated in main: https://github.com/msgomez06/TCBench_Alpha/blob/1af0b42e750fd8c84407ae8471fa111f5c916b2a/dev/utils/toolbox.py#L2429 but package is still outdated.

AshishDevlekar commented 1 month ago

Issue of path separation for windows 11

AshishDevlekar commented 1 month ago

Issue of path separation for windows 11:

os.path.join("/", *self.filepath.split("/")[:-1], "SHIPS_netcdfs"),

HRPUKALE commented 1 month ago

Issue of path separation for windows 11