imas-python 0.1.dev1620__py3-none-any.whl → 0.1.dev1621__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.

Potentially problematic release.


This version of imas-python might be problematic. Click here for more details.

imas/_version.py CHANGED
@@ -12,5 +12,5 @@ __version__: str
12
12
  __version_tuple__: VERSION_TUPLE
13
13
  version_tuple: VERSION_TUPLE
14
14
 
15
- __version__ = version = '0.1.dev1620'
16
- __version_tuple__ = version_tuple = (0, 1, 'dev1620')
15
+ __version__ = version = '0.1.dev1621'
16
+ __version_tuple__ = version_tuple = (0, 1, 'dev1621')
imas/assets/IDSDef.zip CHANGED
Binary file
@@ -105,8 +105,8 @@ class LowlevelInterface:
105
105
  setattr(self, method, ll_method)
106
106
 
107
107
  def _imas_not_available(self, *args, **kwargs):
108
- logger.error(
109
- "Some functions requires an imas installation, which is not available."
108
+ raise RuntimeError(
109
+ "This function requires an imas installation, which is not available."
110
110
  )
111
111
 
112
112
  def _minimal_version(self, minversion):
imas/command/cli.py CHANGED
@@ -76,7 +76,10 @@ def print_version():
76
76
  dd_versions = ", ".join(imas.dd_zip.dd_xml_versions())
77
77
  grid.add_row("Available data dictionary versions:", dd_versions)
78
78
  grid.add_section()
79
- grid.add_row("Access Layer core version:", ll_interface.get_al_version() or "N/A")
79
+ try:
80
+ grid.add_row("Access Layer core version:", ll_interface.get_al_version() or "N/A")
81
+ except Exception as exc:
82
+ grid.add_row("Access Layer core version:", "N/A")
80
83
  console.Console().print(grid)
81
84
 
82
85
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: imas-python
3
- Version: 0.1.dev1620
3
+ Version: 0.1.dev1621
4
4
  Summary: Pythonic wrappers for the IMAS Access Layer
5
5
  Author: imas-python Developers
6
6
  Author-email: Olivier Hoenen <olivier.hoenen@iter.org>
@@ -1,7 +1,7 @@
1
1
  imas/__init__.py,sha256=TcIsTA05yiteecXpGnhm0fKw_cEHIc4TJUHC1iP5fJo,940
2
2
  imas/__main__.py,sha256=2qXoC0HzV4xkPQAvdubHC4rnK3G6f_2PT9TkkCHYXk8,418
3
3
  imas/_util.py,sha256=FXX13glhmgSiw-0LtjH0xv3YlM3Pa9X4jl9yz9Uv7Vs,9484
4
- imas/_version.py,sha256=_8EVSzSmmz9Boa3Mwx9k7LdTBT2NMX6vVRCqOOHqpNc,425
4
+ imas/_version.py,sha256=jXZF65wWUoyBgAr-XD4eCmv5Bx-0Ee1cpqQPFJ8WmfA,425
5
5
  imas/db_entry.py,sha256=O76bfCfmH3jlZE8eJmnmPiDNqZYpwo3ooQeHOL83mE4,31767
6
6
  imas/dd_helpers.py,sha256=c1uvR7TvFvOLGUhj1h0PtPMm69CGBjtWrv2AC8FvU2I,10844
7
7
  imas/dd_zip.py,sha256=Sz2xP-oWyhmmqEN-JGGNizieGZH8CJ6JlCjqN_0fMvw,10330
@@ -22,7 +22,7 @@ imas/ids_toplevel.py,sha256=YHWZewK8JYf34pYzF_oooMILZAHgnuWCFtr0_JFjmzI,14915
22
22
  imas/setup_logging.py,sha256=auFmrFHh1CA6LVQVwo6WWebUIbCpA_7UedQ6G4h5JzM,1874
23
23
  imas/training.py,sha256=JGYjpCubUJDb_Rg0QaaDhNkBHc4Qc376U9fRq24NVXc,1576
24
24
  imas/util.py,sha256=dG282-l7m2U_VhjZ0VnQ-BpsWrzgKSxUZ1AZf-_wDOY,17822
25
- imas/assets/IDSDef.zip,sha256=m094Dakp6PJb4HM759g5lgyS97M2rj0QjRsV21o6flg,27383258
25
+ imas/assets/IDSDef.zip,sha256=tyRzc1liephUORSnflVEZtLiyTmEIsCRw1AmaUtmYzc,27383258
26
26
  imas/assets/IDSDef2MDSpreTree.xsl,sha256=V9eDmDnxe6oYhDP81gmdYip8cF2yST9dGxmZBaATLdA,7296
27
27
  imas/assets/IDS_fake_toplevel.xml,sha256=TJhukQuDHHVTW2U7fK_-KmTQiYOFZMY-ECZXBHQE2mk,18683
28
28
  imas/assets/IDS_minimal.xml,sha256=5B6c0J-WPzSChHWwpLPRkNawx9m6v8BM5nC0OQFnWcQ,1740
@@ -40,7 +40,7 @@ imas/backends/imas_core/__init__.py,sha256=Zi-Z_qCvZdFotE_rJwQjz_Xdsi5h201z9hVYA
40
40
  imas/backends/imas_core/al_context.py,sha256=D5PUg6o487kR9diRK9ZclkCpzbn-Brzhkf-SKOZSBLI,14174
41
41
  imas/backends/imas_core/db_entry_al.py,sha256=7HeXVm2HCNh8f3Ob81GQIRyeWZ-qu6kORWI5OOtyOjQ,14893
42
42
  imas/backends/imas_core/db_entry_helpers.py,sha256=HwWTyY-IF5gEGBuL6BsPnHFL3EZtaLIxr-ctC-3u_A0,8047
43
- imas/backends/imas_core/imas_interface.py,sha256=qJpeBkXW-SmTEBg2Us5RWT6shJ5tYUF_ANbuUkwyPnM,7973
43
+ imas/backends/imas_core/imas_interface.py,sha256=c4OHvhw-aCO4O9sDSmYdcZcgeeBwu0-BcozYpVhsCuQ,7978
44
44
  imas/backends/imas_core/mdsplus_model.py,sha256=IWmRCsH_fbRWsxV-bE8NFXu_Nh-vUnP5PfwmmTEg5XE,14110
45
45
  imas/backends/imas_core/uda_support.py,sha256=lxHzby6Fkkpn5j6yWpQrlqlwng-gA9O_hVK03Wf_Ij8,1770
46
46
  imas/backends/netcdf/__init__.py,sha256=pyETe19IpVVezOS7mNzF_Zbt_eGoK8IWnQfG8P7V4CA,191
@@ -49,7 +49,7 @@ imas/backends/netcdf/ids2nc.py,sha256=rjF6L-JHrwFnOjI-NRBTv15JbHRk2moGukNUCaL_FK
49
49
  imas/backends/netcdf/nc2ids.py,sha256=bP7Qfl_b_wvpS8SwK_g-ReuBU4KvD6Spi33p528BSCQ,11881
50
50
  imas/backends/netcdf/nc_metadata.py,sha256=pTOff1Zzk7uT1BGUV1cnDLVNo4WeTT-7JETR_9LvVIs,16175
51
51
  imas/backends/netcdf/nc_validate.py,sha256=gO6jpLsxfIv5hbtIi5MYtN1KtU9yQCVPgG8pHdK7iHQ,2256
52
- imas/command/cli.py,sha256=8sIwoX9J-bIQiQsryrTj1l7ZttjVX7PrneF2jvGkecs,8317
52
+ imas/command/cli.py,sha256=CkEcpgpRyJArXrfLIM777g4ijqHFVgMK93dstqFiO_U,8417
53
53
  imas/command/db_analysis.py,sha256=8ETLMzEgS8z17MEeB10NR28wiQO3TdjEGQHlmbkTjBw,10454
54
54
  imas/command/helpers.py,sha256=Hf9Y0Owm9woJklQ6UzwHHum96YgI7R_SKRlksUqnCIs,1499
55
55
  imas/command/timer.py,sha256=wvjHJBgkY1VRaRvCFuDDORzZOUV-Q7IxiTxlGzjXBz4,2328
@@ -101,9 +101,9 @@ imas/test/test_str_1d.py,sha256=d6GrmV4OYG9f4ludjZBmuqyKOM9XIExTqMh8aQ1UJcQ,3453
101
101
  imas/test/test_time_slicing.py,sha256=FwbdggRJ75Suc268-89daCSaVXhzl8pZZm3Od13EiR4,6959
102
102
  imas/test/test_uda_support.py,sha256=AmakuexebZfJ2-vk_DHfNRPwHmNM2RnwzXqT0eWwWJ0,338
103
103
  imas/test/test_util.py,sha256=BW5EbL-QDIrJNH7tjBgqOacJY0TXvMidXVKpIVZlv1I,6775
104
- imas_python-0.1.dev1620.dist-info/LICENSE.txt,sha256=RzxtV7MG0zbF6dDvQsaZ1OKsHZ7CRyeILenjUIol5rs,7651
105
- imas_python-0.1.dev1620.dist-info/METADATA,sha256=-gYXJCQnJQoekvEEVcKThF2AISgRMW1SuGUrNjHViYA,13459
106
- imas_python-0.1.dev1620.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
107
- imas_python-0.1.dev1620.dist-info/entry_points.txt,sha256=e8oXj2SLwyFEiBeJRaAXRc9EYQ8eHWWn7NWdjixjeDM,99
108
- imas_python-0.1.dev1620.dist-info/top_level.txt,sha256=_WFOlA1rmpYm0T73sNo5Ntvs7S3x4cR7UE8Oy5I5eJA,5
109
- imas_python-0.1.dev1620.dist-info/RECORD,,
104
+ imas_python-0.1.dev1621.dist-info/LICENSE.txt,sha256=RzxtV7MG0zbF6dDvQsaZ1OKsHZ7CRyeILenjUIol5rs,7651
105
+ imas_python-0.1.dev1621.dist-info/METADATA,sha256=jENvgRtMQbn33eGvf6teJYOakOMV-62-DdsWPrsxvaI,13459
106
+ imas_python-0.1.dev1621.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
107
+ imas_python-0.1.dev1621.dist-info/entry_points.txt,sha256=e8oXj2SLwyFEiBeJRaAXRc9EYQ8eHWWn7NWdjixjeDM,99
108
+ imas_python-0.1.dev1621.dist-info/top_level.txt,sha256=_WFOlA1rmpYm0T73sNo5Ntvs7S3x4cR7UE8Oy5I5eJA,5
109
+ imas_python-0.1.dev1621.dist-info/RECORD,,