We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 16f3b1b commit 9754e46Copy full SHA for 9754e46
sotodlib/site_pipeline/update_obsdb.py
@@ -213,6 +213,7 @@ def main(config: str,
213
logger.info(f"Ran check_book in {time.time()-t1} s")
214
except Exception as e:
215
if config_dict["skip_bad_books"]:
216
+ _, book_id = os.path.split(bookpath)
217
config_dict["known_bad_books"].append(book_id)
218
logger.error(f"failed to add {bookpath}. There are now {len(config_dict['known_bad_books'])} known bad books.")
219
bad_book_counter +=1
0 commit comments