Skip to content

Different metadata keys between sims run manually vs through Fireworks #1323

@ggsun

Description

@ggsun

In many analysis scripts, we use the values stored in the metadata/metadata.json file to determine certain properties about the simulation that was run (total number of gens, seeds, whether certain options were turned on, etc.). Through the work that @rjuenemann has been doing with her project, we noticed that the keys for this metadata file are different for sims that are run by using the manual runscripts versus sims that are run through Fireworks. When we run simulations through the manual runscripts, the runParca script generates the metadata file first with certain ParCa-specific keys, which is then overwritten by the runSim.py script by its own metadata file, whose keys mostly overlap with the ParCa metadata but does not contain some of the ParCa-specific keys (e.g. operons). When sims are run through fireworks, the metadata file is constructed just once based on the workflow options and written as a file only once when the workflow is set up. This difference has mostly led to issues when we need the data from the ParCa-specific keys for our analysis scripts, such as when we want the analysis script to run only when the operon option was turned on in the ParCa.

Possible ways to address this issue would be to:

(i) Have the ParCa and the simulation output separate metadata files, and the analysis scripts read in both files
(ii) Have the runSim.py script read in the existing metadata.json file written by runParca.py, and add to this file instead of overwriting

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