diff --git a/cellpack/autopack/__init__.py b/cellpack/autopack/__init__.py index 12de9315..5c3e6ea4 100755 --- a/cellpack/autopack/__init__.py +++ b/cellpack/autopack/__init__.py @@ -393,6 +393,7 @@ def load_file(filename, destination="", cache="geometries", force=None): f"The selected database is not initialized. Please set up Firebase credentials to pack remote recipes. Refer to the instructions at {readme_url}" ) 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