When a Molecular File Won’t Open: Find the Right Import Path

A file that will not load can interrupt a modeling session at exactly the wrong moment. The cause is not always the molecular structure itself: SAMSON needs an importer that can read the file’s format. Knowing where to check—and which kind of help to look for—can make the next step much clearer.

Start with the format, not a guess

SAMSON uses importers to parse files and bring structures, maps, meshes, and other objects into a document. Different importers support different formats; examples include PDB and electron-density files. SAMSON comes with default importers, and additional importers can be added from SAMSON Connect.

If a file does not open as expected, first check whether its format is listed among the formats supported by SAMSON. This is a useful first check because it separates two different questions: whether SAMSON supports the format, and how to perform the file-opening workflow.

Keep three questions separate

It is easy to treat every file problem as the same problem. In practice, it helps to identify which of these questions you are trying to answer:

  • How do I open a file? Use the Loading molecules guide for the task workflow, including opening local files and fetching structures.
  • Can SAMSON read this format? Check the supported formats reference.
  • What reads the file? The importer reference explains the role of importer extensions and where they fit.

Keeping these questions distinct helps avoid a common dead end: repeatedly trying different ways to open a file when the real issue is that the needed importer is not available. Conversely, if the format is supported, the loading guide is the more relevant place to look for the opening workflow.

Importing and exporting are different jobs

An importer reads a file into SAMSON. An exporter writes files out. The two extension families are related, but support for one direction should not be taken as proof of support for the other. If your goal is to save or share a document in a particular format, consult the Exporters reference as well as the supported-formats list.

When the importer you need is missing

If you cannot find the format you need in the supported-formats reference, SAMSON’s documentation points to two possible next steps: look for additional importers on SAMSON Connect, or contact the SAMSON team about a missing importer. If you are a developer who wants to build an importer, start with the documentation on generating SAMSON Extensions.

This gives you a practical way to narrow down the problem before changing your modeling workflow: identify the file format, verify support, check whether an additional importer is available, and then consult the appropriate guide for loading or extension development.

For the full reference, visit SAMSON Importers.

Note: SAMSON and all SAMSON Extensions are free for non-commercial use. Get SAMSON.

Comments are closed.