diff --git a/cellpack/autopack/__init__.py b/cellpack/autopack/__init__.py index 143544f0..57b9d35d 100755 --- a/cellpack/autopack/__init__.py +++ b/cellpack/autopack/__init__.py @@ -388,6 +388,7 @@ def load_file(filename, destination="", cache="geometries", force=None): db = DATABASE_IDS.handlers().get(database_name) initialize_db = db() db_handler = DBRecipeLoader(initialize_db) + db_handler.validate_input_recipe_path(filename) recipe_id = file_path.split("/")[-1] db_doc, _ = db_handler.collect_docs_by_id( collection="recipes", id=recipe_id