Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

experimental wf #43

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

experimental wf #43

wants to merge 3 commits into from

Conversation

DinoBektesevic
Copy link
Member

The workflow I use to test things.

h, w = wu.wcs.pixel_shape
header["NAXIS1"], header["NAXIS2"] = h, w
res.table.meta["wcs"] = json.dumps(dict(header))
res.write_table(outputs[0].filename)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can build the output filename from the input: inputs[0].filename + ".results.ecsv".

search_futures.append(
step2(
inputs=resampled_future.result(),
outputs=[File(resampled_future.result()[0].filepath + ".results.ecsv")],
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe that 161 and 162 should change to:

                    inputs=resampled_future,
                    outputs=[],

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants