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

JP-2108 Asn_Lv2NRSLAMPSpectral: Allow msaspec only if msametfl is available. #6085

Merged
merged 3 commits into from
May 28, 2021

Conversation

stscieisenhamer
Copy link
Collaborator

@stscieisenhamer stscieisenhamer commented May 27, 2021

Closes #6084
Resolves JP-2108

Checklist

  • Tests
  • Documentation
  • Change log
  • Milestone
  • Label(s)

@stscieisenhamer stscieisenhamer added bug associations sdp Bugs arising due to SDP testing labels May 27, 2021
@stscieisenhamer stscieisenhamer self-assigned this May 27, 2021
[
Constraint(
[DMSAttrConstraint(
name='opmode',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So to put this logic in simple terms, this rule passes if either: the OPMODE is not MSASPEC - or - OPMODE is MSASPEC and MSAMETFL is present?

@hbushouse hbushouse added this to the Build 7.8 milestone May 27, 2021
Copy link
Collaborator

@hbushouse hbushouse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the logic looks correct. I guess if it produces the desired result it must be correct.

Requisite reminder for a change log entry ...

@codecov
Copy link

codecov bot commented May 27, 2021

Codecov Report

Merging #6085 (faec950) into master (20d5bbb) will increase coverage by 0.06%.
The diff coverage is 80.00%.

❗ Current head faec950 differs from pull request most recent head 66aa565. Consider uploading reports for the commit 66aa565 to get more accurate results
Impacted file tree graph

@@            Coverage Diff             @@
##           master    #6085      +/-   ##
==========================================
+ Coverage   77.13%   77.19%   +0.06%     
==========================================
  Files         402      402              
  Lines       34329    34523     +194     
==========================================
+ Hits        26479    26650     +171     
- Misses       7850     7873      +23     
Flag Coverage Δ *Carryforward flag
nightly 77.13% <80.00%> (-0.01%) ⬇️ Carriedforward from 6ab7520
unit 55.19% <75.00%> (+0.01%) ⬆️

*This pull request uses carry forward flags. Click here to find out more.

Impacted Files Coverage Δ
jwst/associations/lib/rules_level2b.py 94.25% <ø> (-2.46%) ⬇️
jwst/lib/set_telescope_pointing.py 89.49% <66.66%> (ø)
jwst/combine_1d/combine1d.py 89.46% <100.00%> (-0.33%) ⬇️
jwst/regtest/regtestdata.py 84.75% <0.00%> (-0.45%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f934522...66aa565. Read the comment docs.

@stscieisenhamer stscieisenhamer requested a review from hbushouse May 28, 2021 00:45
@hbushouse hbushouse merged commit 891449b into spacetelescope:master May 28, 2021
AntoineDarveau pushed a commit to talensgj/jwst that referenced this pull request Oct 26, 2021
…ilable. (spacetelescope#6085)

* Asn_Lv2NRSLAMPSpectral: Allow msaspec only if msametfl is available.

* update changelog

* update changelog again [skip ci]
loicalbert pushed a commit to talensgj/jwst that referenced this pull request Nov 5, 2021
…ilable. (spacetelescope#6085)

* Asn_Lv2NRSLAMPSpectral: Allow msaspec only if msametfl is available.

* update changelog

* update changelog again [skip ci]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
associations bug sdp Bugs arising due to SDP testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NRS_LAMP and no MSA metafile should not make Level 2b associations
3 participants