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

class?

parent 6bac7167
......@@ -43,7 +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...")
zipfile.extractall('../InputData/Elser.zip', '../InputData/Phase/Elser')
zipfile.ZipFile.extractall('../InputData/Elser.zip', '../InputData/Phase/Elser')
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