File tree Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -61,22 +61,11 @@ def __init__(
61
61
raise Exception ("either bosh or zenodo_id has to be specified" )
62
62
elif zenodo_id :
63
63
self .bosh_file = self ._download_spec (zenodo_id )
64
- else :
64
+ else : # bosh_file
65
65
self .bosh_file = bosh_file
66
66
67
67
with self .bosh_file .open () as f :
68
68
self .bosh_spec = json .load (f )
69
- # # retry logic - an error on travis is raised randomly, not able to reproduce
70
- # tries, tries_max = 0, 7
71
- # while tries < tries_max:
72
- # try:
73
- # with self.bosh_file.open() as f:
74
- # self.bosh_spec = json.load(f)
75
- # break
76
- # except json.decoder.JSONDecodeError:
77
- # tries += 1
78
- # if tries == tries_max:
79
- # raise
80
69
81
70
self .input_spec = self ._prepare_input_spec (names_subset = input_spec_names )
82
71
self .output_spec = self ._prepare_output_spec (names_subset = output_spec_names )
You can’t perform that action at this time.
0 commit comments