Skip to content

Commit d1c386d

Browse files
committed
removing retry block, looks like travis is fine after changing download_spec method
1 parent 53bd585 commit d1c386d

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

pydra/engine/boutiques.py

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff 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)

0 commit comments

Comments
 (0)