Skip to content

[Proposal] store a unique hash to identify calculations #2409

@tomdemeyere

Description

@tomdemeyere

What new feature would you like to see?

This aim to implement a unique hash that could be used to identify calculations. The hash should depends on things like:

  1. The job being ran.
  2. Rounded attributes of the Atoms object.
  3. All the parameters used to run the calculations.

The hash would then be stored in the results dict. The idea is that users should be able to do things like this

@subflow
run_all_calculations(atoms_list):
    for atoms in atoms_list:
         if unique_hash(my_job, atoms, parameters) not in already_done:
              my_job(atoms, parameters)...

This is based on discussion from #2399

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions