-
Notifications
You must be signed in to change notification settings - Fork 62
passing parameters to metrics #1783
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
Merged
Merged
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
79aba95
split WeatherGenReader functionality to allow reading only JSON
7131983
informative error when metrics are not there
4831b40
Merge branch 'develop' into json_reader
s6sebusc 45dfaf2
restore JSONreader after rebase
28db658
JSONreader mostly restored
0a79833
Merge branch 'develop' into json_reader
s6sebusc 8fd16e9
MLFlow logging independent of JSON/zarr
305c63c
Merge branch 'develop' into json_reader
iluise 2863b2f
Merge branch 'develop' into json_reader
s6sebusc 7cbcdba
linting, properly cheking fsteps, ens, samples in JSONreader
c08f0cc
Merge branch 'develop' into json_reader
s6sebusc c06a653
Merge branch 'develop' into json_reader
s6sebusc 90bfe4b
tiny change to restore the MergeReader
816e8cd
lint
iluise 8645bd9
adding upstream changes to zarr file handling
6fe6d49
enabling JSONreader to skip plots and missing scores gracefully
969ac63
required reformatting
9e009cd
move skipping of metrics to the reader class
f7fd406
slighly more explicit formulations
aca608a
Merge branch 'develop' into json_reader
s6sebusc 2c88a5e
Merge remote-tracking branch 'upstream/develop' into json_reader
19b51c6
first attempt passing parameters to individual metrics
5827a23
Merge branch 'develop' into metric_parameters
s6sebusc f221261
merged parameters into the metrics entry of the config
35893d6
Merge branch 'develop' into metric_parameters
s6sebusc 2308c0c
updated type hints, trying to restore plot_maps
305dde5
Merge branch 'develop' into metric_parameters
s6sebusc ee8bcc6
Merge branch 'develop' into metric_parameters
s6sebusc 91c9489
restored mergereader, bugfixes, lintig
45414e3
Merge branch 'develop' into metric_parameters
s6sebusc 23d053b
Merge branch 'develop' into metric_parameters
iluise 894239e
metric_list_to_json style change, restored line plots
aed3c2a
Merge branch 'develop' into metric_parameters
iluise 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
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
these lines can be maybe refactored a bit for readability?
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.
yea that looks better, I made two small changes to your suggestion:
metric_data_dict = metric_data.to_dict()instead.scores = [data_dict]; data_dict = {"scores": scores}looks suspicious, like it might create infinite recursion (it doesn't really but I think it looks weird) so I slightly rephrased that.