-
Notifications
You must be signed in to change notification settings - Fork 15
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
Do not create a combined yaml file anymore #348
Conversation
- instead read yaml info as strings - append strings to combine yaml information across yamls - load combined yaml info string - split up compile and pp classes to make script simpler and easier to follow
- Multiple scripts rely/use this tool - PR would be too big if I tried to fix each one with this reworked tool
- this file wouldn't exist anymore
- outputs a combined yaml file for other tools to use/reference
- other tools also need to be changed with these PR changes so this older script is kept to not break multiple tools
I'm working on a different part that requires yaml combining, and incidentally i've tested part of this, so i'll comment on that here now. Overall impression is this is solid work-in-progress! The following call works great:
switching the flag from
|
@ilaflott I think that compile issue was actually just fixed with one of the last pushes (forgot to change the class name previously) Also realized I forgot to update/create tests for the updated version of the tool though |
You were right- i needed a pull. Different error-
|
@ilaflott Alright, pull one more time .... A test is still failing - not sure why yet (printing the dictionaries that are being compared, they both look the same) |
So i did come up against the dictionary-comparison thing the other day, and I figured the lack-of-equality was because the order of the elements isn't equivalent. I.e., the dictionaries are automatically "ordered", see stack overflow |
@ilaflott Huh interesting. I had that though initially too but then the test passed locally, which led me to believe the order might not matter (I also read that it shouldn't somewhere) EDIT: got it to find the error - not sure what I was doing before 😅 |
Found the last test was combining pp2 (defined in test) twice - not sure why (when I list the experiment yamls that it should be combining, all 3 are only listed once) UPDATE: dumb typo made by moi |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good- merging for my branch's sake...
Describe your changes
Issue ticket number and link (if applicable)
#346
Checklist before requesting a review