Skip to content

Commit

Permalink
fix(compute): make cache dir compatible with WIN
Browse files Browse the repository at this point in the history
  • Loading branch information
afermg committed Feb 13, 2024
1 parent 58976d5 commit 4b64b45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/copairs/compute.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def null_dist_cached(num_pos, total, seed, null_size, cache_dir):


def get_null_dists(confs, null_size, seed):
cache_dir = Path.home() / f".copairs/seed{seed}/ns{null_size}"
cache_dir = Path.home() / ".copairs" / f"seed{seed}" / f"ns{null_size}"
cache_dir.mkdir(parents=True, exist_ok=True)
num_confs = len(confs)
rng = np.random.default_rng(seed)
Expand Down

0 comments on commit 4b64b45

Please sign in to comment.