Skip to content

Proteus doctor command suggests downgrade #646

@nichollsh

Description

@nichollsh

Problem description

The proteus doctor command is meant to help a user diagnose their proteus installation, check which modules need updating, and confirm environment variables are set.

However, it seems to suggest an "update is available" by prompting a version downgrade. Also, it does not check for the FC_DIR, ZALMOXIS_ROOT, or LA_DIR environment variables.

Expected behavior

  • Respect ascending order of version numbering by only suggesting upgrades to later versions. I think this is because the code files express more recent version numbers than the GitHub releases.
  • Check missing environment variables
  • Would also be good if it printed Python, Julia (etc.) versions, since we have specific requirements on these
  • Could also check the SOCRATES, SPIDER, and FastChem versions.

Evidence

$ proteus doctor
Packages
aragog: No package metadata was found for aragog
fwl-calliope: ok
fwl-janus: ok
fwl-proteus: Update available 25.11.19 -> 25.10.15
fwl-mors: ok
fwl-zephyrus: Update available 25.10.28 -> 25.3.11
fwl-zalmoxis: ok
AGNI: Update available 1.8.6 -> 1.8.1

Environment variables
FWL_DATA: ok
RAD_DIR: ok

My computer

Fedora 43, Python 3.12, Julia 1.11

Relevant people

@timlichtenberg @stuitje @egpbos

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't workingInterraIssue has been imported to the Interra Board projectPROTEUSPriority 3: standardPriority level 3: medium time criticality or importanceSoftwareRelating to software and implementationimport

    Type

    Projects

    Status

    Next Up

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions