Skip to content

issues with pynbody profiles and server-shared-mem #269

@mtremmel

Description

@mtremmel

When --load-mode=server-shared-mem is set and a calculation uses pynbody profiles, the profile object fails to recognize keys which are not already loaded as available. For example when attempting to make a metals profile, a profile object is created (pro_g for gas only) but pro_g['metals'] throws an error that the metals key is not seen as valid. This only occurs in tangos when this load mode is used. The current solution is to force pynbody to load in this data first, then ask for the profile (i.e. halo.g['metals'] before trying to calculate pro_g['metals'])

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