Skip to content

Gotcha with multiple calls to simulate and compute_properties #243

Backlog

Description

@mattwthompson

When tyff.targets.thermo.simulate is called on a dataset, the user specifies the number of molecules and replicates that are to be used in the jobs. Everything is stored in a somewhat-defined file/directory hierarchy at the value of the epoch_dir argument. There are some quirks, however, when looking up the results (in particular when calling compute_properties on the same set of files). Considering the case of two different calls with two different n_molecules, it's not guaranteed which one is passed through to the compute_properties machinery - nor is it obvious what the behavior should be.

There are a few different ways of making this behavior more concrete that I can think of, but all are better handled by generally improving job directory management which is its own set of tasks (#126 may be the parent issue).

For now, the workaround is simply to not call simulate on the same file path twice with different n_molecules.

Activity

  1. added
    bug
    on Dec 2, 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