We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08b9902 commit f52a108Copy full SHA for f52a108
struct_module/commands/generate.py
@@ -51,6 +51,9 @@ def _create_structure(self, args):
51
if args.structures_path:
52
file_path = os.path.join(args.structures_path, f"{args.structure_definition}.yaml")
53
54
+ if not os.path.exists(file_path) and args.structures_path:
55
+ file_path = os.path.join(contribs_path, f"{args.structure_definition}.yaml")
56
+
57
if not os.path.exists(file_path):
58
self.logger.error(f"File not found: {file_path}")
59
return
0 commit comments