Skip to content

passing user defined objects as an input #433

Closed
@djarecka

Description

@djarecka

I've been debugging code created by @harveyaa, and there is an issue when FunctionalImage is passed as an input. Even if we make sure that the image doesn't change during the execution, there is still issue with hash value. The task run fine, but because hash value is changing the task can't find the results.

In #432 I've added modified code from @harveyaa. I've also added a part to pydra to use cp.dumps to calculate the hash value for non-basic python objects and print statements to show where the hash value of img changes. It looks to me that ConcurrentFutures is responsible for this. Any idea?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requestedto considersuggesting changes that require more discussion

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions