Skip to content

Legacy CLI save/load format mismatch (.npy vs Fortran binary) #30

Closed

Description

@neuromechanist

AMICA._optimize() / save_results in pyAMICA.py write results as .npy files, but
loadmodout() expects raw Fortran-format binary files with no extension. The round-trip raises
FileNotFoundError for 'W' before any correlation check runs.

Surfaced by the xfail pyAMICA/tests/test_sample_data.py::test_sample_data_cli (strict xfail).
Previously mis-attributed to "epic #9"; it is an independent legacy-CLI bug. Fix the save/load
format contract (or converge on one format), then un-xfail the test.

Activity

  1. added
    bug
    on Jul 3, 2026
  2. added a commit that references this issue on Jul 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions