Skip to content

Commit

Permalink
feat(junc_image_req_ldst.py): Added LDST evaluation columns to this a…
Browse files Browse the repository at this point in the history
…ssociation table, and removed the old ldst_verification.py table.
  • Loading branch information
rbeyer committed Oct 15, 2023
1 parent dae520d commit 21730a1
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 82 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ Changed
^^^^^^^
- The light_records.py table now just records state changes (from 'on' to 'off' or
vice-versa).
- junc_image_req_ldst.py got some additional columns to manage the Science Team
evaluation of images acquired from Image Requests.

Added
^^^^^
Expand All @@ -42,6 +44,11 @@ Added
- pano_records table now has azimuth and elevation angle min/max values to indicate
angular range of panorama coverage.

Removed
^^^^^^^
- ldst_verification.py because the evaluation activity reflected here was on a per-image
basis, but it has been revised to be on a per-Image-Request basis.

0.6.1 (2023-09-25)
------------------

Expand Down
2 changes: 0 additions & 2 deletions src/vipersci/vis/db/create_vis_dbs.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
from vipersci.vis.db.junc_image_record_tags import JuncImageRecordTag
from vipersci.vis.db.junc_image_req_ldst import JuncImageRequestLDST
from vipersci.vis.db.ldst import LDST
from vipersci.vis.db.ldst_verification import LDSTVerification
from vipersci.vis.db.light_records import LightRecord
from vipersci.vis.db.pano_records import PanoRecord

Expand All @@ -61,7 +60,6 @@
JuncImageRecordTag,
JuncImageRequestLDST,
LDST,
LDSTVerification,
LightRecord,
PanoRecord,
)
Expand Down
19 changes: 19 additions & 0 deletions src/vipersci/vis/db/junc_image_req_ldst.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,25 @@ class JuncImageRequestLDST(Base):
doc="If true, indicates that this ImageRequest is critical for this LDST "
"hypothesis.",
)
evaluation = mapped_column(
Boolean,
nullable=True,
doc="True if a Scientist has indicated that the acquired images for the "
"indicated ImageRequest supports the LDST Hypothesis. If false, a Scientist "
"has determined that the images do not support the LDST Hypothesis.",
)
evaluation_notes = mapped_column(
String,
nullable=True,
doc="Any notes about the evaluation of the ImageRequest's images against the "
"LDST hypothesis.",
)
evaluator = mapped_column(
String,
nullable=True,
doc="The name of the individual that reviewed the acquired images against the "
"LDST hypothesis.",
)

image_request = relationship("ImageRequest", back_populates="ldst_associations")
ldst = relationship("LDST", back_populates="image_request_associations")
80 changes: 0 additions & 80 deletions src/vipersci/vis/db/ldst_verification.py

This file was deleted.

0 comments on commit 21730a1

Please sign in to comment.