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__(
6161 raise Exception ("either bosh or zenodo_id has to be specified" )
6262 elif zenodo_id :
6363 self .bosh_file = self ._download_spec (zenodo_id )
64- else :
64+ else : # bosh_file
6565 self .bosh_file = bosh_file
6666
6767 with self .bosh_file .open () as f :
6868 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
8069
8170 self .input_spec = self ._prepare_input_spec (names_subset = input_spec_names )
8271 self .output_spec = self ._prepare_output_spec (names_subset = output_spec_names )
You can’t perform that action at this time.
0 commit comments