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

pypasta: config: change default filename for cluster output #50

Merged
merged 1 commit into from
Apr 4, 2020

Conversation

rsarky
Copy link
Contributor

@rsarky rsarky commented Apr 4, 2020

The default filename for both patch stack and mbox mode is same now

Signed-off-by: Rohit Sarkar rohitsarkar5398@gmail.com

Copy link
Member

@rralf rralf left a comment

Choose a reason for hiding this comment

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

Almost :-) Just one last simplification, then I'll integrate it. Thanks!

cluster_dst = 'MBOX_RESULT'
else:
cluster_dst = 'PASTA_RESULT'
cluster_dst = 'PATCH_GROUPS'
Copy link
Member

Choose a reason for hiding this comment

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

One last thing: You can use 'PATCH_GROUPS' directly below. There's no need for outsourcing it in a variable.

cluster_dst = 'MBOX_RESULT'
else:
cluster_dst = 'PASTA_RESULT'
cluster_dst = 'PATCH_GROUPS'
self.f_clustering = path(cluster_dst)
Copy link
Member

Choose a reason for hiding this comment

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

Just use path('PATCH_GROUPS')

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yup makes sense

The default filename for both patch stack and mbox mode is same now

Signed-off-by: Rohit Sarkar <rohitsarkar5398@gmail.com>
@rsarky rsarky force-pushed the change-default-result-filename branch from 982327c to 7b1c481 Compare April 4, 2020 18:02
@rralf
Copy link
Member

rralf commented Apr 4, 2020

Thanks, applied!

@rralf rralf merged commit b8f966a into lfd:next Apr 4, 2020
@rralf
Copy link
Member

rralf commented Apr 4, 2020

Ah crap, that was a bit too fast: Could you please forward the resources submodule?

@rsarky
Copy link
Contributor Author

rsarky commented Apr 4, 2020

Sure! Will do once the PR is merged there.

@rralf
Copy link
Member

rralf commented Apr 4, 2020

It is merged.

@rsarky
Copy link
Contributor Author

rsarky commented Apr 5, 2020

This isnt merged yet

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