removed unused '_format_path'

This commit is contained in:
Jakub Trllo 2024-05-06 15:10:14 +02:00
parent 1589ee5c0e
commit aaeaa1e7f0

View file

@ -1108,24 +1108,6 @@ def _get_host_config_data(templates, template_data):
}
def _format_path(template_path, formatting_data):
"""Single template path formatting.
Args:
template_path (str): template string
formatting_data (dict): data to be used for
template formatting
Returns:
str: absolute formatted path
"""
# format path for anatomy keys
formatted_path = StringTemplate(template_path).format(
formatting_data)
return os.path.abspath(formatted_path)
def get_imageio_file_rules(project_name, host_name, project_settings=None):
"""Get ImageIO File rules from project settings