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-2104: Do not consider GROUP candidates for WFS&C observations #6131

Merged

Conversation

tapastro
Copy link
Contributor

@tapastro tapastro commented Jun 8, 2021

Closes #6075

Resolves JP-2104

Description

This PR adds an extra validation check for Lv3_WFSCMB to ensure that the association id type is not 'group'.

Checklist

  • Tests

  • Documentation

  • Change log

  • Milestone

  • Label(s)

@tapastro tapastro added this to the Build 7.8 milestone Jun 8, 2021
@tapastro tapastro requested a review from stscieisenhamer June 8, 2021 17:54
@tapastro
Copy link
Contributor Author

tapastro commented Jun 8, 2021

@stscieisenhamer Not entirely clear to me why 'member' is a required argument to a validity update, but it seems to force 2 arguments into the function so I need to allow for it. Otherwise working as intended?

@codecov
Copy link

codecov bot commented Jun 8, 2021

Codecov Report

Merging #6131 (c2b6e83) into master (46dc881) will increase coverage by 0.01%.
The diff coverage is 90.90%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #6131      +/-   ##
==========================================
+ Coverage   77.11%   77.12%   +0.01%     
==========================================
  Files         402      402              
  Lines       34661    34681      +20     
==========================================
+ Hits        26730    26749      +19     
- Misses       7931     7932       +1     
Flag Coverage Δ *Carryforward flag
nightly 77.01% <100.00%> (ø) Carriedforward from 83885ee
unit 55.21% <85.71%> (+<0.01%) ⬆️

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

Impacted Files Coverage Δ
jwst/associations/lib/rules_level3.py 98.72% <85.71%> (-0.55%) ⬇️
jwst/datamodels/util.py 86.29% <100.00%> (ø)

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 e58967b...c2b6e83. Read the comment docs.

@stscieisenhamer
Copy link
Collaborator

The validation bit has some tech-debt in there which needs refactor at some point in the distant future. Will review momentarily.

@hbushouse hbushouse modified the milestones: Build 7.8, Build 7.9 Jun 11, 2021
@tapastro tapastro merged commit 9d34aa4 into spacetelescope:master Jun 11, 2021
@tapastro tapastro deleted the jp-2104-no-group-candidates-wfsc branch June 11, 2021 17:06
@hbushouse hbushouse modified the milestones: Build 7.9, Build 7.8.1 Jul 23, 2021
nden pushed a commit that referenced this pull request Jul 27, 2021
* add validation check on acid type = group

* changelog and restart CI - codecov bug?

* add validation check on acid type = group

* changelog and restart CI - codecov bug?

* [skip ci] update changelog to 1.2.3 header

(cherry picked from commit 9d34aa4)
loicalbert pushed a commit to talensgj/jwst that referenced this pull request Nov 5, 2021
…cetelescope#6131)

* add validation check on acid type = group

* changelog and restart CI - codecov bug?

* add validation check on acid type = group

* changelog and restart CI - codecov bug?

* [skip ci] update changelog to 1.2.3 header
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Do not consider GROUP candidates for WFS&C observations
3 participants