Skip to content

Commit

Permalink
remove ensemblestat from VALID_PLUGIN_TYPES in hooks/post_gen_project.py
Browse files Browse the repository at this point in the history
- currently we do not have ensemblestats plugins
- importer and diagnostic remain as plugin types
  • Loading branch information
Felix Erdmann committed Jan 29, 2025
1 parent 0020618 commit be0e13c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hooks/post_gen_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ def remove_file(filepath):

plugin_type = "{{ cookiecutter.plugin_type }}".lower()

VALID_PLUGIN_TYPES = ["importer", "diagnostic", "ensemblestat"]
VALID_PLUGIN_TYPES = ["importer", "diagnostic"]#, "ensemblestat"]
# Remove the plugin type that was not selected
for plugin in VALID_PLUGIN_TYPES:
if plugin != plugin_type:
shutil.rmtree(f"{{ cookiecutter.project_slug }}/{plugin}")
shutil.rmtree(f"{{ cookiecutter.project_slug }}/{plugin}")

0 comments on commit be0e13c

Please sign in to comment.