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

Function main

scripts/microstructure_gen.py:203–209  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

201 return args;
202
203def main():
204 args = parse_args();
205 config = parse_config_file(args.config_file);
206 if args.output is not None:
207 config["output"] = args.output;
208 mesh = tile(config);
209 pymesh.save_mesh(config["output"], mesh, *mesh.get_attribute_names());
210
211if __name__ == "__main__":
212 main();

Callers 1

Calls 5

parse_config_fileFunction · 0.85
tileFunction · 0.85
parse_argsFunction · 0.70
save_meshMethod · 0.45
get_attribute_namesMethod · 0.45

Tested by

no test coverage detected