Hi,
I`m having some troubles requesting information using the AFLOWDataRetrieval class, and have been using the unit-test at the github repository to reproduction.
This has resulted in the following error:
======================================================================
ERROR: test_get_data (main.AFLOWDataRetrievalTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File “getDataAFLOWviaMatminer.py”, line 14, in test_get_data
df = self.aflowdr.get_dataframe(
File “/home/oliver/.local/lib/python3.8/site-packages/matminer/data_retrieval/retrieve_AFLOW.py”, line 83, in get_dataframe
df = self._collect_requests(query, request_limit)
File “/home/oliver/.local/lib/python3.8/site-packages/matminer/data_retrieval/retrieve_AFLOW.py”, line 142, in _collect_requests
query._request(1, query.k)
File “/home/oliver/.local/lib/python3.8/site-packages/aflow/control.py”, line 148, in _request
rawresp = urlopen(url).read().decode(“utf-8”)
File “/usr/lib/python3.8/urllib/request.py”, line 222, in urlopen
return opener.open(url, data, timeout)
File “/usr/lib/python3.8/urllib/request.py”, line 531, in open
response = meth(req, response)
File “/usr/lib/python3.8/urllib/request.py”, line 640, in http_response
response = self.parent.error(
File “/usr/lib/python3.8/urllib/request.py”, line 569, in error
return self._call_chain(*args)
File “/usr/lib/python3.8/urllib/request.py”, line 502, in _call_chain
result = func(*args)
File “/usr/lib/python3.8/urllib/request.py”, line 649, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: Not Found
----------------------------------------------------------------------
Ran 1 test in 0.648s
FAILED (errors=1)
Libraries:
-pip 20.0.2
-python 3.8
-matminer 0.6.4