sparclclient 1.2.6b9__py2.py3-none-any.whl → 1.2.6b10__py2.py3-none-any.whl

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.
sparcl/__init__.py CHANGED
@@ -35,4 +35,4 @@ __all__ = ["client", "align_records"]
35
35
  #__version__ = "1.2.3"
36
36
  #__version__ = "1.2.4"
37
37
  #__version__ = "1.2.5"
38
- __version__ = "1.2.6b9"
38
+ __version__ = "1.2.6b10"
sparcl/client.py CHANGED
@@ -215,7 +215,9 @@ class SparclClient: # was SparclApi()
215
215
  if announcement:
216
216
  ann = f"{self.apiurl}/announcement/"
217
217
  annres = requests.get(ann, timeout=self.timeout)
218
- print(f"announcement={annres.json()['announcement']}")
218
+ annstr = annres.json()['announcement']
219
+ if annstr is not None:
220
+ print(f"announcement={annstr}")
219
221
 
220
222
  # Get API Version
221
223
  try:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: sparclclient
3
- Version: 1.2.6b9
3
+ Version: 1.2.6b10
4
4
  Summary: A client for getting spectra and meta-data from NOIRLab.
5
5
  Author-email: "S. Pothier" <datalab-spectro@noirlab.edu>
6
6
  Description-Content-Type: text/markdown
@@ -1,6 +1,6 @@
1
1
  sparcl/Results.py,sha256=vnACjm8sp7MrsJ_5LTuKMuyRWqeBJxOxQM302cHmAlk,9159
2
- sparcl/__init__.py,sha256=qwzpJez4IX6-qb0XXB3Fnes-I2mmTsYA3JL9eDktTzM,1124
3
- sparcl/client.py,sha256=gj-doLuA2ePu2fjtQEcjzkZViwQ3abeH1PoaWr-R8PE,39081
2
+ sparcl/__init__.py,sha256=4x2nMK-niyINm-hOrjgvmRH4yLW-hhlzDnCMm_VQ-ug,1125
3
+ sparcl/client.py,sha256=9N9yIZJyXzxw7PsrCMadHA4uji3e2UQsqfSd6f_vi-E,39148
4
4
  sparcl/conf.py,sha256=GFNDelaiVIAkjNjvFlG7HAlPpU39nqZmTPohQGmOcgI,928
5
5
  sparcl/exceptions.py,sha256=sznmOMGENHvxutSXlRVWqi87bR2Qiebka7LyR3mAII0,4244
6
6
  sparcl/fields.py,sha256=NZUBqDidpbXfeX5F4b306F323xZY2CRIx8eVv-HWTVU,5127
@@ -15,7 +15,7 @@ sparcl/benchmarks/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU
15
15
  sparcl/benchmarks/benchmarks.py,sha256=OmlSdnAPLmcvGXsr-HzGyfAAcnoqlO0JQ4EIA7JGhZc,9424
16
16
  sparcl/benchmarks/sparcl_benchmarking.ipynb,sha256=gwof2hqM9Qb49qzRX-mky7WNqXZCMSB7ry8bX8dImxc,17559
17
17
  sparcl/notebooks/sparcl-examples.ipynb,sha256=gEwMKI1x7A1YsVeCsQn1QoMO0ZuIhMUAu3qedTiQ7hM,169268
18
- sparclclient-1.2.6b9.dist-info/LICENSE,sha256=y10EluGMCzGs9X4oYCYyix3l6u-lawB_vlGR8qe442Q,1576
19
- sparclclient-1.2.6b9.dist-info/WHEEL,sha256=ssQ84EZ5gH1pCOujd3iW7HClo_O_aDaClUbX4B8bjKY,100
20
- sparclclient-1.2.6b9.dist-info/METADATA,sha256=fuVyd1qqiNrqxJVD47Im5hT_t0PY1n6RsP0gAsC_8Rc,680
21
- sparclclient-1.2.6b9.dist-info/RECORD,,
18
+ sparclclient-1.2.6b10.dist-info/LICENSE,sha256=y10EluGMCzGs9X4oYCYyix3l6u-lawB_vlGR8qe442Q,1576
19
+ sparclclient-1.2.6b10.dist-info/WHEEL,sha256=ssQ84EZ5gH1pCOujd3iW7HClo_O_aDaClUbX4B8bjKY,100
20
+ sparclclient-1.2.6b10.dist-info/METADATA,sha256=3VS2-bkA2tSacKQ3eHpT920gnkkyFigW7ol56Ll3tRw,681
21
+ sparclclient-1.2.6b10.dist-info/RECORD,,