Change default data location to current working directory
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
Research direction
Start by locating the config setting for the installation data directory and the default path handling used by plugins and MolecularData. Check how filenames beginning with ./ are resolved, then trace the related tests. Done means defaults use the caller’s current working directory and ./data/... resolves beneath it; the issue names no specific files or tests.
Written by the indexing model from the issue text.
Description
Right now using most of the plugins or MolecularData class will default to the installation directory specified in the config file, which could be in a very inconvenient location for some people. Also, in my own workflows I'm most interested in keeping data local to a particular project rather than OpenFermion itself, hence it would be better if the universal defaults were the working directory of the user of the code, rather than the installation directory. It should also be the case that when filenames are passed of the form "./data/myfilename.hdf5", that this is the 'data' directory within the current working directory, not in the installation data directory. Any thoughts to the contrary?
- Dominant language
- Python
- Stars
- 1.7k
- Forks
- 438
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from quantumlib/OpenFermion
-
PhaseFitEstimator cannot fit the signal from its own reduced sampling gridPossibly taken @madcpf claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
quantumlib/OpenFermion#1479 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
quantumlib/OpenFermion#1478 ·
-
Switch to Pyrefly for type checking instead of mypyPossibly taken @rosspeili claimed this 133 days ago. Opena: health a: python e: experienced
quantumlib/OpenFermion#1399 · 6 comments · 1 assignee ·
-
Add a CODEOWNERS fileMay be free again @mhucka claimed this 159 days ago, and no pull request is open. Opena: devops e: maintainer
quantumlib/OpenFermion#1337 · 3 comments · 1 assignee ·
-
Add workflow to run create-env-files.sh when Dependabot changes dependenciesPossibly taken @rosspeili claimed this 142 days ago. Opena: devops e: experienced
quantumlib/OpenFermion#1332 · 4 comments · 1 assignee ·
All issues in quantumlib/OpenFermion
Similar issues
-
auto-reported bug
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
stix-atlas.json: the same relationship id is used for several different mitigates relationshipsOpen
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
backend bug
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
nolte/kamerplanter#3193 ·
Maintainers usually reply within 1 day
-
soup prune-prompt exits 1 after writing its output on a file over 100,000 rows, and reports a capped row count otherwisePossibly taken @abdulwaarith0 claimed this today. Openneeds-triage
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
MakazhanAlpamys/Soup#3690 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day