-
Notifications
You must be signed in to change notification settings - Fork 7
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
Various fixes #274
Merged
Merged
Various fixes #274
Changes from 13 commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
f089b7b
Do not perform arithmetic operations on i/e options
olejandro e1cde22
Add comments
olejandro 8cdc973
Move dummy import switch to Config; remove default cost
olejandro 7f6d687
Modify comments
olejandro 8eaee4b
Populate defaults for limtype and timeslice cols in uc_t
olejandro 482d603
Capitalise attribute names after melting
olejandro db36273
Correct mapping for PRC_REFIT
olejandro e1f287a
Correct mapping and expand defaults for FLO_FUNC
olejandro 78c1f7d
Adjust more mappings
olejandro 72ca7cf
Treat PEAK(CON) as an alias of NCAP_PKCNT
olejandro f600add
Mostly fix type errors
olejandro 6cdba03
Escape dots
olejandro ecef06f
Closes #275
olejandro 55f39a4
Only keep valid process / module combinations in tfm_ava
olejandro f9f5dbc
Remove based on process name instead of index
olejandro ad3c3d7
Simplify process_wildcards and the related code
olejandro be3aeea
Remove callable from _match_wildcards inputs
olejandro ddba76e
Update tests
olejandro eba3eb3
Simplify _match_wildcards
olejandro 0e627b9
clean up...
olejandro db919a3
Try to pass the test
olejandro f2267e5
Try fixing the test once again
olejandro 2e2b8ab
Mostly more types...
olejandro 5984b50
Use difference
olejandro cd198df
Use difference instead of "-" through out the code
olejandro 69d0ee1
Strip white space when processing attributes with tilde
olejandro 320f196
Do not install from PyPI for pytest
siddharth-krishna d933c1b
Merge branch 'main' into olex/various-fixes
olejandro 3a010b5
Address review comments
olejandro fa630a8
And one more...
olejandro File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Sorry, I had #275 on my list but I didn't get around to it yet. Thanks for the fix, it's a smart one!
Btw, perhaps this is a good function to start writing unit tests for, as it's gotten reasonably complex/subtle?
Also, you can simplify this with
for old, new in ...
:)Also, I would use a list of tuples over a tuple of tuples when it gets beyond 3 items, because tuples have some strange hardcoded implementation in Python if I remember correctly. :)
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.
Ah I see we have #222 already, I'll put it on my list :)
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.
Thanks! I'll change it to a list before merging.