Skip to content

Commit

Permalink
Add disabled to confSummary
Browse files Browse the repository at this point in the history
  • Loading branch information
albireox committed Feb 11, 2025
1 parent 1db5cce commit 291cad2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
### ✨ Improved

* [#210](https://github.com/sdss/jaeger/pull/210) Move the default values for `offset_min_skybrightness` and `safety_factor` to the configuration file. The default values are now `offset_min_skybrightness=0` and `safety_factor=None`.
* Add field `disabled` to the summary file for robots that are disabled or offline.

### 🔧 Fixed

Expand Down
1 change: 1 addition & 0 deletions src/jaeger/target/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -880,6 +880,7 @@ def write_summary(
"valid": int(row_data["valid"]),
"too": int(row_data["too"]),
"on_target": int(row_data["on_target"]),
"disabled": int(row_data["disabled"] or row_data["offline"]),
"xwok": row_data["xwok"],
"ywok": row_data["ywok"],
"zwok": row_data["zwok"],
Expand Down
1 change: 1 addition & 0 deletions src/jaeger/target/schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
("fiberType", "U10", ""),
("assigned", numpy.int16, 0),
("on_target", numpy.int16, 0),
("disabled", numpy.int16, 0),
("valid", numpy.int16, 0),
("decollided", numpy.int16, 0),
("too", numpy.int16, 0),
Expand Down

0 comments on commit 291cad2

Please sign in to comment.