Comments (4)
The [...]/site-packages/data directory is created when installing the package and it contains the figshare files, because of:
matbench-discovery/pyproject.toml
Line 76 in 13cbb90
One solution would be to move the data/figshare folder into the matbench_discovery folder. But I guess it would take a few more modifications to turn it into a real python package. For instance, this is not compatible:
matbench-discovery/matbench_discovery/__init__.py
Lines 13 to 19 in 13cbb90
The ROOT variable points to the [...]/site-package directory.
from matbench-discovery.
pkg_resources
is deprecated. Maybe we should use importlib.resources
. I'll have to read up on that.
from matbench-discovery.
@pbenner are the /tmp
and /data
directories empty or actually used for anything. maybe the solution is just to get rid of this or check if the package is using an editable install before running this.
matbench-discovery/matbench_discovery/__init__.py
Lines 20 to 23 in 1098aa6
from matbench-discovery.
@pbenner Sorry this took ages to address. I think I fixed the supporting data directories being created in root-level /site-packages
in 55ab66b. This dynamic way of deciding where data files go feels like a bad solution:
matbench-discovery/matbench_discovery/__init__.py
Lines 15 to 20 in 55ab66b
I opened pypa/setuptools#4186 to either design a less hacky way of implementing this or maybe learn how to better address the underlying issue.
from matbench-discovery.
Related Issues (20)
- add ChargE3Net to leaderboard HOT 1
- How to calculate the MAE of the submitted files HOT 3
- df_summary.index contains nan values HOT 1
- fetch_process_wbm_dataset.py: data/wbm/2022-10-19-wbm-init-structs.json.bz2 does not exist
- compute_struct_fingerprints.py: cannot insert material_id, already exists
- fetch_process_wbm_dataset.py: Generating Aflow labels raised exception=KeyError('wyckoff_spglib') HOT 1
- Location of site-stats.json.gz
- Benchmark design questions HOT 15
- Obtain E_above_hull predictions HOT 10
- Reference: Critical examination of robustness and generalizability HOT 2
- Importing CSV with pd.read_json() HOT 3
- Simplified user interface HOT 1
- Pytorch module and virtual environment usage HOT 6
- dead link in contributing HOT 1
- fetch_process_wbm_dataset.py: bad JSON file checksum HOT 1
- Mismatching fingerprint paths HOT 1
- Different training size for benchmarking HOT 2
- MIssing `"direct_url.json"` causes `JSONDecodeError`: Expecting value: line 1 column 1 (char 0)
- df_wbm has wrong index column name type for wandb.Table HOT 2
- Inconsistency in GNoME's F1 Scores on Matbench HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from matbench-discovery.