Change default data location to current working directory
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 25/100
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
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?
- Langage dominant
- Python
- Étoiles
- 1.7k
- Forks
- 438
- Merge moyen
- 53 min
- PR mergées (30 j)
- 2
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Aucun modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de quantumlib/OpenFermion
-
Switch to Pyrefly for type checking instead of mypyPeut-être pris @rosspeili l’a pris il y a 122 jours. Ouvertea: health a: python e: experienced
quantumlib/OpenFermion#1399 · 6 commentaires · 1 personne assignée ·
-
Add a CODEOWNERS filePeut-être à nouveau libre @mhucka l’a pris il y a 148 jours, et aucune pull request n’est ouverte. Ouvertea: devops e: maintainer
quantumlib/OpenFermion#1337 · 3 commentaires · 1 personne assignée ·
-
Add workflow to run create-env-files.sh when Dependabot changes dependenciesPeut-être pris @rosspeili l’a pris il y a 131 jours. Ouvertea: devops e: experienced
quantumlib/OpenFermion#1332 · 4 commentaires · 1 personne assignée ·
-
Remove global random seed used for testingPeut-être à nouveau libre @SripriyaDevarapalli l’a pris il y a 43 jours, et aucune pull request n’est ouverte. Ouvertea: performance a: python e: experienced no QC knowledge needed
Difficulté 4/5 3-5 jours Accessibilité débutants 52/100
quantumlib/OpenFermion#1060 · 6 commentaires ·
-
Are there any plans to support symbolic coefficients for QubitOperator?Peut-être pris @anishbhujbal7 l’a pris il y a 83 jours. Ouvertea: functionality s: awaiting-response
quantumlib/OpenFermion#1053 · 8 commentaires · 1 personne assignée ·
Toutes les issues de quantumlib/OpenFermion
Issues similaires
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 90/100
ActivityWatch/docs#223 ·
-
[Bug]: OpenCode v2 skips an assistant message that gains text after an earlier capturePeut-être pris @jianyx1 l’a pris aujourd’hui. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
volcengine/OpenViking#8354 ·
Les mainteneurs répondent en général sous 1 jour
-
comp/tools P2 tool/skills type/bug
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
NousResearch/hermes-agent#159541 ·
Les mainteneurs répondent en général sous 1 jour
-
multilabel_margin_loss returns an unwritten scalar for an empty CPU batch with reduction='sum'Ouvertebot-triaged module: correctness (silent) module: cpu module: empty tensor module: loss triage review
Difficulté 1/5 Moins d'une heure Accessibilité débutants 80/100
Les mainteneurs répondent en général sous 1 jour
-
request-theme
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
LizardByte/ThemerrDB#10167 · 1 commentaire ·