Skip to content

Hack-ey way to make sure materials are tracked #16

Description

@abachma2

Expected behavior:

  • call ts.Material.create_untracked() in the get_material_requests function
  • The discharged material from the archetype and and subsequent materials from that one are tracked in a simulation

Current behavior:

  • call ts.Material.create() in the get_material_requests function
  • The discharged material from the archetype and and subsequent materials from that one are tracked in a simulation

When ts.Material.create_untracked() was previously called, the discharged material from this archetype and any subsequent materials were not tracked as resources (although the transactions were recorded). This problem was previously addressed through Issue #9, with an attempted by wrong solution implemented in PR #15 (this solution recorded information to the database without actually making the materials tracked). The current behavior seems to work well enough (although it does add a lot of resources to the database), but it feels like something that the archetype shouldn't be doing.

Activity

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

    Comp:CoreThis issue has to do with the main bulk of the code or document. (methods, main content)Difficulty:2-ChallengingThis issue may be complex or require specialized skills.Priority:4-LowThis work is valuable, but not urgent or mission critical.Status:1-NewNo one has claimed this issue yet. It is in need of solving.

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions