dwavesystems / dwavesystems/minorminer

Make bisclique cache location more configurable

Open
#242 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
54
Forks
48
Avg merge
19h 28m
Merged PRs (30d)
1

Description

Currently a user can override the cache location, but it's pretty inelegant
```python
import os

import minorminer.busclique

def myfileloc(version=None):
dir_path = os.path.dirname(os.path.realpath(__file__))
return os.path.join(dir_path, "clique_cache")
minorminer.busclique.busgraph_cache.cache_rootdir = myfileloc
```
it would be nice to have an official API for specifying the cache location

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.