CUQIpy 1.0.0.post0.dev84__py3-none-any.whl → 1.0.0.post0.dev91__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 CUQIpy might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: CUQIpy
3
- Version: 1.0.0.post0.dev84
3
+ Version: 1.0.0.post0.dev91
4
4
  Summary: Computational Uncertainty Quantification for Inverse problems in Python
5
5
  Maintainer-email: "Nicolai A. B. Riis" <nabr@dtu.dk>, "Jakob S. Jørgensen" <jakj@dtu.dk>, "Amal M. Alghamdi" <amaal@dtu.dk>, Chao Zhang <chaz@dtu.dk>
6
6
  License: Apache License
@@ -202,7 +202,7 @@ Description-Content-Type: text/markdown
202
202
  License-File: LICENSE
203
203
  Requires-Dist: matplotlib
204
204
  Requires-Dist: numpy >=1.17.0
205
- Requires-Dist: scipy
205
+ Requires-Dist: scipy <1.13
206
206
  Requires-Dist: arviz
207
207
 
208
208
  <div align="center">
@@ -1,6 +1,6 @@
1
1
  cuqi/__init__.py,sha256=LsGilhl-hBLEn6Glt8S_l0OJzAA1sKit_rui8h-D-p0,488
2
2
  cuqi/_messages.py,sha256=fzEBrZT2kbmfecBBPm7spVu7yHdxGARQB4QzXhJbCJ0,415
3
- cuqi/_version.py,sha256=RI5Flkpq0fzVMBC2KPIasevAQ8WFGvHxXVlNItNY5wQ,509
3
+ cuqi/_version.py,sha256=wjkb-AlAnGV3_a5XYx4H4xHteXak-c9qRWEs8JAhr3k,509
4
4
  cuqi/config.py,sha256=wcYvz19wkeKW2EKCGIKJiTpWt5kdaxyt4imyRkvtTRA,526
5
5
  cuqi/diagnostics.py,sha256=5OrbJeqpynqRXOe5MtOKKhe7EAVdOEpHIqHnlMW9G_c,3029
6
6
  cuqi/array/__init__.py,sha256=-EeiaiWGNsE3twRS4dD814BIlfxEsNkTCZUc5gjOXb0,30
@@ -66,7 +66,7 @@ cuqi/sampler/_pcn.py,sha256=F0h9-nUFtkqn-o-1s8BCsmr8V7u6R7ycoCOeeV1uhj0,8601
66
66
  cuqi/sampler/_rto.py,sha256=-AtMiYq4fh7pF9zVqfYjYtQbIIEGayrWyRGTj8KecfE,11518
67
67
  cuqi/sampler/_sampler.py,sha256=TkZ_WAS-5Q43oICa-Elc2gftsRTBd7PEDUMDZ9tTGmU,5712
68
68
  cuqi/samples/__init__.py,sha256=E7B9IBUsiOBr-HAKH9o3_Lqhq4KeWO87hmesHkdbwTY,30
69
- cuqi/samples/_samples.py,sha256=6xXT_OmBmtlS6ucTHd57FmRo1gwHEaVuN3p8Llhj4KM,34640
69
+ cuqi/samples/_samples.py,sha256=UUyAhADdkshZZ-wi1ICl3u7FYx1OU5NXgO-EeAS5TCc,34804
70
70
  cuqi/solver/__init__.py,sha256=DGl8IdUnochRXHNDEy_13o_VT0vLFY6FjMmmSH6YUkY,169
71
71
  cuqi/solver/_solver.py,sha256=TgezixCVf8nKGtEF9ZrkaTtAfxSs1Z8CR_cmhdTMqRw,22776
72
72
  cuqi/testproblem/__init__.py,sha256=DWTOcyuNHMbhEuuWlY5CkYkNDSAqhvsKmJXBLivyblU,202
@@ -74,8 +74,8 @@ cuqi/testproblem/_testproblem.py,sha256=x769LwwRdJdzIiZkcQUGb_5-vynNTNALXWKato7s
74
74
  cuqi/utilities/__init__.py,sha256=EfxHLdsyDNugbmbzs43nV_AeKcycM9sVBjG9WZydagA,351
75
75
  cuqi/utilities/_get_python_variable_name.py,sha256=QwlBVj2koJRA8s8pWd554p7-ElcI7HUwY32HknaR92E,1827
76
76
  cuqi/utilities/_utilities.py,sha256=At3DOXRdF3GwLkVcM2FXooGyjAGfPkIM0bRzhTfLmWk,8046
77
- CUQIpy-1.0.0.post0.dev84.dist-info/LICENSE,sha256=kJWRPrtRoQoZGXyyvu50Uc91X6_0XRaVfT0YZssicys,10799
78
- CUQIpy-1.0.0.post0.dev84.dist-info/METADATA,sha256=BQb9pU_npyCv6g3avmz6ofT3-lr2cwbYiCs6DN-Vu8o,18386
79
- CUQIpy-1.0.0.post0.dev84.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
80
- CUQIpy-1.0.0.post0.dev84.dist-info/top_level.txt,sha256=AgmgMc6TKfPPqbjV0kvAoCBN334i_Lwwojc7HE3ZwD0,5
81
- CUQIpy-1.0.0.post0.dev84.dist-info/RECORD,,
77
+ CUQIpy-1.0.0.post0.dev91.dist-info/LICENSE,sha256=kJWRPrtRoQoZGXyyvu50Uc91X6_0XRaVfT0YZssicys,10799
78
+ CUQIpy-1.0.0.post0.dev91.dist-info/METADATA,sha256=KG8D1oXbdnsjU-xCHTLbwmzUCXkndGBNZ9-xGP6XguI,18392
79
+ CUQIpy-1.0.0.post0.dev91.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
80
+ CUQIpy-1.0.0.post0.dev91.dist-info/top_level.txt,sha256=AgmgMc6TKfPPqbjV0kvAoCBN334i_Lwwojc7HE3ZwD0,5
81
+ CUQIpy-1.0.0.post0.dev91.dist-info/RECORD,,
cuqi/_version.py CHANGED
@@ -8,11 +8,11 @@ import json
8
8
 
9
9
  version_json = '''
10
10
  {
11
- "date": "2024-03-15T10:58:55+0100",
11
+ "date": "2024-04-04T16:40:53+0200",
12
12
  "dirty": false,
13
13
  "error": null,
14
- "full-revisionid": "680cbe76e755e836b16b4ce98e7125d1d158fca2",
15
- "version": "1.0.0.post0.dev84"
14
+ "full-revisionid": "91a1edb3f1ae9412a27489f3faa9a4a9c8ff8a4a",
15
+ "version": "1.0.0.post0.dev91"
16
16
  }
17
17
  ''' # END VERSION_JSON
18
18
 
cuqi/samples/_samples.py CHANGED
@@ -8,13 +8,20 @@ from copy import copy
8
8
  from numbers import Number
9
9
 
10
10
  try:
11
- import arviz # Plotting tool
12
- except ImportError:
11
+ import arviz # Plotting tool
12
+ except ImportError as e:
13
13
  arviz = None
14
+ arviz_import_error = e
15
+
14
16
 
15
17
  def _check_for_arviz():
16
18
  if arviz is None:
17
- raise ImportError("The arviz package is required for this functionality. Please install arviz using `pip install arviz`.")
19
+ msg = "The arviz package is required for this functionality. "\
20
+ + "Please make sure arviz is installed. "\
21
+ + "See below for the original error message:\n"\
22
+ + arviz_import_error.args[0]
23
+
24
+ raise ImportError(msg)
18
25
 
19
26
 
20
27
  class Samples(object):