Skip to content

Invalid mmcifValidator.pythonPath setting #16

@xrobin

Description

@xrobin

Hello,

Thank you for this very useful extension!

After installation, no errors were reported for clearly invalid mmCIF files. I only had "mmCIF validation: no errors" in the status bar, "no problems have been detected in this workspace" in the Problems panel, and the "Metadata completeness" box was empty.

I needed to set the following in settings.json:

"mmcifValidator.pythonPath": "python3"

Now things to work properly, I can see errors and the metadata completeness box is populated.

I am running Cursor (VS Code-compatible editor) on Ubuntu 24.04, where python is not available.

$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 24.04.4 LTS
Release:	24.04
Codename:	noble
$ python
Command 'python' not found, did you mean:
  command 'python3' from deb python3
  command 'python' from deb python-is-python3

PDBEurope.pdbe-mmcif-validator version 0.1.81.

If I may, you could consider making python3 the default, as that should always be available.

In addition, it would be nice to display a clear error indicating Python executable not found (or non-zero process exit) when the process failed, and not “No errors” message.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions