Description
A 'fragments' attribute was observed in an experiment JSON for one case but not reproducible in other environments. The attribute originates from reaction components when salts and/or solvates are specified. Adding these via the reaction UI prompts the API to include a 'fragments' object with salts and solvates.
Solution
To ensure the 'fragments' attribute appears in experiment JSON:
- Open the experiment and navigate to the reaction section in the UI.
- Add fragments by specifying Salt and/or Solvate for the relevant reactant/product (e.g., add water as a solvate).
- Save the reaction updates.
- Retrieve the experiment via the same API endpoint:

- Verify the JSON includes 'fragments' with 'salts' and/or 'solvates' entries (e.g., water with mf, mw, id, coefficient).
Notes:
- The 'fragments' attribute will not appear if no salts or solvates are defined.
- Ensure consistent configuration across environments to reproduce the same JSON structure.
Comments
0 comments
Article is closed for comments.