wintertoo 1.6.0__tar.gz → 1.6.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of wintertoo might be problematic. Click here for more details.

Files changed (38) hide show
  1. {wintertoo-1.6.0 → wintertoo-1.6.1}/PKG-INFO +1 -1
  2. {wintertoo-1.6.0 → wintertoo-1.6.1}/pyproject.toml +1 -1
  3. {wintertoo-1.6.0 → wintertoo-1.6.1}/tests/test_schedule.py +9 -1
  4. wintertoo-1.6.1/tests/testdata/test_schedule.json +1 -0
  5. {wintertoo-1.6.0 → wintertoo-1.6.1}/wintertoo/data/observing_request_schema.json +1 -1
  6. {wintertoo-1.6.0 → wintertoo-1.6.1}/wintertoo/models/too.py +1 -2
  7. {wintertoo-1.6.0 → wintertoo-1.6.1}/wintertoo.egg-info/PKG-INFO +1 -1
  8. wintertoo-1.6.0/tests/testdata/test_schedule.json +0 -1
  9. {wintertoo-1.6.0 → wintertoo-1.6.1}/.github/dependabot.yml +0 -0
  10. {wintertoo-1.6.0 → wintertoo-1.6.1}/.github/workflows/automerge.yml +0 -0
  11. {wintertoo-1.6.0 → wintertoo-1.6.1}/.github/workflows/black.yml +0 -0
  12. {wintertoo-1.6.0 → wintertoo-1.6.1}/.github/workflows/continuous_integration.yml +0 -0
  13. {wintertoo-1.6.0 → wintertoo-1.6.1}/.github/workflows/isort.yml +0 -0
  14. {wintertoo-1.6.0 → wintertoo-1.6.1}/.github/workflows/pylint.yml +0 -0
  15. {wintertoo-1.6.0 → wintertoo-1.6.1}/.gitignore +0 -0
  16. {wintertoo-1.6.0 → wintertoo-1.6.1}/.pre-commit-config.yaml +0 -0
  17. {wintertoo-1.6.0 → wintertoo-1.6.1}/LICENSE +0 -0
  18. {wintertoo-1.6.0 → wintertoo-1.6.1}/README.md +0 -0
  19. {wintertoo-1.6.0 → wintertoo-1.6.1}/setup.cfg +0 -0
  20. {wintertoo-1.6.0 → wintertoo-1.6.1}/tests/test_fields.py +0 -0
  21. {wintertoo-1.6.0 → wintertoo-1.6.1}/wintertoo/__init__.py +0 -0
  22. {wintertoo-1.6.0 → wintertoo-1.6.1}/wintertoo/data/__init__.py +0 -0
  23. {wintertoo-1.6.0 → wintertoo-1.6.1}/wintertoo/data/summer_fields.txt +0 -0
  24. {wintertoo-1.6.0 → wintertoo-1.6.1}/wintertoo/data/winter_fields.txt +0 -0
  25. {wintertoo-1.6.0 → wintertoo-1.6.1}/wintertoo/database.py +0 -0
  26. {wintertoo-1.6.0 → wintertoo-1.6.1}/wintertoo/errors.py +0 -0
  27. {wintertoo-1.6.0 → wintertoo-1.6.1}/wintertoo/fields.py +0 -0
  28. {wintertoo-1.6.0 → wintertoo-1.6.1}/wintertoo/models/__init__.py +0 -0
  29. {wintertoo-1.6.0 → wintertoo-1.6.1}/wintertoo/models/image.py +0 -0
  30. {wintertoo-1.6.0 → wintertoo-1.6.1}/wintertoo/models/program.py +0 -0
  31. {wintertoo-1.6.0 → wintertoo-1.6.1}/wintertoo/schedule.py +0 -0
  32. {wintertoo-1.6.0 → wintertoo-1.6.1}/wintertoo/submit.py +0 -0
  33. {wintertoo-1.6.0 → wintertoo-1.6.1}/wintertoo/utils.py +0 -0
  34. {wintertoo-1.6.0 → wintertoo-1.6.1}/wintertoo/validate.py +0 -0
  35. {wintertoo-1.6.0 → wintertoo-1.6.1}/wintertoo.egg-info/SOURCES.txt +0 -0
  36. {wintertoo-1.6.0 → wintertoo-1.6.1}/wintertoo.egg-info/dependency_links.txt +0 -0
  37. {wintertoo-1.6.0 → wintertoo-1.6.1}/wintertoo.egg-info/requires.txt +0 -0
  38. {wintertoo-1.6.0 → wintertoo-1.6.1}/wintertoo.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: wintertoo
3
- Version: 1.6.0
3
+ Version: 1.6.1
4
4
  Author-email: Robert Stein <rdstein@caltech.edu>, Danielle Frostig <frostig@mit.edu>, Viraj Karambelkar <viraj@astro.caltech.edu>
5
5
  License: MIT
6
6
  Project-URL: homepage, https://github.com/winter-telescope/wintertoo
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "wintertoo"
7
- version = "1.6.0"
7
+ version = "1.6.1"
8
8
  description = ""
9
9
  authors = [
10
10
  {name = "Robert Stein", email = "rdstein@caltech.edu"},
@@ -63,6 +63,7 @@ class TestSchedule(unittest.TestCase):
63
63
  dec_deg=11.253441,
64
64
  start_time_mjd=62721.1894969287,
65
65
  end_time_mjd=62722.1894969452,
66
+ target_name="test_radec",
66
67
  ),
67
68
  program=program,
68
69
  )
@@ -81,6 +82,7 @@ class TestSchedule(unittest.TestCase):
81
82
  dec_deg=11.253441,
82
83
  total_exposure_time=100.0,
83
84
  n_dither=1,
85
+ target_name="test_radec",
84
86
  ),
85
87
  program=program,
86
88
  )
@@ -100,6 +102,7 @@ class TestSchedule(unittest.TestCase):
100
102
 
101
103
  field_too = SummerFieldToO(
102
104
  field_id=1,
105
+ target_name="test_field",
103
106
  )
104
107
 
105
108
  schedule_field(
@@ -109,6 +112,11 @@ class TestSchedule(unittest.TestCase):
109
112
  )
110
113
 
111
114
  concat_toos(
112
- [field_too, SummerRaDecToO(ra_deg=173.7056754, dec_deg=11.253441)],
115
+ [
116
+ field_too,
117
+ SummerRaDecToO(
118
+ ra_deg=173.7056754, dec_deg=11.253441, target_name="test_radec"
119
+ ),
120
+ ],
113
121
  program=program,
114
122
  )
@@ -0,0 +1 @@
1
+ {"targName":{"0":"test_radec","1":"test_radec","2":"test_radec","3":"test_radec"},"raDeg":{"0":173.7056754,"1":173.7056754,"2":173.7056754,"3":173.7056754},"decDeg":{"0":11.253441,"1":11.253441,"2":11.253441,"3":11.253441},"fieldID":{"0":999999999,"1":999999999,"2":999999999,"3":999999999},"filter":{"0":"u","1":"g","2":"r","3":"i"},"visitExpTime":{"0":960.0,"1":960.0,"2":960.0,"3":960.0},"singleExpTime":{"0":120.0,"1":120.0,"2":120.0,"3":120.0},"priority":{"0":50.0,"1":50.0,"2":50.0,"3":50.0},"progPI":{"0":"Stein","1":"Stein","2":"Stein","3":"Stein"},"progName":{"0":"2021A000","1":"2021A000","2":"2021A000","3":"2021A000"},"progID":{"0":1,"1":1,"2":1,"3":1},"validStart":{"0":62721.1894969287,"1":62721.1894969287,"2":62721.1894969287,"3":62721.1894969287},"validStop":{"0":62722.1894969452,"1":62722.1894969452,"2":62722.1894969452,"3":62722.1894969452},"observed":{"0":false,"1":false,"2":false,"3":false},"maxAirmass":{"0":2.0,"1":2.0,"2":2.0,"3":2.0},"ditherNumber":{"0":8,"1":8,"2":8,"3":8},"ditherStepSize":{"0":90.0,"1":90.0,"2":90.0,"3":90.0},"bestDetector":{"0":true,"1":true,"2":true,"3":true},"obsHistID":{"0":0,"1":1,"2":2,"3":3}}
@@ -17,7 +17,7 @@
17
17
  "ditherNumber": {"type": "integer", "default": 8},
18
18
  "ditherStepSize": {"type": "number", "comment": "arcsec", "default": 90.0},
19
19
  "fieldID": {"type": "integer", "default": 999999999},
20
- "targName": {"type": ["string", "null"], "comment": "Target name e.g. GW170817", "default": null},
20
+ "targName": {"type": ["string"], "comment": "Target name e.g. GW170817"},
21
21
  "bestDetector": {"type": "boolean", "comment": "Center Ra/Dec of target on best detector", "default": true}
22
22
  },
23
23
  "required": [
@@ -39,12 +39,11 @@ class ToORequest(BaseModel):
39
39
  title="Priority for target",
40
40
  ge=0.0,
41
41
  )
42
- target_name: Optional[str] = Field(
42
+ target_name: str = Field(
43
43
  title="Name of the target",
44
44
  min_length=1,
45
45
  max_length=MAX_TARGNAME_LEN,
46
46
  examples=["SN2021abc", "ZTF19aapreis"],
47
- default=get_default_value("targName"),
48
47
  )
49
48
  total_exposure_time: float = Field(
50
49
  default=get_default_value("visitExpTime"),
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: wintertoo
3
- Version: 1.6.0
3
+ Version: 1.6.1
4
4
  Author-email: Robert Stein <rdstein@caltech.edu>, Danielle Frostig <frostig@mit.edu>, Viraj Karambelkar <viraj@astro.caltech.edu>
5
5
  License: MIT
6
6
  Project-URL: homepage, https://github.com/winter-telescope/wintertoo
@@ -1 +0,0 @@
1
- {"targName":{"0":null,"1":null,"2":null,"3":null},"raDeg":{"0":173.7056754,"1":173.7056754,"2":173.7056754,"3":173.7056754},"decDeg":{"0":11.253441,"1":11.253441,"2":11.253441,"3":11.253441},"fieldID":{"0":999999999,"1":999999999,"2":999999999,"3":999999999},"filter":{"0":"u","1":"g","2":"r","3":"i"},"visitExpTime":{"0":960.0,"1":960.0,"2":960.0,"3":960.0},"singleExpTime":{"0":120.0,"1":120.0,"2":120.0,"3":120.0},"priority":{"0":50.0,"1":50.0,"2":50.0,"3":50.0},"progPI":{"0":"Stein","1":"Stein","2":"Stein","3":"Stein"},"progName":{"0":"2021A000","1":"2021A000","2":"2021A000","3":"2021A000"},"progID":{"0":1,"1":1,"2":1,"3":1},"validStart":{"0":62721.1894969287,"1":62721.1894969287,"2":62721.1894969287,"3":62721.1894969287},"validStop":{"0":62722.1894969452,"1":62722.1894969452,"2":62722.1894969452,"3":62722.1894969452},"observed":{"0":false,"1":false,"2":false,"3":false},"maxAirmass":{"0":2.0,"1":2.0,"2":2.0,"3":2.0},"ditherNumber":{"0":8,"1":8,"2":8,"3":8},"ditherStepSize":{"0":90.0,"1":90.0,"2":90.0,"3":90.0},"bestDetector":{"0":true,"1":true,"2":true,"3":true},"obsHistID":{"0":0,"1":1,"2":2,"3":3}}
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes