Commit f0b5c65e authored by Russell Luke's avatar Russell Luke
Browse files

giving up on GetData.py

parent 54d88789
......@@ -43,9 +43,7 @@ def getData(problemFamily):
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/" + problemFamily + ".zip", reporthook=dlProgress)
print("\nExtracting data...")
myzip = zipfile.ZipFile.open("../InputData/Elser.zip","r")
myzip.extractall("../InputData/Phase/Elser")
myzip.close()
# don't know how to do this.
os.system("mv ../../../InputData/Phase/Elser/phase-retrieval-benchmarks-master/data/* ../../../InputData/Phase/Elser/")
os.system("rm -r ../../../InputData/Phase/Elser/phase-retrieval-benchmarks-master")
......
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