Skip to content
Discussion options

You must be logged in to vote

save() is an instance method, so you need to call it on an existing geometry, you cannot call it on a future of a geometry:

geometry = ...  # 
geometry.save(my_path)  # OK
future_of_geometry.save(my_path)  # will not work because Parsl Futures do not know what `save` is

To avoid writing an app for this, you can use the Dataset functionality, which works in both cases:

Dataset([future_of_geometry]).save(path_out)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by tbraeckevelt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants