Skip to content

Version 2.3#774

Draft
astroJeff wants to merge 332 commits intomainfrom
v2.3
Draft

Version 2.3#774
astroJeff wants to merge 332 commits intomainfrom
v2.3

Conversation

@astroJeff
Copy link
Copy Markdown
Contributor

Incrementing to version 2.3

@astroJeff astroJeff marked this pull request as draft December 11, 2025 19:03
elizabethteng and others added 29 commits March 9, 2026 16:52
Removed signal alarm handling in exception block.
Updated the script to log output and check for errors.
Updated script to accept branch and suffix as arguments, streamlined output file naming.
sgossage and others added 30 commits March 31, 2026 10:56
Co-authored-by: Seth Gossage <sethg45@gmail.com>
Refactor ini content creation using dedent for better readability.
Co-authored-by: Seth Gossage <sethg45@gmail.com>
Co-authored-by: Seth Gossage <sethg45@gmail.com>
Co-authored-by: Seth Gossage <sethg45@gmail.com>
Co-authored-by: Seth Gossage <sethg45@gmail.com>
Remove print statement for metallicity in simulation properties.
[fix/docs] `stepCEE` docstring change
[enhancement] Add basic info on `model_weight` units
Validate test binaries upon code changes
[v2.3] New grid paths section for `.ini` file
* add test for grid_path

* add symlink for ubuntu tests

* remove additional file but add followlinks=False explicitly

* remove followlinks=False and try additional files

* readd internal symlinks

* sym link

* add extra test file

* revert 201->204 tests 'test'

* different file check

* try followlinks=True

* skip islink in test coverage

* claude opus suggestion?

* Remove monkeypatch in func call
* Remove duplicated utility functions, consolidate in common_functions (fixes #442)

The three functions in posydon/utils/gridutils.py that duplicated logic
already present in posydon/utils/common_functions.py have been refactored:

- kepler3_a(P, m1, m2)   -> delegates to orbital_separation_from_period
- T_merger_a(a, m1, m2)  -> delegates to inspiral_timescale_from_separation
                             (eccentricity=0, converts Myr->Gyr)
- T_merger_P(P, m1, m2)  -> delegates to inspiral_timescale_from_orbital_period
                             (eccentricity=0, converts Myr->Gyr)

* Remove deprecated functions from gridutils, move beta_gw to common_functions

- Remove kepler3_a, T_merger_P, T_merger_a entirely from gridutils.py;
  their canonical counterparts in common_functions.py are now the only
  implementations.
- Move beta_gw from gridutils.py into common_functions.py so all GW
  inspiral helpers live in one place.
- Replace the internal T_merger_P call in convert_output_to_table with
  a direct call to inspiral_timescale_from_orbital_period.
- Drop now-unused constant imports from gridutils.py (Msun, Rsun,
  clight, cgrav, secyear).
- Update test_gridutils.py: remove elements and tests for the four
  deleted functions.
- Update test_common_functions.py: add beta_gw to the elements set and
  add test_instance_beta_gw + test_beta_gw.
* add to_df method for LazyHDF5

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* remove test coverage from to_df()

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
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.

4 participants