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

corrected issue with mash step parsing #11

Merged
merged 1 commit into from Sep 19, 2019

Conversation

jwjulien
Copy link
Contributor

@jwjulien jwjulien commented Sep 6, 2019

(wonderful utility!) I'm using this in a project and noticed that BrewTarget exports BeerXML such that subsequent mash "steps" overwrite the actual mash steps. My proposed correction creates a single "mash" object and them populates it, similar to the other objects (fermentables, hops, etc.).

This is an example CoffeeStout.zip recipe that previously would cause index errors during my parsing as the mash was being obliterated. With my change it seems to work as expected, at least in my application.

I do apologize, if I had more time I would create a mash test case for you to catch this in the future, however, life persists. If you choose to accept my change, hooray!

@hotzenklotz
Copy link
Owner

@jwjulien Thanks for the contribution and sorry for the long wait. Your fix looks good to me. With your permission I will include your Coffee Stout recipe in the tests as well.

@hotzenklotz hotzenklotz merged commit 210de89 into hotzenklotz:master Sep 19, 2019
@jwjulien
Copy link
Contributor Author

jwjulien commented Sep 19, 2019 via email

@hotzenklotz
Copy link
Owner

Alright, I added the recipe as part of a unit test. Your changes should be available from PyPi now as version 1.0.7. Thanks for the contribution.

BTW, do you have any other feedback regarding the library? Any feature request, comments? Other "bugs" or inaccurate calculations? Thanks for your input.

@hotzenklotz hotzenklotz self-assigned this Sep 20, 2019
@jwjulien
Copy link
Contributor Author

jwjulien commented Sep 20, 2019 via email

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.

None yet

2 participants