Dear Gitlab Users, for our upcoming upgrade to Gitlab v14, Gitlab will be unavailable on Thursday, 05.08.2021 from 5:00 pm to approximately 7:00 pm. Note that with v14, certain breaking changes will be introduced (https://about.gitlab.com/blog/2021/06/04/gitlab-moving-to-14-breaking-changes/).

Commit 128499cc authored by Schellhorn's avatar Schellhorn
Browse files

more automatic download

parent 8f9cc260
......@@ -66,9 +66,6 @@ class Phasepack_Experiment(PhaseExperiment):
"""
Load Phasepack dataset. Create the initial iterate.
"""
#make sure input data can be found, otherwise download it
GetData.getData('Phase')
# check if data exists
# TODO: All the data corresponding to this experiment should be placed
# in a zip file on the http://vaopt.math.uni-goettingen.de/data/ website
......
......@@ -32,6 +32,9 @@ def getData(problemFamily):
my_file = datadir/'CT'/'ART_SheppLogan.mat'
elif problemFamily == 'Ptychography':
my_file = datadir/'Ptychography'/'gaenseliesel.png'
elif problemFamily == 'OrbitalTomog':
errMsg = 'OrbitalTomog downloader is yet a work in progress'
raise IOError(errMsg)
else:
print("Invalid input in GetData.GetData. problemFamily has to be Phase, CT or Ptychography")
return -1
......
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