Commit Graph

560 Commits

Author SHA1 Message Date
Raúl Marín
e162547a09 PG12: Test with updated python packages 2020-04-07 13:49:13 +02:00
Raúl Marín
462d03edbf Double parenthesis around print 2019-12-19 19:16:13 +01:00
Raúl Marín
6bc963aada Try adding a new release 2019-12-19 18:35:25 +01:00
Raúl Marín
632ce2ad5e Beat on the yak 2019-12-19 18:12:23 +01:00
Raúl Marín
a626822d4e Keep shaving the yak 2019-12-19 18:06:36 +01:00
Raúl Marín
c6c006eb22 Python3 warnings 2019-12-19 18:00:40 +01:00
Raúl Marín
ede701202f Silence notices in cascade installation 2019-12-19 17:52:44 +01:00
Raúl Marín
1985c1273b More tabs 2019-12-19 17:48:38 +01:00
Raúl Marín
30ac9af1f9 Continue with the tweaking 2019-12-19 17:41:40 +01:00
Raúl Marín
bc365acc01 Update control file before running tests with pre PG12 2019-12-19 17:20:47 +01:00
Raúl Marín
f5afd7c43f More python3 warnings 2019-12-19 17:17:53 +01:00
Raúl Marín
fb0b9d51b1 Fix python2 parse 2019-12-19 17:08:46 +01:00
Raúl Marín
32b2068648 Python3 warnings 2019-12-19 17:04:37 +01:00
Raúl Marín
e721830bc7 The control file should be updated on deployment 2019-12-19 16:50:43 +01:00
Raúl Marín
26ed991550 Continue python3 journey 2019-12-19 16:35:10 +01:00
Raúl Marín
6d50c125f9 WIP2: Python3 + PG12 2019-12-19 16:30:23 +01:00
Raúl Marín
c321caaefd Run 2to3 2019-12-19 13:47:15 +01:00
Raul Marin
54646acc56 PG 11 2019-02-07 18:30:22 +01:00
Andy Eschbacher
6260a080a6 adds fuller test suite for segmentation 2018-03-15 11:41:47 -04:00
Andy Eschbacher
bc9cae1a63 Merge branch 'develop' into update-segmentation 2018-03-14 12:28:12 -04:00
Andy Eschbacher
229e4671f7 pep8 syntax 2018-03-14 12:14:17 -04:00
Andy Eschbacher
5ee795dc11 adds release files for v0.8.1 2018-03-12 13:17:56 -04:00
Andy Eschbacher
1531350bfe adds new version files 2018-03-12 13:07:13 -04:00
Andy Eschbacher
f1bd05831b adds more thorough tests 2018-03-01 10:22:29 -05:00
Andy Eschbacher
c1ca03e159 adjust tests with new outputs 2018-03-01 09:26:53 -05:00
Andy Eschbacher
7b1ce57abc expand outputs for python moran, adjust existing functions to return
previous values
2018-03-01 09:25:56 -05:00
Andy Eschbacher
0d050a2206 adding more thorough docs 2018-02-27 16:36:08 -05:00
Andy Eschbacher
dd32d45422 small pep8/syntax fixes 2018-02-27 16:12:20 -05:00
Andy Eschbacher
dcab63f3b3 update deprecated private funcs to return all but spatial lag 2018-02-27 15:36:27 -05:00
Andy Eschbacher
46d3375ea3 adds new private functions 2018-02-27 14:24:26 -05:00
Andy Eschbacher
ba875bc50b creates new functions which expose spatial lag 2018-02-27 13:40:28 -05:00
Rafa de la Torre
a1198627b5 Release 0.7.0 2018-02-23 15:45:12 +01:00
Rafa de la Torre
4a81710749 Upgrade pysal to version 1.14.3
This solves a problem with the Markov analysis. Otherwise, with some
inputs it gives the following error:

```
Analysis A2 failed:
ValueError: operands could not be broadcast together with shapes (5) (3)
```

The stack trace is the following:
```
ERROR:  ValueError: operands could not be broadcast together with shapes (5) (2)
CONTEXT:  Traceback (most recent call last):
  PL/Python function "cdb_spatialmarkovtrend", line 7, in <module>
    return markov.spatial_trend(subquery, time_cols, num_classes, w_type, num_ngbrs, permutations, geom_col, id_col)
  PL/Python function "cdb_spatialmarkovtrend", line 76, in spatial_trend
  PL/Python function "cdb_spatialmarkovtrend", line 416, in __init__
  PL/Python function "cdb_spatialmarkovtrend", line 498, in _mn_test
  PL/Python function "cdb_spatialmarkovtrend", line 526, in _ssmnp_test
PL/Python function "cdb_spatialmarkovtrend"
```

and here is the line where it actually fails:
https://github.com/pysal/pysal/blob/v1.11.2/pysal/spatial_dynamics/markov.py#L526

In v1.14.3, the `shtest` is opt-in. So this gives us a chance to curate data if we wanted to apply that test, optionally, instead of crashing:

https://github.com/pysal/pysal/blob/v1.14.3/pysal/spatial_dynamics/markov.py#L490
2018-02-22 16:15:52 +01:00
Andy Eschbacher
6fd3fbcbb7 adds more tests 2018-01-11 15:23:35 -05:00
Andy Eschbacher
7eeb7faf13 Merge branch 'develop' into update-segmentation 2018-01-11 14:28:13 -05:00
Andy Eschbacher
dc711d195f syntax updates 2018-01-11 12:49:42 -05:00
Andy Eschbacher
628fd2b839 adds test on multipolygon 2018-01-10 16:45:36 -05:00
Andy Eschbacher
807a5373e8 adds simple test 2018-01-10 16:35:23 -05:00
Andy Eschbacher
2e0a6f7482 Merge branch 'develop' into add-PIA 2018-01-10 15:30:51 -05:00
Andy Eschbacher
e5285a2700 adds parallel marker for plpgsql function 2018-01-10 10:57:51 -05:00
Andy Eschbacher
068f43de10 adds test for exception if no data is present 2018-01-09 15:45:03 -05:00
Andy Eschbacher
604f20bb21 grrr adds comments to test expectation 2018-01-09 15:22:14 -05:00
Andy Eschbacher
cfd988c338 uses exact same query text for expectation 2018-01-09 15:14:38 -05:00
Andy Eschbacher
04f290cbad finalizes test query 2018-01-09 15:06:44 -05:00
Andy Eschbacher
18fbc2fa9e updates sql query / fixes error 2018-01-09 14:39:24 -05:00
Andy Eschbacher
b0e3f38f1e correctly finds the number of columns 2018-01-09 14:28:20 -05:00
Andy Eschbacher
b16c73f7d0 Merge branch 'develop' into add-nonspatial-kmeans-w-class-framework 2018-01-09 13:47:29 -05:00
Andy Eschbacher
20104c2df9 adds sql tests for nonspatial kmeans 2018-01-09 13:35:00 -05:00
Andy Eschbacher
49a317ae8e syntax updates / consistency 2018-01-09 13:29:36 -05:00
Andy Eschbacher
001062f660 adds inertia as an output column 2018-01-09 13:02:55 -05:00