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

Adding back the definition of self.wl to passband load() function #914

Merged
merged 1 commit into from
Jun 27, 2024

Conversation

Raindogjones
Copy link
Contributor

At some point (I haven't managed to track down when), the definition of self.wl disappeared from the passband load() function. This means that already created passbands cannot be built upon and needed to be initialised from scratch, i.e.

pb=phoebe.get_passband("Johnson:V")
pb.compute_blackbody_response()

will fail, even though the passband includes all the required information to recalculate the blackbody response.

Added back the definition of wl to passband load() function
@Raindogjones Raindogjones requested review from kecnry and aprsa June 27, 2024 14:09
@kecnry
Copy link
Member

kecnry commented Jun 27, 2024

What version/branch of phoebe does this affect (so we can update the merge target to match)?

@Raindogjones
Copy link
Contributor Author

It affects the release branch, looks like it might go all the way back to the 2.2.0 release!

@kecnry kecnry changed the base branch from master to bugfix-2.4.15 June 27, 2024 15:52
@kecnry
Copy link
Member

kecnry commented Jun 27, 2024

Ok, I retargeted to the bugfix branch. Can you write a snippet of how you think this should be listed in the changelog for the next bugfix release? Once 2.4.15 is released, I'll then propagate this through to all other branches.

@Raindogjones
Copy link
Contributor Author

"Fixed population of wavelength array in load function for passbands"?

@kecnry kecnry merged commit 2d6d9a7 into phoebe-project:bugfix-2.4.15 Jun 27, 2024
15 checks passed
@kecnry kecnry mentioned this pull request Oct 3, 2024
kecnry added a commit that referenced this pull request Oct 3, 2024
* Fix handling of include_times for RVs with compute_times/phases. [#889]
* GPs on models computed in phase-space will be properly computed based on residuals in time space. [#899]
* Fix units of requivfrac. [#894]
* Fix adopting mask_phases from lc_geometry. [#896]
* Fix population of wavelength array in load function for passbands. [#914]
* Temporarily cap numpy dependency < 2.0. [#930]
* Fix installation of phoebe-server CLI script to launch from UI. [#929]
* Fix passing compute to export_solver with features attached. [#922]
* sigmas_lnf: change handling of noise-nuissance parameter for RVs to no longer depend on the RV amplitude. [#901]
* Remove duplicated phoebe-server code. [#940]
* Fix python 3.12+ support by updating invalid escape sequences. [#948]
* Improved precision in calculation of constraints. [#945]

---------

Co-authored-by: Kelly Hambleton (Prsa) <kmhambleton@gmail.com>
Co-authored-by: David Jones <Raindogjones@users.noreply.github.com>
Co-authored-by: Andrej Prsa <aprsa@villanova.edu>
Co-authored-by: Matthias Fabry <matthias.fabry@villanova.edu>
Co-authored-by: Matthias Fabry <matthias.fabry@kuleuven.be>
Co-authored-by: Miroslav Broz <miroslav.broz@email.cz>
aprsa added a commit that referenced this pull request Oct 8, 2024
commit 34281b8
Merge: 1584f6c 22fa0db
Author: Kyle Conroy <kyleconroy@gmail.com>
Date:   Mon Oct 7 15:16:16 2024 -0400

    Merge 2.4.15 into release-2.5

commit 22fa0db
Author: Kyle Conroy <kyleconroy@gmail.com>
Date:   Mon Oct 7 11:20:56 2024 -0400

    modified publish workflow (#952)

    * modified publish workflow using same as https://github.com/aprsa/ndpolator/blob/main/.github/workflows/on_release.yaml
    * address build wheel warnings
    * bump ubuntu runner to 24.04
    * upgrade cibuildwheel
    * skip failing builds

commit fbde243
Author: Kyle Conroy <kyleconroy@gmail.com>
Date:   Thu Oct 3 15:48:13 2024 -0400

    2.4.15 bugfix release (#907)

    * Fix handling of include_times for RVs with compute_times/phases. [#889]
    * GPs on models computed in phase-space will be properly computed based on residuals in time space. [#899]
    * Fix units of requivfrac. [#894]
    * Fix adopting mask_phases from lc_geometry. [#896]
    * Fix population of wavelength array in load function for passbands. [#914]
    * Temporarily cap numpy dependency < 2.0. [#930]
    * Fix installation of phoebe-server CLI script to launch from UI. [#929]
    * Fix passing compute to export_solver with features attached. [#922]
    * sigmas_lnf: change handling of noise-nuissance parameter for RVs to no longer depend on the RV amplitude. [#901]
    * Remove duplicated phoebe-server code. [#940]
    * Fix python 3.12+ support by updating invalid escape sequences. [#948]
    * Improved precision in calculation of constraints. [#945]

    ---------

    Co-authored-by: Kelly Hambleton (Prsa) <kmhambleton@gmail.com>
    Co-authored-by: David Jones <Raindogjones@users.noreply.github.com>
    Co-authored-by: Andrej Prsa <aprsa@villanova.edu>
    Co-authored-by: Matthias Fabry <matthias.fabry@villanova.edu>
    Co-authored-by: Matthias Fabry <matthias.fabry@kuleuven.be>
    Co-authored-by: Miroslav Broz <miroslav.broz@email.cz>

commit bf850e1
Author: Kyle Conroy <kyleconroy@gmail.com>
Date:   Thu Oct 3 11:02:38 2024 -0400

    release GH actions workflow (#949)
@Raindogjones Raindogjones deleted the pbloadfix branch October 30, 2024 03:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants