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

Smarter SigmaMap handling and needed_parameters #116

Merged
merged 13 commits into from
Nov 11, 2023
Merged

Smarter SigmaMap handling and needed_parameters #116

merged 13 commits into from
Nov 11, 2023

Conversation

zihaoxu98
Copy link
Collaborator

@zihaoxu98 zihaoxu98 commented Nov 3, 2023

This PR modifies the logic of SigmaMap. Now the value of it can be

  1. "file_name". Then no scale factor is needed.
  2. ["median_file_name", "upper_file_name", "lower_file_name"]. The scale factor is needed in parameters, with "_sigma" suffix as before.
  3. ["median_file_name", "upper_file_name", "lower_file_name", "scaler_name"]

needed_parameters in component is also refined. Removed unnecessary parameters.

@coveralls
Copy link

coveralls commented Nov 3, 2023

Pull Request Test Coverage Report for Build 6832000030

  • 41 of 49 (83.67%) changed or added relevant lines in 3 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.1%) to 83.674%

Changes Missing Coverage Covered Lines Changed/Added Lines %
appletree/component.py 8 9 88.89%
appletree/config.py 30 37 81.08%
Totals Coverage Status
Change from base Build 6038991167: -0.1%
Covered Lines: 1922
Relevant Lines: 2297

💛 - Coveralls

@zihaoxu98 zihaoxu98 changed the title Fix config Smarter SigmaMap handling and needed_parameters Nov 3, 2023
@zihaoxu98 zihaoxu98 marked this pull request as ready for review November 3, 2023 19:47
@zihaoxu98
Copy link
Collaborator Author

Any idea why the doc fails? :) @dachengx

appletree/config.py Outdated Show resolved Hide resolved
appletree/config.py Outdated Show resolved Hide resolved
@dachengx dachengx merged commit 3ac9739 into master Nov 11, 2023
7 checks passed
@dachengx dachengx deleted the fix_config branch November 11, 2023 04:13
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

3 participants