arvi 0.1.15__tar.gz → 0.1.16__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 arvi might be problematic. Click here for more details.

Files changed (55) hide show
  1. {arvi-0.1.15 → arvi-0.1.16}/PKG-INFO +1 -1
  2. {arvi-0.1.15 → arvi-0.1.16}/arvi/dace_wrapper.py +5 -9
  3. {arvi-0.1.15 → arvi-0.1.16}/arvi.egg-info/PKG-INFO +1 -1
  4. {arvi-0.1.15 → arvi-0.1.16}/pyproject.toml +1 -1
  5. {arvi-0.1.15 → arvi-0.1.16}/.github/workflows/docs-gh-pages.yml +0 -0
  6. {arvi-0.1.15 → arvi-0.1.16}/.github/workflows/install.yml +0 -0
  7. {arvi-0.1.15 → arvi-0.1.16}/.github/workflows/python-publish.yml +0 -0
  8. {arvi-0.1.15 → arvi-0.1.16}/.gitignore +0 -0
  9. {arvi-0.1.15 → arvi-0.1.16}/LICENSE +0 -0
  10. {arvi-0.1.15 → arvi-0.1.16}/README.md +0 -0
  11. {arvi-0.1.15 → arvi-0.1.16}/arvi/HZ.py +0 -0
  12. {arvi-0.1.15 → arvi-0.1.16}/arvi/__init__.py +0 -0
  13. {arvi-0.1.15 → arvi-0.1.16}/arvi/ariadne_wrapper.py +0 -0
  14. {arvi-0.1.15 → arvi-0.1.16}/arvi/berv.py +0 -0
  15. {arvi-0.1.15 → arvi-0.1.16}/arvi/binning.py +0 -0
  16. {arvi-0.1.15 → arvi-0.1.16}/arvi/config.py +0 -0
  17. {arvi-0.1.15 → arvi-0.1.16}/arvi/data/extra/HD86226_PFS1.rdb +0 -0
  18. {arvi-0.1.15 → arvi-0.1.16}/arvi/data/extra/HD86226_PFS2.rdb +0 -0
  19. {arvi-0.1.15 → arvi-0.1.16}/arvi/data/extra/metadata.json +0 -0
  20. {arvi-0.1.15 → arvi-0.1.16}/arvi/data/info.svg +0 -0
  21. {arvi-0.1.15 → arvi-0.1.16}/arvi/data/obs_affected_ADC_issues.dat +0 -0
  22. {arvi-0.1.15 → arvi-0.1.16}/arvi/data/obs_affected_blue_cryostat_issues.dat +0 -0
  23. {arvi-0.1.15 → arvi-0.1.16}/arvi/extra_data.py +0 -0
  24. {arvi-0.1.15 → arvi-0.1.16}/arvi/gaia_wrapper.py +0 -0
  25. {arvi-0.1.15 → arvi-0.1.16}/arvi/headers.py +0 -0
  26. {arvi-0.1.15 → arvi-0.1.16}/arvi/instrument_specific.py +0 -0
  27. {arvi-0.1.15 → arvi-0.1.16}/arvi/lbl_wrapper.py +0 -0
  28. {arvi-0.1.15 → arvi-0.1.16}/arvi/nasaexo_wrapper.py +0 -0
  29. {arvi-0.1.15 → arvi-0.1.16}/arvi/plots.py +0 -0
  30. {arvi-0.1.15 → arvi-0.1.16}/arvi/programs.py +0 -0
  31. {arvi-0.1.15 → arvi-0.1.16}/arvi/reports.py +0 -0
  32. {arvi-0.1.15 → arvi-0.1.16}/arvi/setup_logger.py +0 -0
  33. {arvi-0.1.15 → arvi-0.1.16}/arvi/simbad_wrapper.py +0 -0
  34. {arvi-0.1.15 → arvi-0.1.16}/arvi/spectra.py +0 -0
  35. {arvi-0.1.15 → arvi-0.1.16}/arvi/stats.py +0 -0
  36. {arvi-0.1.15 → arvi-0.1.16}/arvi/stellar.py +0 -0
  37. {arvi-0.1.15 → arvi-0.1.16}/arvi/timeseries.py +0 -0
  38. {arvi-0.1.15 → arvi-0.1.16}/arvi/translations.py +0 -0
  39. {arvi-0.1.15 → arvi-0.1.16}/arvi/utils.py +0 -0
  40. {arvi-0.1.15 → arvi-0.1.16}/arvi.egg-info/SOURCES.txt +0 -0
  41. {arvi-0.1.15 → arvi-0.1.16}/arvi.egg-info/dependency_links.txt +0 -0
  42. {arvi-0.1.15 → arvi-0.1.16}/arvi.egg-info/requires.txt +0 -0
  43. {arvi-0.1.15 → arvi-0.1.16}/arvi.egg-info/top_level.txt +0 -0
  44. {arvi-0.1.15 → arvi-0.1.16}/docs/API.md +0 -0
  45. {arvi-0.1.15 → arvi-0.1.16}/docs/detailed.md +0 -0
  46. {arvi-0.1.15 → arvi-0.1.16}/docs/index.md +0 -0
  47. {arvi-0.1.15 → arvi-0.1.16}/docs/logo/detective.png +0 -0
  48. {arvi-0.1.15 → arvi-0.1.16}/docs/logo/logo.png +0 -0
  49. {arvi-0.1.15 → arvi-0.1.16}/mkdocs.yml +0 -0
  50. {arvi-0.1.15 → arvi-0.1.16}/setup.cfg +0 -0
  51. {arvi-0.1.15 → arvi-0.1.16}/setup.py +0 -0
  52. {arvi-0.1.15 → arvi-0.1.16}/tests/test_binning.py +0 -0
  53. {arvi-0.1.15 → arvi-0.1.16}/tests/test_import_object.py +0 -0
  54. {arvi-0.1.15 → arvi-0.1.16}/tests/test_simbad.py +0 -0
  55. {arvi-0.1.15 → arvi-0.1.16}/tests/test_stats.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: arvi
3
- Version: 0.1.15
3
+ Version: 0.1.16
4
4
  Summary: The Automated RV Inspector
5
5
  Author-email: João Faria <joao.faria@unige.ch>
6
6
  License: MIT
@@ -36,10 +36,6 @@ def get_arrays(result, latest_pipeline=True, ESPRESSO_mode='HR11', NIRPS_mode='H
36
36
  arrays = []
37
37
  instruments = list(result.keys())
38
38
 
39
- # if verbose:
40
- # if latest_pipeline:
41
- # logger.info('selecting latest pipeline version')
42
-
43
39
  for inst in instruments:
44
40
  pipelines = list(result[inst].keys())
45
41
 
@@ -226,11 +222,12 @@ def get_observations(star, instrument=None, main_id=None, verbose=True):
226
222
  raise ValueError(msg)
227
223
 
228
224
  # sort pipelines, being extra careful with HARPS pipeline names
229
- # (i.e. ensure that 3.0.0 > 3.5)
225
+ # (i.e. ensure that 3.x.x > 3.5)
226
+ from re import match
230
227
  def cmp(a, b):
231
- if a[0] in ('3.5', '3.5 EGGS') and b[0] == '3.0.0':
228
+ if a[0] in ('3.5', '3.5 EGGS') and match(r'3.\d.\d', b[0]):
232
229
  return -1
233
- if b[0] in ('3.5', '3.5 EGGS') and a[0] == '3.0.0':
230
+ if b[0] in ('3.5', '3.5 EGGS') and match(r'3.\d.\d', a[0]):
234
231
  return 1
235
232
 
236
233
  if a[0] == b[0]:
@@ -243,8 +240,7 @@ def get_observations(star, instrument=None, main_id=None, verbose=True):
243
240
  from functools import cmp_to_key
244
241
  new_result = {}
245
242
  for inst in instruments:
246
- new_result[inst] = dict(sorted(result[inst].items(),
247
- key=cmp_to_key(cmp), reverse=True))
243
+ new_result[inst] = dict(sorted(result[inst].items(), key=cmp_to_key(cmp), reverse=True))
248
244
 
249
245
  if verbose:
250
246
  logger.info('RVs available from')
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: arvi
3
- Version: 0.1.15
3
+ Version: 0.1.16
4
4
  Summary: The Automated RV Inspector
5
5
  Author-email: João Faria <joao.faria@unige.ch>
6
6
  License: MIT
@@ -8,7 +8,7 @@ authors = [
8
8
  {name = "João Faria", email = "joao.faria@unige.ch"},
9
9
  ]
10
10
  description = "The Automated RV Inspector"
11
- version = "0.1.15"
11
+ version = "0.1.16"
12
12
  readme = {file = "README.md", content-type = "text/markdown"}
13
13
  requires-python = ">=3.8"
14
14
  keywords = ["RV", "exoplanets"]
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes