asteroid_spinprops 1.3.3__tar.gz → 1.3.4__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: asteroid_spinprops
3
- Version: 1.3.3
3
+ Version: 1.3.4
4
4
  Summary: Collection of tools used for fitting sHG1G2 and SOCCA photometric models to sparse asteroid photometry
5
5
  License: MIT
6
6
  Author: Odysseas
@@ -173,7 +173,7 @@ def get_fit_params(
173
173
  etime = t2 - t1
174
174
  SOCCA_opt["invtime"] = etime
175
175
  return SOCCA_opt
176
- except IndexError:
176
+ except (IndexError, ValueError):
177
177
  SOCCA_opt = {"Failed at bootsrap sampling": 1}
178
178
  if time_me:
179
179
  t2 = time.time()
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "asteroid_spinprops"
3
- version = "1.3.3"
3
+ version = "1.3.4"
4
4
  description = "Collection of tools used for fitting sHG1G2 and SOCCA photometric models to sparse asteroid photometry"
5
5
  authors = [
6
6
  {name = "Odysseas",email = "odysseas.xenos@proton.me"}