Skip to content
Snippets Groups Projects

Add support for GridSample + Minor changes

Merged Cyril Moineau requested to merge GridDepth into dev
6 files
+ 75
6
Compare changes
  • Side-by-side
  • Inline
Files
6
@@ -19,6 +19,8 @@ def generate_file(file_path: Union[Path, str], template_path: Union[Path, str],
file_path = Path(file_path)
if isinstance(template_path, str):
template_path = Path(template_path)
if not template_path.exists():
raise ValueError(f"Path to template {template_path} is not valid !")
# Make dir
file_path.parent.mkdir(parents=True, exist_ok=True)
Loading