MCPcopy Create free account
hub / github.com/PyMesh/PyMesh / parse_args

Function parse_args

scripts/microstructure_gen.py:196–201  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

194 return inflator.mesh;
195
196def parse_args():
197 parser = argparse.ArgumentParser(description=__doc__);
198 parser.add_argument("config_file", help="pattern configuration file.");
199 parser.add_argument("output", help="output mesh");
200 args = parser.parse_args();
201 return args;
202
203def main():
204 args = parse_args();

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected