Skip to content

Commit e80bb3a

Browse files
authored
Sleeping messages should be info, not error (#198)
1 parent fc030e4 commit e80bb3a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

chai_lab/data/dataset/msas/colabfold.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ def download(ID, path):
194194
out = submit(seqs_unique, mode, N)
195195
while out["status"] in ["UNKNOWN", "RATELIMIT"]:
196196
sleep_time = 5 + random.randint(0, 5)
197-
logger.error(f"Sleeping for {sleep_time}s. Reason: {out['status']}")
197+
logger.info(f"Sleeping for {sleep_time}s. Reason: {out['status']}")
198198
# resubmit
199199
time.sleep(sleep_time)
200200
out = submit(seqs_unique, mode, N)
@@ -214,7 +214,7 @@ def download(ID, path):
214214
pbar.set_description(out["status"])
215215
while out["status"] in ["UNKNOWN", "RUNNING", "PENDING"]:
216216
t = 5 + random.randint(0, 5)
217-
logger.error(f"Sleeping for {t}s. Reason: {out['status']}")
217+
logger.info(f"Sleeping for {t}s. Reason: {out['status']}")
218218
time.sleep(t)
219219
out = status(ID)
220220
pbar.set_description(out["status"])

0 commit comments

Comments
 (0)