File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
src/pyinterpolate/semivariogram/experimental/classes Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -337,14 +337,19 @@ def __repr__(self):
337
337
338
338
cname = 'ExperimentalVariogram'
339
339
340
+ # NoneType has no tolist()
341
+ custom_weights = (
342
+ self .custom_weights .tolist () if self .custom_weights is not None else "None"
343
+ )
344
+
340
345
input_params = (f'ds={ self .ds .tolist ()} ,'
341
346
f'step_size={ self .step_size } ,'
342
347
f'max_range={ self .max_range } ,'
343
348
f'direction={ self .direction } ,'
344
349
f'tolerance={ self .tolerance } ,'
345
350
f'dir_neighbors_selection_method={ self .method } ,'
346
351
f'custom_bins={ self .lags .tolist ()} ,'
347
- f'custom_weights={ self . custom_weights . tolist () } ,'
352
+ f'custom_weights={ custom_weights } ,'
348
353
f'is_semivariance={ self .__c_sem } ,'
349
354
f'is_covariance={ self .__c_cov } ' )
350
355
You can’t perform that action at this time.
0 commit comments