Skip to content

Parallel packing doesn't work with store multiple results in one simularium file #209

@meganrm

Description

@meganrm

Description

if you run a multiple packing config with parallel on, you get error like "AttributeError: 'Environment' object has no attribute 'result_file'" because the env has been cleared out or doesn't quite exist across the different threads.

Expected Behavior

running with parallel=true should work the same as with parallel=false

Reproduction

A minimal example that exhibits the behavior.

pack -r 'cellpack/examples/recipes/v2/one_sphere.json' -c 'cellpack/cellpack/tests/packing-configs/test_parallel_config.json'

Environment

Any additional information about your environment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions