Commit 650dc897 authored by Russell Luke's avatar Russell Luke
Browse files

pulled to nonexistent directory

parent 8de6c605
......@@ -40,9 +40,9 @@ def getData(problemFamily):
print(problemFamily + " input data is missing.")
if problemFamily == 'Elser':
if query_yes_no("Do you want to download the " + problemFamily + " input data?"):
urllib.request.urlretrieve(" https://github.com/veitelser/phase-retrieval-benchmarks/archive/master.zip","../InputData/Phase/" + problemFamily + ".tar", reporthook=dlProgress)
urllib.request.urlretrieve(" https://github.com/veitelser/phase-retrieval-benchmarks/archive/master.zip","../InputData/" + problemFamily + ".tar", reporthook=dlProgress)
print("\nExtracting data...")
tar = tarfile.open("../InputData/Phase/" + problemFamily + ".tar", "r")
tar = tarfile.open("../InputData/" + problemFamily + ".tar", "r")
tar.extractall("../InputData/Phase/" + problemFamily)
tar.close()
os.system("mv ../../../InputData/Phase/Elser/phase-retrieval-benchmarks-master/data/* ../../../InputData/Phase/Elser/")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment