-
Notifications
You must be signed in to change notification settings - Fork 14
Fixing Infer Radius Method #153
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
Open
SherelynA
wants to merge
23
commits into
BDNYC:main
Choose a base branch
from
SherelynA:infer_radius_fix
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 4 commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
fd84030
Currently, the checking infer_from loop is not properly preferring th…
SherelynA 6911257
outline of a test
kelle 7bd4dec
Changed rounding in the dwarf sequence relations because if not it wo…
SherelynA 73f3651
Tried calling two different fixtures, one where we use substellar uni…
SherelynA cb31395
remove radius tests from just_spectrum
kelle c91504b
add results to paramaterization
kelle 4a3e2a3
Merge pull request #1 from kelle/radius-fix-kelle
SherelynA 61940e2
Tests work now, but when I run the final test_radius on my console, e…
SherelynA 82b77cb
getting rid of the radius rounding in the relations.py.
SherelynA 82cffb4
Update tests/test_fundamental_params.py
SherelynA 5c99a21
Merge remote-tracking branch 'origin/infer_radius_fix' into infer_rad…
SherelynA 85d7b08
gettind rid of rounding for the values
SherelynA 5aaf638
cleaning code up from print statements used during testing. Added dif…
SherelynA c0a893d
I changed the formation of the evaluate funciton in relations.py to u…
SherelynA 3f14fc5
Adding age distribution as a static paramter that can be passed to th…
SherelynA a2e9581
Adding the age distribution paramter in the instances of evaluation t…
SherelynA b0daa0d
Taking into account the type of distribution for the age in the evalu…
SherelynA 7787109
tweaking some portion of the age distribution setter
SherelynA db0b058
got rid of the float in the formatting because it was adding a traili…
SherelynA 790ba97
Fixing spacing in the new code for a normal distribution.
SherelynA 6090e9f
Add code which checks for the age distribution when it calculates the…
SherelynA 34c6ac5
getting rid of random print statements
SherelynA 2c32741
changing the test to have a larger age range and adjusting assert sta…
SherelynA 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 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.
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.
I don't think you should round these values. instead, I think you should consider using %g formatting when displaying it to the user.
Check out the examples here: https://stackoverflow.com/a/3411731/4842634