load_map
Import MRC/CCP4 volume maps into PyMOL, validating headers first to avoid half-loaded objects, and report provenance and geometry.
Instructions
Load a volume into PyMOL, recording where it came from and reporting its geometry.
The header is parsed before PyMOL is touched, so a malformed file fails without leaving a half-loaded object in the session, and the load is confirmed rather than assumed.
Provenance defaults to unknown and is never guessed. A measured reconstruction, a sharpened map, a network-enhanced map and a decoder output all render identically once they are an isosurface, so defaulting to "measured" would quietly assert that somebody observed a generated volume. The report shows what the file says about itself — MRC labels, filename tokens — so the caller can declare it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | PyMOL object name (defaults to a sanitised filename stem) | |
| path | Yes | Path to an MRC/CCP4 volume (.mrc/.map/.ccp4, optionally gzipped) | |
| provenance | No | How this volume came to exist: "measured", "sharpened", "nn_enhanced", "generated", or "unknown". Defaults to "unknown" and is NEVER inferred. | unknown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |