sequenzo 0.1.19__cp311-cp311-win_amd64.whl → 0.1.21__cp311-cp311-win_amd64.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 sequenzo might be problematic. Click here for more details.
- sequenzo/big_data/clara/utils/get_weighted_diss.c +192 -191
- sequenzo/big_data/clara/utils/get_weighted_diss.cp311-win_amd64.pyd +0 -0
- sequenzo/clustering/clustering_c_code.cp311-win_amd64.pyd +0 -0
- sequenzo/clustering/hierarchical_clustering.py +2 -2
- sequenzo/define_sequence_data.py +4 -4
- sequenzo/dissimilarity_measures/c_code.cp311-win_amd64.pyd +0 -0
- sequenzo/dissimilarity_measures/get_distance_matrix.py +1 -1
- sequenzo/dissimilarity_measures/get_substitution_cost_matrix.py +1 -1
- sequenzo/dissimilarity_measures/utils/get_sm_trate_substitution_cost_matrix.c +169 -169
- sequenzo/dissimilarity_measures/utils/get_sm_trate_substitution_cost_matrix.cp311-win_amd64.pyd +0 -0
- sequenzo/dissimilarity_measures/utils/seqconc.c +231 -230
- sequenzo/dissimilarity_measures/utils/seqconc.cp311-win_amd64.pyd +0 -0
- sequenzo/dissimilarity_measures/utils/seqdss.c +324 -323
- sequenzo/dissimilarity_measures/utils/seqdss.cp311-win_amd64.pyd +0 -0
- sequenzo/dissimilarity_measures/utils/seqdur.c +324 -323
- sequenzo/dissimilarity_measures/utils/seqdur.cp311-win_amd64.pyd +0 -0
- sequenzo/dissimilarity_measures/utils/seqlength.c +224 -222
- sequenzo/dissimilarity_measures/utils/seqlength.cp311-win_amd64.pyd +0 -0
- sequenzo/multidomain/association_between_domains.py +1 -1
- sequenzo/multidomain/combt.py +4 -4
- sequenzo/multidomain/dat.py +11 -3
- sequenzo/multidomain/idcd.py +0 -2
- sequenzo/multidomain/linked_polyad.py +3 -4
- sequenzo/prefix_tree/__init__.py +1 -1
- sequenzo/prefix_tree/individual_level_indicators.py +2 -2
- sequenzo/sequence_characteristics/overall_cross_sectional_entropy.py +2 -2
- sequenzo/sequence_characteristics/plot_characteristics.py +2 -2
- sequenzo/sequence_characteristics/simple_characteristics.py +2 -2
- sequenzo/suffix_tree/__init__.py +1 -1
- sequenzo/suffix_tree/individual_level_indicators.py +3 -3
- sequenzo/visualization/plot_single_medoid.py +2 -2
- sequenzo/visualization/plot_transition_matrix.py +1 -1
- sequenzo/visualization/utils/utils.py +2 -2
- sequenzo/with_event_history_analysis/sequence_analysis_multi_state_model.py +1 -1
- {sequenzo-0.1.19.dist-info → sequenzo-0.1.21.dist-info}/METADATA +37 -6
- {sequenzo-0.1.19.dist-info → sequenzo-0.1.21.dist-info}/RECORD +39 -45
- sequenzo/big_data/clara/utils/get_weighted_diss.pyx +0 -16
- sequenzo/dissimilarity_measures/utils/get_sm_trate_substitution_cost_matrix.pyx +0 -95
- sequenzo/dissimilarity_measures/utils/seqconc.pyx +0 -26
- sequenzo/dissimilarity_measures/utils/seqdss.pyx +0 -33
- sequenzo/dissimilarity_measures/utils/seqdur.pyx +0 -34
- sequenzo/dissimilarity_measures/utils/seqlength.pyx +0 -19
- {sequenzo-0.1.19.dist-info → sequenzo-0.1.21.dist-info}/WHEEL +0 -0
- {sequenzo-0.1.19.dist-info → sequenzo-0.1.21.dist-info}/licenses/LICENSE +0 -0
- {sequenzo-0.1.19.dist-info → sequenzo-0.1.21.dist-info}/top_level.txt +0 -0
|
@@ -6,15 +6,15 @@
|
|
|
6
6
|
"define_macros": [
|
|
7
7
|
[
|
|
8
8
|
"NPY_NO_DEPRECATED_API",
|
|
9
|
-
"
|
|
9
|
+
"NPY_1_7_API_VERSION"
|
|
10
10
|
]
|
|
11
11
|
],
|
|
12
12
|
"depends": [
|
|
13
|
-
"C:\\Users\\runneradmin\\AppData\\Local\\Temp\\pip-build-env-
|
|
14
|
-
"C:\\Users\\runneradmin\\AppData\\Local\\Temp\\pip-build-env-
|
|
15
|
-
"C:\\Users\\runneradmin\\AppData\\Local\\Temp\\pip-build-env-
|
|
16
|
-
"C:\\Users\\runneradmin\\AppData\\Local\\Temp\\pip-build-env-
|
|
17
|
-
"C:\\Users\\runneradmin\\AppData\\Local\\Temp\\pip-build-env-
|
|
13
|
+
"C:\\Users\\runneradmin\\AppData\\Local\\Temp\\pip-build-env-quwyv4g5\\overlay\\Lib\\site-packages\\numpy\\_core\\include\\numpy\\arrayobject.h",
|
|
14
|
+
"C:\\Users\\runneradmin\\AppData\\Local\\Temp\\pip-build-env-quwyv4g5\\overlay\\Lib\\site-packages\\numpy\\_core\\include\\numpy\\arrayscalars.h",
|
|
15
|
+
"C:\\Users\\runneradmin\\AppData\\Local\\Temp\\pip-build-env-quwyv4g5\\overlay\\Lib\\site-packages\\numpy\\_core\\include\\numpy\\ndarrayobject.h",
|
|
16
|
+
"C:\\Users\\runneradmin\\AppData\\Local\\Temp\\pip-build-env-quwyv4g5\\overlay\\Lib\\site-packages\\numpy\\_core\\include\\numpy\\ndarraytypes.h",
|
|
17
|
+
"C:\\Users\\runneradmin\\AppData\\Local\\Temp\\pip-build-env-quwyv4g5\\overlay\\Lib\\site-packages\\numpy\\_core\\include\\numpy\\ufuncobject.h"
|
|
18
18
|
],
|
|
19
19
|
"extra_compile_args": [
|
|
20
20
|
"/W1",
|
|
@@ -23,9 +23,9 @@
|
|
|
23
23
|
"/O2"
|
|
24
24
|
],
|
|
25
25
|
"include_dirs": [
|
|
26
|
-
"C:\\Users\\runneradmin\\AppData\\Local\\Temp\\pip-build-env-
|
|
27
|
-
"C:\\Users\\runneradmin\\AppData\\Local\\Temp\\pip-build-env-
|
|
28
|
-
"C:\\Users\\runneradmin\\AppData\\Local\\Temp\\pip-build-env-
|
|
26
|
+
"C:\\Users\\runneradmin\\AppData\\Local\\Temp\\pip-build-env-quwyv4g5\\overlay\\Lib\\site-packages\\pybind11\\include",
|
|
27
|
+
"C:\\Users\\runneradmin\\AppData\\Local\\Temp\\pip-build-env-quwyv4g5\\overlay\\Lib\\site-packages\\pybind11\\include",
|
|
28
|
+
"C:\\Users\\runneradmin\\AppData\\Local\\Temp\\pip-build-env-quwyv4g5\\overlay\\Lib\\site-packages\\numpy\\_core\\include",
|
|
29
29
|
"sequenzo/dissimilarity_measures/src/",
|
|
30
30
|
"D:\\a\\Sequenzo\\Sequenzo\\sequenzo\\dissimilarity_measures\\src\\xsimd\\include",
|
|
31
31
|
"sequenzo/clustering/src/"
|
|
@@ -1398,7 +1398,7 @@ static const char *__pyx_filename;
|
|
|
1398
1398
|
|
|
1399
1399
|
static const char* const __pyx_f[] = {
|
|
1400
1400
|
"sequenzo/dissimilarity_measures/utils/seqdss.pyx",
|
|
1401
|
-
"C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1401
|
+
"C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd",
|
|
1402
1402
|
"cpython/type.pxd",
|
|
1403
1403
|
};
|
|
1404
1404
|
/* #### Code section: utility_code_proto_before_types ### */
|
|
@@ -1598,7 +1598,7 @@ typedef struct {
|
|
|
1598
1598
|
|
|
1599
1599
|
/* #### Code section: numeric_typedefs ### */
|
|
1600
1600
|
|
|
1601
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1601
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":743
|
|
1602
1602
|
* # in Cython to enable them only on the right systems.
|
|
1603
1603
|
*
|
|
1604
1604
|
* ctypedef npy_int8 int8_t # <<<<<<<<<<<<<<
|
|
@@ -1607,7 +1607,7 @@ typedef struct {
|
|
|
1607
1607
|
*/
|
|
1608
1608
|
typedef npy_int8 __pyx_t_5numpy_int8_t;
|
|
1609
1609
|
|
|
1610
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1610
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":744
|
|
1611
1611
|
*
|
|
1612
1612
|
* ctypedef npy_int8 int8_t
|
|
1613
1613
|
* ctypedef npy_int16 int16_t # <<<<<<<<<<<<<<
|
|
@@ -1616,7 +1616,7 @@ typedef npy_int8 __pyx_t_5numpy_int8_t;
|
|
|
1616
1616
|
*/
|
|
1617
1617
|
typedef npy_int16 __pyx_t_5numpy_int16_t;
|
|
1618
1618
|
|
|
1619
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1619
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":745
|
|
1620
1620
|
* ctypedef npy_int8 int8_t
|
|
1621
1621
|
* ctypedef npy_int16 int16_t
|
|
1622
1622
|
* ctypedef npy_int32 int32_t # <<<<<<<<<<<<<<
|
|
@@ -1625,7 +1625,7 @@ typedef npy_int16 __pyx_t_5numpy_int16_t;
|
|
|
1625
1625
|
*/
|
|
1626
1626
|
typedef npy_int32 __pyx_t_5numpy_int32_t;
|
|
1627
1627
|
|
|
1628
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1628
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":746
|
|
1629
1629
|
* ctypedef npy_int16 int16_t
|
|
1630
1630
|
* ctypedef npy_int32 int32_t
|
|
1631
1631
|
* ctypedef npy_int64 int64_t # <<<<<<<<<<<<<<
|
|
@@ -1634,7 +1634,7 @@ typedef npy_int32 __pyx_t_5numpy_int32_t;
|
|
|
1634
1634
|
*/
|
|
1635
1635
|
typedef npy_int64 __pyx_t_5numpy_int64_t;
|
|
1636
1636
|
|
|
1637
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1637
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":748
|
|
1638
1638
|
* ctypedef npy_int64 int64_t
|
|
1639
1639
|
*
|
|
1640
1640
|
* ctypedef npy_uint8 uint8_t # <<<<<<<<<<<<<<
|
|
@@ -1643,7 +1643,7 @@ typedef npy_int64 __pyx_t_5numpy_int64_t;
|
|
|
1643
1643
|
*/
|
|
1644
1644
|
typedef npy_uint8 __pyx_t_5numpy_uint8_t;
|
|
1645
1645
|
|
|
1646
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1646
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":749
|
|
1647
1647
|
*
|
|
1648
1648
|
* ctypedef npy_uint8 uint8_t
|
|
1649
1649
|
* ctypedef npy_uint16 uint16_t # <<<<<<<<<<<<<<
|
|
@@ -1652,7 +1652,7 @@ typedef npy_uint8 __pyx_t_5numpy_uint8_t;
|
|
|
1652
1652
|
*/
|
|
1653
1653
|
typedef npy_uint16 __pyx_t_5numpy_uint16_t;
|
|
1654
1654
|
|
|
1655
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1655
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":750
|
|
1656
1656
|
* ctypedef npy_uint8 uint8_t
|
|
1657
1657
|
* ctypedef npy_uint16 uint16_t
|
|
1658
1658
|
* ctypedef npy_uint32 uint32_t # <<<<<<<<<<<<<<
|
|
@@ -1661,7 +1661,7 @@ typedef npy_uint16 __pyx_t_5numpy_uint16_t;
|
|
|
1661
1661
|
*/
|
|
1662
1662
|
typedef npy_uint32 __pyx_t_5numpy_uint32_t;
|
|
1663
1663
|
|
|
1664
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1664
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":751
|
|
1665
1665
|
* ctypedef npy_uint16 uint16_t
|
|
1666
1666
|
* ctypedef npy_uint32 uint32_t
|
|
1667
1667
|
* ctypedef npy_uint64 uint64_t # <<<<<<<<<<<<<<
|
|
@@ -1670,7 +1670,7 @@ typedef npy_uint32 __pyx_t_5numpy_uint32_t;
|
|
|
1670
1670
|
*/
|
|
1671
1671
|
typedef npy_uint64 __pyx_t_5numpy_uint64_t;
|
|
1672
1672
|
|
|
1673
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1673
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":753
|
|
1674
1674
|
* ctypedef npy_uint64 uint64_t
|
|
1675
1675
|
*
|
|
1676
1676
|
* ctypedef npy_float32 float32_t # <<<<<<<<<<<<<<
|
|
@@ -1679,7 +1679,7 @@ typedef npy_uint64 __pyx_t_5numpy_uint64_t;
|
|
|
1679
1679
|
*/
|
|
1680
1680
|
typedef npy_float32 __pyx_t_5numpy_float32_t;
|
|
1681
1681
|
|
|
1682
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1682
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":754
|
|
1683
1683
|
*
|
|
1684
1684
|
* ctypedef npy_float32 float32_t
|
|
1685
1685
|
* ctypedef npy_float64 float64_t # <<<<<<<<<<<<<<
|
|
@@ -1688,7 +1688,7 @@ typedef npy_float32 __pyx_t_5numpy_float32_t;
|
|
|
1688
1688
|
*/
|
|
1689
1689
|
typedef npy_float64 __pyx_t_5numpy_float64_t;
|
|
1690
1690
|
|
|
1691
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1691
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":761
|
|
1692
1692
|
* ctypedef double complex complex128_t
|
|
1693
1693
|
*
|
|
1694
1694
|
* ctypedef npy_longlong longlong_t # <<<<<<<<<<<<<<
|
|
@@ -1697,7 +1697,7 @@ typedef npy_float64 __pyx_t_5numpy_float64_t;
|
|
|
1697
1697
|
*/
|
|
1698
1698
|
typedef npy_longlong __pyx_t_5numpy_longlong_t;
|
|
1699
1699
|
|
|
1700
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1700
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":762
|
|
1701
1701
|
*
|
|
1702
1702
|
* ctypedef npy_longlong longlong_t
|
|
1703
1703
|
* ctypedef npy_ulonglong ulonglong_t # <<<<<<<<<<<<<<
|
|
@@ -1706,7 +1706,7 @@ typedef npy_longlong __pyx_t_5numpy_longlong_t;
|
|
|
1706
1706
|
*/
|
|
1707
1707
|
typedef npy_ulonglong __pyx_t_5numpy_ulonglong_t;
|
|
1708
1708
|
|
|
1709
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1709
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":764
|
|
1710
1710
|
* ctypedef npy_ulonglong ulonglong_t
|
|
1711
1711
|
*
|
|
1712
1712
|
* ctypedef npy_intp intp_t # <<<<<<<<<<<<<<
|
|
@@ -1715,7 +1715,7 @@ typedef npy_ulonglong __pyx_t_5numpy_ulonglong_t;
|
|
|
1715
1715
|
*/
|
|
1716
1716
|
typedef npy_intp __pyx_t_5numpy_intp_t;
|
|
1717
1717
|
|
|
1718
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1718
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":765
|
|
1719
1719
|
*
|
|
1720
1720
|
* ctypedef npy_intp intp_t
|
|
1721
1721
|
* ctypedef npy_uintp uintp_t # <<<<<<<<<<<<<<
|
|
@@ -1724,7 +1724,7 @@ typedef npy_intp __pyx_t_5numpy_intp_t;
|
|
|
1724
1724
|
*/
|
|
1725
1725
|
typedef npy_uintp __pyx_t_5numpy_uintp_t;
|
|
1726
1726
|
|
|
1727
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1727
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":767
|
|
1728
1728
|
* ctypedef npy_uintp uintp_t
|
|
1729
1729
|
*
|
|
1730
1730
|
* ctypedef npy_double float_t # <<<<<<<<<<<<<<
|
|
@@ -1733,7 +1733,7 @@ typedef npy_uintp __pyx_t_5numpy_uintp_t;
|
|
|
1733
1733
|
*/
|
|
1734
1734
|
typedef npy_double __pyx_t_5numpy_float_t;
|
|
1735
1735
|
|
|
1736
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1736
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":768
|
|
1737
1737
|
*
|
|
1738
1738
|
* ctypedef npy_double float_t
|
|
1739
1739
|
* ctypedef npy_double double_t # <<<<<<<<<<<<<<
|
|
@@ -1742,7 +1742,7 @@ typedef npy_double __pyx_t_5numpy_float_t;
|
|
|
1742
1742
|
*/
|
|
1743
1743
|
typedef npy_double __pyx_t_5numpy_double_t;
|
|
1744
1744
|
|
|
1745
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1745
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":769
|
|
1746
1746
|
* ctypedef npy_double float_t
|
|
1747
1747
|
* ctypedef npy_double double_t
|
|
1748
1748
|
* ctypedef npy_longdouble longdouble_t # <<<<<<<<<<<<<<
|
|
@@ -1792,7 +1792,7 @@ static CYTHON_INLINE __pyx_t_long_double_complex __pyx_t_long_double_complex_fro
|
|
|
1792
1792
|
/*--- Type declarations ---*/
|
|
1793
1793
|
struct __pyx_obj_8sequenzo_22dissimilarity_measures_5utils_6seqdss___pyx_scope_struct__genexpr;
|
|
1794
1794
|
|
|
1795
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":
|
|
1795
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":26
|
|
1796
1796
|
*
|
|
1797
1797
|
* cdef list groups = [row[boundary & (row >= 0)] for row, boundary in zip(ffill, boundaries)]
|
|
1798
1798
|
* cdef int max_groups = max(len(g) for g in groups) # <<<<<<<<<<<<<<
|
|
@@ -3301,7 +3301,7 @@ static CYTHON_SMALL_CODE int __pyx_m_traverse(PyObject *m, visitproc visit, void
|
|
|
3301
3301
|
#endif
|
|
3302
3302
|
/* #### Code section: module_code ### */
|
|
3303
3303
|
|
|
3304
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3304
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":242
|
|
3305
3305
|
* cdef int type_num
|
|
3306
3306
|
*
|
|
3307
3307
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3312,7 +3312,7 @@ static CYTHON_SMALL_CODE int __pyx_m_traverse(PyObject *m, visitproc visit, void
|
|
|
3312
3312
|
static CYTHON_INLINE npy_intp __pyx_f_5numpy_5dtype_8itemsize_itemsize(PyArray_Descr *__pyx_v_self) {
|
|
3313
3313
|
npy_intp __pyx_r;
|
|
3314
3314
|
|
|
3315
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3315
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":244
|
|
3316
3316
|
* @property
|
|
3317
3317
|
* cdef inline npy_intp itemsize(self) noexcept nogil:
|
|
3318
3318
|
* return PyDataType_ELSIZE(self) # <<<<<<<<<<<<<<
|
|
@@ -3322,7 +3322,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_5dtype_8itemsize_itemsize(PyArray_D
|
|
|
3322
3322
|
__pyx_r = PyDataType_ELSIZE(__pyx_v_self);
|
|
3323
3323
|
goto __pyx_L0;
|
|
3324
3324
|
|
|
3325
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3325
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":242
|
|
3326
3326
|
* cdef int type_num
|
|
3327
3327
|
*
|
|
3328
3328
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3335,7 +3335,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_5dtype_8itemsize_itemsize(PyArray_D
|
|
|
3335
3335
|
return __pyx_r;
|
|
3336
3336
|
}
|
|
3337
3337
|
|
|
3338
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3338
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":246
|
|
3339
3339
|
* return PyDataType_ELSIZE(self)
|
|
3340
3340
|
*
|
|
3341
3341
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3346,7 +3346,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_5dtype_8itemsize_itemsize(PyArray_D
|
|
|
3346
3346
|
static CYTHON_INLINE npy_intp __pyx_f_5numpy_5dtype_9alignment_alignment(PyArray_Descr *__pyx_v_self) {
|
|
3347
3347
|
npy_intp __pyx_r;
|
|
3348
3348
|
|
|
3349
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3349
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":248
|
|
3350
3350
|
* @property
|
|
3351
3351
|
* cdef inline npy_intp alignment(self) noexcept nogil:
|
|
3352
3352
|
* return PyDataType_ALIGNMENT(self) # <<<<<<<<<<<<<<
|
|
@@ -3356,7 +3356,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_5dtype_9alignment_alignment(PyArray
|
|
|
3356
3356
|
__pyx_r = PyDataType_ALIGNMENT(__pyx_v_self);
|
|
3357
3357
|
goto __pyx_L0;
|
|
3358
3358
|
|
|
3359
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3359
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":246
|
|
3360
3360
|
* return PyDataType_ELSIZE(self)
|
|
3361
3361
|
*
|
|
3362
3362
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3369,7 +3369,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_5dtype_9alignment_alignment(PyArray
|
|
|
3369
3369
|
return __pyx_r;
|
|
3370
3370
|
}
|
|
3371
3371
|
|
|
3372
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3372
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":252
|
|
3373
3373
|
* # Use fields/names with care as they may be NULL. You must check
|
|
3374
3374
|
* # for this using PyDataType_HASFIELDS.
|
|
3375
3375
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3383,7 +3383,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_5dtype_6fields_fields(PyArray_Desc
|
|
|
3383
3383
|
PyObject *__pyx_t_1;
|
|
3384
3384
|
__Pyx_RefNannySetupContext("fields", 0);
|
|
3385
3385
|
|
|
3386
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3386
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":254
|
|
3387
3387
|
* @property
|
|
3388
3388
|
* cdef inline object fields(self):
|
|
3389
3389
|
* return <object>PyDataType_FIELDS(self) # <<<<<<<<<<<<<<
|
|
@@ -3396,7 +3396,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_5dtype_6fields_fields(PyArray_Desc
|
|
|
3396
3396
|
__pyx_r = ((PyObject *)__pyx_t_1);
|
|
3397
3397
|
goto __pyx_L0;
|
|
3398
3398
|
|
|
3399
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3399
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":252
|
|
3400
3400
|
* # Use fields/names with care as they may be NULL. You must check
|
|
3401
3401
|
* # for this using PyDataType_HASFIELDS.
|
|
3402
3402
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3411,7 +3411,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_5dtype_6fields_fields(PyArray_Desc
|
|
|
3411
3411
|
return __pyx_r;
|
|
3412
3412
|
}
|
|
3413
3413
|
|
|
3414
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3414
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":256
|
|
3415
3415
|
* return <object>PyDataType_FIELDS(self)
|
|
3416
3416
|
*
|
|
3417
3417
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3425,7 +3425,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_5dtype_5names_names(PyArray_Descr
|
|
|
3425
3425
|
PyObject *__pyx_t_1;
|
|
3426
3426
|
__Pyx_RefNannySetupContext("names", 0);
|
|
3427
3427
|
|
|
3428
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3428
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":258
|
|
3429
3429
|
* @property
|
|
3430
3430
|
* cdef inline tuple names(self):
|
|
3431
3431
|
* return <tuple>PyDataType_NAMES(self) # <<<<<<<<<<<<<<
|
|
@@ -3438,7 +3438,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_5dtype_5names_names(PyArray_Descr
|
|
|
3438
3438
|
__pyx_r = ((PyObject*)__pyx_t_1);
|
|
3439
3439
|
goto __pyx_L0;
|
|
3440
3440
|
|
|
3441
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3441
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":256
|
|
3442
3442
|
* return <object>PyDataType_FIELDS(self)
|
|
3443
3443
|
*
|
|
3444
3444
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3453,7 +3453,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_5dtype_5names_names(PyArray_Descr
|
|
|
3453
3453
|
return __pyx_r;
|
|
3454
3454
|
}
|
|
3455
3455
|
|
|
3456
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3456
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":263
|
|
3457
3457
|
* # valid (the pointer can be NULL). Most users should access
|
|
3458
3458
|
* # this field via the inline helper method PyDataType_SHAPE.
|
|
3459
3459
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3464,7 +3464,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_5dtype_5names_names(PyArray_Descr
|
|
|
3464
3464
|
static CYTHON_INLINE PyArray_ArrayDescr *__pyx_f_5numpy_5dtype_8subarray_subarray(PyArray_Descr *__pyx_v_self) {
|
|
3465
3465
|
PyArray_ArrayDescr *__pyx_r;
|
|
3466
3466
|
|
|
3467
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3467
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":265
|
|
3468
3468
|
* @property
|
|
3469
3469
|
* cdef inline PyArray_ArrayDescr* subarray(self) noexcept nogil:
|
|
3470
3470
|
* return PyDataType_SUBARRAY(self) # <<<<<<<<<<<<<<
|
|
@@ -3474,7 +3474,7 @@ static CYTHON_INLINE PyArray_ArrayDescr *__pyx_f_5numpy_5dtype_8subarray_subarra
|
|
|
3474
3474
|
__pyx_r = PyDataType_SUBARRAY(__pyx_v_self);
|
|
3475
3475
|
goto __pyx_L0;
|
|
3476
3476
|
|
|
3477
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3477
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":263
|
|
3478
3478
|
* # valid (the pointer can be NULL). Most users should access
|
|
3479
3479
|
* # this field via the inline helper method PyDataType_SHAPE.
|
|
3480
3480
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3487,7 +3487,7 @@ static CYTHON_INLINE PyArray_ArrayDescr *__pyx_f_5numpy_5dtype_8subarray_subarra
|
|
|
3487
3487
|
return __pyx_r;
|
|
3488
3488
|
}
|
|
3489
3489
|
|
|
3490
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3490
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":267
|
|
3491
3491
|
* return PyDataType_SUBARRAY(self)
|
|
3492
3492
|
*
|
|
3493
3493
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3498,7 +3498,7 @@ static CYTHON_INLINE PyArray_ArrayDescr *__pyx_f_5numpy_5dtype_8subarray_subarra
|
|
|
3498
3498
|
static CYTHON_INLINE npy_uint64 __pyx_f_5numpy_5dtype_5flags_flags(PyArray_Descr *__pyx_v_self) {
|
|
3499
3499
|
npy_uint64 __pyx_r;
|
|
3500
3500
|
|
|
3501
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3501
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":270
|
|
3502
3502
|
* cdef inline npy_uint64 flags(self) noexcept nogil:
|
|
3503
3503
|
* """The data types flags."""
|
|
3504
3504
|
* return PyDataType_FLAGS(self) # <<<<<<<<<<<<<<
|
|
@@ -3508,7 +3508,7 @@ static CYTHON_INLINE npy_uint64 __pyx_f_5numpy_5dtype_5flags_flags(PyArray_Descr
|
|
|
3508
3508
|
__pyx_r = PyDataType_FLAGS(__pyx_v_self);
|
|
3509
3509
|
goto __pyx_L0;
|
|
3510
3510
|
|
|
3511
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3511
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":267
|
|
3512
3512
|
* return PyDataType_SUBARRAY(self)
|
|
3513
3513
|
*
|
|
3514
3514
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3521,7 +3521,7 @@ static CYTHON_INLINE npy_uint64 __pyx_f_5numpy_5dtype_5flags_flags(PyArray_Descr
|
|
|
3521
3521
|
return __pyx_r;
|
|
3522
3522
|
}
|
|
3523
3523
|
|
|
3524
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3524
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":279
|
|
3525
3525
|
* ctypedef class numpy.broadcast [object PyArrayMultiIterObject, check_size ignore]:
|
|
3526
3526
|
*
|
|
3527
3527
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3532,7 +3532,7 @@ static CYTHON_INLINE npy_uint64 __pyx_f_5numpy_5dtype_5flags_flags(PyArray_Descr
|
|
|
3532
3532
|
static CYTHON_INLINE int __pyx_f_5numpy_9broadcast_7numiter_numiter(PyArrayMultiIterObject *__pyx_v_self) {
|
|
3533
3533
|
int __pyx_r;
|
|
3534
3534
|
|
|
3535
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3535
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":282
|
|
3536
3536
|
* cdef inline int numiter(self) noexcept nogil:
|
|
3537
3537
|
* """The number of arrays that need to be broadcast to the same shape."""
|
|
3538
3538
|
* return PyArray_MultiIter_NUMITER(self) # <<<<<<<<<<<<<<
|
|
@@ -3542,7 +3542,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_9broadcast_7numiter_numiter(PyArrayMulti
|
|
|
3542
3542
|
__pyx_r = PyArray_MultiIter_NUMITER(__pyx_v_self);
|
|
3543
3543
|
goto __pyx_L0;
|
|
3544
3544
|
|
|
3545
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3545
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":279
|
|
3546
3546
|
* ctypedef class numpy.broadcast [object PyArrayMultiIterObject, check_size ignore]:
|
|
3547
3547
|
*
|
|
3548
3548
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3555,7 +3555,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_9broadcast_7numiter_numiter(PyArrayMulti
|
|
|
3555
3555
|
return __pyx_r;
|
|
3556
3556
|
}
|
|
3557
3557
|
|
|
3558
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3558
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":284
|
|
3559
3559
|
* return PyArray_MultiIter_NUMITER(self)
|
|
3560
3560
|
*
|
|
3561
3561
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3566,7 +3566,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_9broadcast_7numiter_numiter(PyArrayMulti
|
|
|
3566
3566
|
static CYTHON_INLINE npy_intp __pyx_f_5numpy_9broadcast_4size_size(PyArrayMultiIterObject *__pyx_v_self) {
|
|
3567
3567
|
npy_intp __pyx_r;
|
|
3568
3568
|
|
|
3569
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3569
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":287
|
|
3570
3570
|
* cdef inline npy_intp size(self) noexcept nogil:
|
|
3571
3571
|
* """The total broadcasted size."""
|
|
3572
3572
|
* return PyArray_MultiIter_SIZE(self) # <<<<<<<<<<<<<<
|
|
@@ -3576,7 +3576,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_9broadcast_4size_size(PyArrayMultiI
|
|
|
3576
3576
|
__pyx_r = PyArray_MultiIter_SIZE(__pyx_v_self);
|
|
3577
3577
|
goto __pyx_L0;
|
|
3578
3578
|
|
|
3579
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3579
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":284
|
|
3580
3580
|
* return PyArray_MultiIter_NUMITER(self)
|
|
3581
3581
|
*
|
|
3582
3582
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3589,7 +3589,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_9broadcast_4size_size(PyArrayMultiI
|
|
|
3589
3589
|
return __pyx_r;
|
|
3590
3590
|
}
|
|
3591
3591
|
|
|
3592
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3592
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":289
|
|
3593
3593
|
* return PyArray_MultiIter_SIZE(self)
|
|
3594
3594
|
*
|
|
3595
3595
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3600,7 +3600,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_9broadcast_4size_size(PyArrayMultiI
|
|
|
3600
3600
|
static CYTHON_INLINE npy_intp __pyx_f_5numpy_9broadcast_5index_index(PyArrayMultiIterObject *__pyx_v_self) {
|
|
3601
3601
|
npy_intp __pyx_r;
|
|
3602
3602
|
|
|
3603
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3603
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":292
|
|
3604
3604
|
* cdef inline npy_intp index(self) noexcept nogil:
|
|
3605
3605
|
* """The current (1-d) index into the broadcasted result."""
|
|
3606
3606
|
* return PyArray_MultiIter_INDEX(self) # <<<<<<<<<<<<<<
|
|
@@ -3610,7 +3610,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_9broadcast_5index_index(PyArrayMult
|
|
|
3610
3610
|
__pyx_r = PyArray_MultiIter_INDEX(__pyx_v_self);
|
|
3611
3611
|
goto __pyx_L0;
|
|
3612
3612
|
|
|
3613
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3613
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":289
|
|
3614
3614
|
* return PyArray_MultiIter_SIZE(self)
|
|
3615
3615
|
*
|
|
3616
3616
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3623,7 +3623,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_9broadcast_5index_index(PyArrayMult
|
|
|
3623
3623
|
return __pyx_r;
|
|
3624
3624
|
}
|
|
3625
3625
|
|
|
3626
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3626
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":294
|
|
3627
3627
|
* return PyArray_MultiIter_INDEX(self)
|
|
3628
3628
|
*
|
|
3629
3629
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3634,7 +3634,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_9broadcast_5index_index(PyArrayMult
|
|
|
3634
3634
|
static CYTHON_INLINE int __pyx_f_5numpy_9broadcast_2nd_nd(PyArrayMultiIterObject *__pyx_v_self) {
|
|
3635
3635
|
int __pyx_r;
|
|
3636
3636
|
|
|
3637
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3637
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":297
|
|
3638
3638
|
* cdef inline int nd(self) noexcept nogil:
|
|
3639
3639
|
* """The number of dimensions in the broadcasted result."""
|
|
3640
3640
|
* return PyArray_MultiIter_NDIM(self) # <<<<<<<<<<<<<<
|
|
@@ -3644,7 +3644,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_9broadcast_2nd_nd(PyArrayMultiIterObject
|
|
|
3644
3644
|
__pyx_r = PyArray_MultiIter_NDIM(__pyx_v_self);
|
|
3645
3645
|
goto __pyx_L0;
|
|
3646
3646
|
|
|
3647
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3647
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":294
|
|
3648
3648
|
* return PyArray_MultiIter_INDEX(self)
|
|
3649
3649
|
*
|
|
3650
3650
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3657,7 +3657,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_9broadcast_2nd_nd(PyArrayMultiIterObject
|
|
|
3657
3657
|
return __pyx_r;
|
|
3658
3658
|
}
|
|
3659
3659
|
|
|
3660
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3660
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":299
|
|
3661
3661
|
* return PyArray_MultiIter_NDIM(self)
|
|
3662
3662
|
*
|
|
3663
3663
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3668,7 +3668,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_9broadcast_2nd_nd(PyArrayMultiIterObject
|
|
|
3668
3668
|
static CYTHON_INLINE npy_intp *__pyx_f_5numpy_9broadcast_10dimensions_dimensions(PyArrayMultiIterObject *__pyx_v_self) {
|
|
3669
3669
|
npy_intp *__pyx_r;
|
|
3670
3670
|
|
|
3671
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3671
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":302
|
|
3672
3672
|
* cdef inline npy_intp* dimensions(self) noexcept nogil:
|
|
3673
3673
|
* """The shape of the broadcasted result."""
|
|
3674
3674
|
* return PyArray_MultiIter_DIMS(self) # <<<<<<<<<<<<<<
|
|
@@ -3678,7 +3678,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_9broadcast_10dimensions_dimensions
|
|
|
3678
3678
|
__pyx_r = PyArray_MultiIter_DIMS(__pyx_v_self);
|
|
3679
3679
|
goto __pyx_L0;
|
|
3680
3680
|
|
|
3681
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3681
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":299
|
|
3682
3682
|
* return PyArray_MultiIter_NDIM(self)
|
|
3683
3683
|
*
|
|
3684
3684
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3691,7 +3691,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_9broadcast_10dimensions_dimensions
|
|
|
3691
3691
|
return __pyx_r;
|
|
3692
3692
|
}
|
|
3693
3693
|
|
|
3694
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3694
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":304
|
|
3695
3695
|
* return PyArray_MultiIter_DIMS(self)
|
|
3696
3696
|
*
|
|
3697
3697
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3702,7 +3702,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_9broadcast_10dimensions_dimensions
|
|
|
3702
3702
|
static CYTHON_INLINE void **__pyx_f_5numpy_9broadcast_5iters_iters(PyArrayMultiIterObject *__pyx_v_self) {
|
|
3703
3703
|
void **__pyx_r;
|
|
3704
3704
|
|
|
3705
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3705
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":308
|
|
3706
3706
|
* """An array of iterator objects that holds the iterators for the arrays to be broadcast together.
|
|
3707
3707
|
* On return, the iterators are adjusted for broadcasting."""
|
|
3708
3708
|
* return PyArray_MultiIter_ITERS(self) # <<<<<<<<<<<<<<
|
|
@@ -3712,7 +3712,7 @@ static CYTHON_INLINE void **__pyx_f_5numpy_9broadcast_5iters_iters(PyArrayMultiI
|
|
|
3712
3712
|
__pyx_r = PyArray_MultiIter_ITERS(__pyx_v_self);
|
|
3713
3713
|
goto __pyx_L0;
|
|
3714
3714
|
|
|
3715
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3715
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":304
|
|
3716
3716
|
* return PyArray_MultiIter_DIMS(self)
|
|
3717
3717
|
*
|
|
3718
3718
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3725,7 +3725,7 @@ static CYTHON_INLINE void **__pyx_f_5numpy_9broadcast_5iters_iters(PyArrayMultiI
|
|
|
3725
3725
|
return __pyx_r;
|
|
3726
3726
|
}
|
|
3727
3727
|
|
|
3728
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3728
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":322
|
|
3729
3729
|
* # Instead, we use properties that map to the corresponding C-API functions.
|
|
3730
3730
|
*
|
|
3731
3731
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3736,7 +3736,7 @@ static CYTHON_INLINE void **__pyx_f_5numpy_9broadcast_5iters_iters(PyArrayMultiI
|
|
|
3736
3736
|
static CYTHON_INLINE PyObject *__pyx_f_5numpy_7ndarray_4base_base(PyArrayObject *__pyx_v_self) {
|
|
3737
3737
|
PyObject *__pyx_r;
|
|
3738
3738
|
|
|
3739
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3739
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":326
|
|
3740
3740
|
* """Returns a borrowed reference to the object owning the data/memory.
|
|
3741
3741
|
* """
|
|
3742
3742
|
* return PyArray_BASE(self) # <<<<<<<<<<<<<<
|
|
@@ -3746,7 +3746,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_7ndarray_4base_base(PyArrayObject
|
|
|
3746
3746
|
__pyx_r = PyArray_BASE(__pyx_v_self);
|
|
3747
3747
|
goto __pyx_L0;
|
|
3748
3748
|
|
|
3749
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3749
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":322
|
|
3750
3750
|
* # Instead, we use properties that map to the corresponding C-API functions.
|
|
3751
3751
|
*
|
|
3752
3752
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3759,7 +3759,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_7ndarray_4base_base(PyArrayObject
|
|
|
3759
3759
|
return __pyx_r;
|
|
3760
3760
|
}
|
|
3761
3761
|
|
|
3762
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3762
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":328
|
|
3763
3763
|
* return PyArray_BASE(self)
|
|
3764
3764
|
*
|
|
3765
3765
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3773,7 +3773,7 @@ static CYTHON_INLINE PyArray_Descr *__pyx_f_5numpy_7ndarray_5descr_descr(PyArray
|
|
|
3773
3773
|
PyArray_Descr *__pyx_t_1;
|
|
3774
3774
|
__Pyx_RefNannySetupContext("descr", 0);
|
|
3775
3775
|
|
|
3776
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3776
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":332
|
|
3777
3777
|
* """Returns an owned reference to the dtype of the array.
|
|
3778
3778
|
* """
|
|
3779
3779
|
* return <dtype>PyArray_DESCR(self) # <<<<<<<<<<<<<<
|
|
@@ -3786,7 +3786,7 @@ static CYTHON_INLINE PyArray_Descr *__pyx_f_5numpy_7ndarray_5descr_descr(PyArray
|
|
|
3786
3786
|
__pyx_r = ((PyArray_Descr *)__pyx_t_1);
|
|
3787
3787
|
goto __pyx_L0;
|
|
3788
3788
|
|
|
3789
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3789
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":328
|
|
3790
3790
|
* return PyArray_BASE(self)
|
|
3791
3791
|
*
|
|
3792
3792
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3801,7 +3801,7 @@ static CYTHON_INLINE PyArray_Descr *__pyx_f_5numpy_7ndarray_5descr_descr(PyArray
|
|
|
3801
3801
|
return __pyx_r;
|
|
3802
3802
|
}
|
|
3803
3803
|
|
|
3804
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3804
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":334
|
|
3805
3805
|
* return <dtype>PyArray_DESCR(self)
|
|
3806
3806
|
*
|
|
3807
3807
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3812,7 +3812,7 @@ static CYTHON_INLINE PyArray_Descr *__pyx_f_5numpy_7ndarray_5descr_descr(PyArray
|
|
|
3812
3812
|
static CYTHON_INLINE int __pyx_f_5numpy_7ndarray_4ndim_ndim(PyArrayObject *__pyx_v_self) {
|
|
3813
3813
|
int __pyx_r;
|
|
3814
3814
|
|
|
3815
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3815
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":338
|
|
3816
3816
|
* """Returns the number of dimensions in the array.
|
|
3817
3817
|
* """
|
|
3818
3818
|
* return PyArray_NDIM(self) # <<<<<<<<<<<<<<
|
|
@@ -3822,7 +3822,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_7ndarray_4ndim_ndim(PyArrayObject *__pyx
|
|
|
3822
3822
|
__pyx_r = PyArray_NDIM(__pyx_v_self);
|
|
3823
3823
|
goto __pyx_L0;
|
|
3824
3824
|
|
|
3825
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3825
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":334
|
|
3826
3826
|
* return <dtype>PyArray_DESCR(self)
|
|
3827
3827
|
*
|
|
3828
3828
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3835,7 +3835,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_7ndarray_4ndim_ndim(PyArrayObject *__pyx
|
|
|
3835
3835
|
return __pyx_r;
|
|
3836
3836
|
}
|
|
3837
3837
|
|
|
3838
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3838
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":340
|
|
3839
3839
|
* return PyArray_NDIM(self)
|
|
3840
3840
|
*
|
|
3841
3841
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3846,7 +3846,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_7ndarray_4ndim_ndim(PyArrayObject *__pyx
|
|
|
3846
3846
|
static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_5shape_shape(PyArrayObject *__pyx_v_self) {
|
|
3847
3847
|
npy_intp *__pyx_r;
|
|
3848
3848
|
|
|
3849
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3849
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":346
|
|
3850
3850
|
* Can return NULL for 0-dimensional arrays.
|
|
3851
3851
|
* """
|
|
3852
3852
|
* return PyArray_DIMS(self) # <<<<<<<<<<<<<<
|
|
@@ -3856,7 +3856,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_5shape_shape(PyArrayObjec
|
|
|
3856
3856
|
__pyx_r = PyArray_DIMS(__pyx_v_self);
|
|
3857
3857
|
goto __pyx_L0;
|
|
3858
3858
|
|
|
3859
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3859
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":340
|
|
3860
3860
|
* return PyArray_NDIM(self)
|
|
3861
3861
|
*
|
|
3862
3862
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3869,7 +3869,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_5shape_shape(PyArrayObjec
|
|
|
3869
3869
|
return __pyx_r;
|
|
3870
3870
|
}
|
|
3871
3871
|
|
|
3872
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3872
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":348
|
|
3873
3873
|
* return PyArray_DIMS(self)
|
|
3874
3874
|
*
|
|
3875
3875
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3880,7 +3880,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_5shape_shape(PyArrayObjec
|
|
|
3880
3880
|
static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_7strides_strides(PyArrayObject *__pyx_v_self) {
|
|
3881
3881
|
npy_intp *__pyx_r;
|
|
3882
3882
|
|
|
3883
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3883
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":353
|
|
3884
3884
|
* The number of elements matches the number of dimensions of the array (ndim).
|
|
3885
3885
|
* """
|
|
3886
3886
|
* return PyArray_STRIDES(self) # <<<<<<<<<<<<<<
|
|
@@ -3890,7 +3890,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_7strides_strides(PyArrayO
|
|
|
3890
3890
|
__pyx_r = PyArray_STRIDES(__pyx_v_self);
|
|
3891
3891
|
goto __pyx_L0;
|
|
3892
3892
|
|
|
3893
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3893
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":348
|
|
3894
3894
|
* return PyArray_DIMS(self)
|
|
3895
3895
|
*
|
|
3896
3896
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3903,7 +3903,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_7strides_strides(PyArrayO
|
|
|
3903
3903
|
return __pyx_r;
|
|
3904
3904
|
}
|
|
3905
3905
|
|
|
3906
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3906
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":355
|
|
3907
3907
|
* return PyArray_STRIDES(self)
|
|
3908
3908
|
*
|
|
3909
3909
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3914,7 +3914,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_7strides_strides(PyArrayO
|
|
|
3914
3914
|
static CYTHON_INLINE npy_intp __pyx_f_5numpy_7ndarray_4size_size(PyArrayObject *__pyx_v_self) {
|
|
3915
3915
|
npy_intp __pyx_r;
|
|
3916
3916
|
|
|
3917
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3917
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":359
|
|
3918
3918
|
* """Returns the total size (in number of elements) of the array.
|
|
3919
3919
|
* """
|
|
3920
3920
|
* return PyArray_SIZE(self) # <<<<<<<<<<<<<<
|
|
@@ -3924,7 +3924,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_7ndarray_4size_size(PyArrayObject *
|
|
|
3924
3924
|
__pyx_r = PyArray_SIZE(__pyx_v_self);
|
|
3925
3925
|
goto __pyx_L0;
|
|
3926
3926
|
|
|
3927
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3927
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":355
|
|
3928
3928
|
* return PyArray_STRIDES(self)
|
|
3929
3929
|
*
|
|
3930
3930
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3937,7 +3937,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_7ndarray_4size_size(PyArrayObject *
|
|
|
3937
3937
|
return __pyx_r;
|
|
3938
3938
|
}
|
|
3939
3939
|
|
|
3940
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3940
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":361
|
|
3941
3941
|
* return PyArray_SIZE(self)
|
|
3942
3942
|
*
|
|
3943
3943
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3948,7 +3948,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_7ndarray_4size_size(PyArrayObject *
|
|
|
3948
3948
|
static CYTHON_INLINE char *__pyx_f_5numpy_7ndarray_4data_data(PyArrayObject *__pyx_v_self) {
|
|
3949
3949
|
char *__pyx_r;
|
|
3950
3950
|
|
|
3951
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3951
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":368
|
|
3952
3952
|
* of `PyArray_DATA()` instead, which returns a 'void*'.
|
|
3953
3953
|
* """
|
|
3954
3954
|
* return PyArray_BYTES(self) # <<<<<<<<<<<<<<
|
|
@@ -3958,7 +3958,7 @@ static CYTHON_INLINE char *__pyx_f_5numpy_7ndarray_4data_data(PyArrayObject *__p
|
|
|
3958
3958
|
__pyx_r = PyArray_BYTES(__pyx_v_self);
|
|
3959
3959
|
goto __pyx_L0;
|
|
3960
3960
|
|
|
3961
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3961
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":361
|
|
3962
3962
|
* return PyArray_SIZE(self)
|
|
3963
3963
|
*
|
|
3964
3964
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3971,7 +3971,7 @@ static CYTHON_INLINE char *__pyx_f_5numpy_7ndarray_4data_data(PyArrayObject *__p
|
|
|
3971
3971
|
return __pyx_r;
|
|
3972
3972
|
}
|
|
3973
3973
|
|
|
3974
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3974
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":776
|
|
3975
3975
|
* ctypedef long double complex clongdouble_t
|
|
3976
3976
|
*
|
|
3977
3977
|
* cdef inline object PyArray_MultiIterNew1(a): # <<<<<<<<<<<<<<
|
|
@@ -3988,7 +3988,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew1(PyObject *__
|
|
|
3988
3988
|
int __pyx_clineno = 0;
|
|
3989
3989
|
__Pyx_RefNannySetupContext("PyArray_MultiIterNew1", 0);
|
|
3990
3990
|
|
|
3991
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3991
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":777
|
|
3992
3992
|
*
|
|
3993
3993
|
* cdef inline object PyArray_MultiIterNew1(a):
|
|
3994
3994
|
* return PyArray_MultiIterNew(1, <void*>a) # <<<<<<<<<<<<<<
|
|
@@ -4002,7 +4002,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew1(PyObject *__
|
|
|
4002
4002
|
__pyx_t_1 = 0;
|
|
4003
4003
|
goto __pyx_L0;
|
|
4004
4004
|
|
|
4005
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4005
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":776
|
|
4006
4006
|
* ctypedef long double complex clongdouble_t
|
|
4007
4007
|
*
|
|
4008
4008
|
* cdef inline object PyArray_MultiIterNew1(a): # <<<<<<<<<<<<<<
|
|
@@ -4021,7 +4021,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew1(PyObject *__
|
|
|
4021
4021
|
return __pyx_r;
|
|
4022
4022
|
}
|
|
4023
4023
|
|
|
4024
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4024
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":779
|
|
4025
4025
|
* return PyArray_MultiIterNew(1, <void*>a)
|
|
4026
4026
|
*
|
|
4027
4027
|
* cdef inline object PyArray_MultiIterNew2(a, b): # <<<<<<<<<<<<<<
|
|
@@ -4038,7 +4038,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew2(PyObject *__
|
|
|
4038
4038
|
int __pyx_clineno = 0;
|
|
4039
4039
|
__Pyx_RefNannySetupContext("PyArray_MultiIterNew2", 0);
|
|
4040
4040
|
|
|
4041
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4041
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":780
|
|
4042
4042
|
*
|
|
4043
4043
|
* cdef inline object PyArray_MultiIterNew2(a, b):
|
|
4044
4044
|
* return PyArray_MultiIterNew(2, <void*>a, <void*>b) # <<<<<<<<<<<<<<
|
|
@@ -4052,7 +4052,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew2(PyObject *__
|
|
|
4052
4052
|
__pyx_t_1 = 0;
|
|
4053
4053
|
goto __pyx_L0;
|
|
4054
4054
|
|
|
4055
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4055
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":779
|
|
4056
4056
|
* return PyArray_MultiIterNew(1, <void*>a)
|
|
4057
4057
|
*
|
|
4058
4058
|
* cdef inline object PyArray_MultiIterNew2(a, b): # <<<<<<<<<<<<<<
|
|
@@ -4071,7 +4071,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew2(PyObject *__
|
|
|
4071
4071
|
return __pyx_r;
|
|
4072
4072
|
}
|
|
4073
4073
|
|
|
4074
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4074
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":782
|
|
4075
4075
|
* return PyArray_MultiIterNew(2, <void*>a, <void*>b)
|
|
4076
4076
|
*
|
|
4077
4077
|
* cdef inline object PyArray_MultiIterNew3(a, b, c): # <<<<<<<<<<<<<<
|
|
@@ -4088,7 +4088,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew3(PyObject *__
|
|
|
4088
4088
|
int __pyx_clineno = 0;
|
|
4089
4089
|
__Pyx_RefNannySetupContext("PyArray_MultiIterNew3", 0);
|
|
4090
4090
|
|
|
4091
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4091
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":783
|
|
4092
4092
|
*
|
|
4093
4093
|
* cdef inline object PyArray_MultiIterNew3(a, b, c):
|
|
4094
4094
|
* return PyArray_MultiIterNew(3, <void*>a, <void*>b, <void*> c) # <<<<<<<<<<<<<<
|
|
@@ -4102,7 +4102,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew3(PyObject *__
|
|
|
4102
4102
|
__pyx_t_1 = 0;
|
|
4103
4103
|
goto __pyx_L0;
|
|
4104
4104
|
|
|
4105
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4105
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":782
|
|
4106
4106
|
* return PyArray_MultiIterNew(2, <void*>a, <void*>b)
|
|
4107
4107
|
*
|
|
4108
4108
|
* cdef inline object PyArray_MultiIterNew3(a, b, c): # <<<<<<<<<<<<<<
|
|
@@ -4121,7 +4121,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew3(PyObject *__
|
|
|
4121
4121
|
return __pyx_r;
|
|
4122
4122
|
}
|
|
4123
4123
|
|
|
4124
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4124
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":785
|
|
4125
4125
|
* return PyArray_MultiIterNew(3, <void*>a, <void*>b, <void*> c)
|
|
4126
4126
|
*
|
|
4127
4127
|
* cdef inline object PyArray_MultiIterNew4(a, b, c, d): # <<<<<<<<<<<<<<
|
|
@@ -4138,7 +4138,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew4(PyObject *__
|
|
|
4138
4138
|
int __pyx_clineno = 0;
|
|
4139
4139
|
__Pyx_RefNannySetupContext("PyArray_MultiIterNew4", 0);
|
|
4140
4140
|
|
|
4141
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4141
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":786
|
|
4142
4142
|
*
|
|
4143
4143
|
* cdef inline object PyArray_MultiIterNew4(a, b, c, d):
|
|
4144
4144
|
* return PyArray_MultiIterNew(4, <void*>a, <void*>b, <void*>c, <void*> d) # <<<<<<<<<<<<<<
|
|
@@ -4152,7 +4152,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew4(PyObject *__
|
|
|
4152
4152
|
__pyx_t_1 = 0;
|
|
4153
4153
|
goto __pyx_L0;
|
|
4154
4154
|
|
|
4155
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4155
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":785
|
|
4156
4156
|
* return PyArray_MultiIterNew(3, <void*>a, <void*>b, <void*> c)
|
|
4157
4157
|
*
|
|
4158
4158
|
* cdef inline object PyArray_MultiIterNew4(a, b, c, d): # <<<<<<<<<<<<<<
|
|
@@ -4171,7 +4171,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew4(PyObject *__
|
|
|
4171
4171
|
return __pyx_r;
|
|
4172
4172
|
}
|
|
4173
4173
|
|
|
4174
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4174
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":788
|
|
4175
4175
|
* return PyArray_MultiIterNew(4, <void*>a, <void*>b, <void*>c, <void*> d)
|
|
4176
4176
|
*
|
|
4177
4177
|
* cdef inline object PyArray_MultiIterNew5(a, b, c, d, e): # <<<<<<<<<<<<<<
|
|
@@ -4188,7 +4188,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew5(PyObject *__
|
|
|
4188
4188
|
int __pyx_clineno = 0;
|
|
4189
4189
|
__Pyx_RefNannySetupContext("PyArray_MultiIterNew5", 0);
|
|
4190
4190
|
|
|
4191
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4191
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":789
|
|
4192
4192
|
*
|
|
4193
4193
|
* cdef inline object PyArray_MultiIterNew5(a, b, c, d, e):
|
|
4194
4194
|
* return PyArray_MultiIterNew(5, <void*>a, <void*>b, <void*>c, <void*> d, <void*> e) # <<<<<<<<<<<<<<
|
|
@@ -4202,7 +4202,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew5(PyObject *__
|
|
|
4202
4202
|
__pyx_t_1 = 0;
|
|
4203
4203
|
goto __pyx_L0;
|
|
4204
4204
|
|
|
4205
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4205
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":788
|
|
4206
4206
|
* return PyArray_MultiIterNew(4, <void*>a, <void*>b, <void*>c, <void*> d)
|
|
4207
4207
|
*
|
|
4208
4208
|
* cdef inline object PyArray_MultiIterNew5(a, b, c, d, e): # <<<<<<<<<<<<<<
|
|
@@ -4221,7 +4221,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew5(PyObject *__
|
|
|
4221
4221
|
return __pyx_r;
|
|
4222
4222
|
}
|
|
4223
4223
|
|
|
4224
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4224
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":791
|
|
4225
4225
|
* return PyArray_MultiIterNew(5, <void*>a, <void*>b, <void*>c, <void*> d, <void*> e)
|
|
4226
4226
|
*
|
|
4227
4227
|
* cdef inline tuple PyDataType_SHAPE(dtype d): # <<<<<<<<<<<<<<
|
|
@@ -4236,7 +4236,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
|
|
|
4236
4236
|
PyObject *__pyx_t_2;
|
|
4237
4237
|
__Pyx_RefNannySetupContext("PyDataType_SHAPE", 0);
|
|
4238
4238
|
|
|
4239
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4239
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":792
|
|
4240
4240
|
*
|
|
4241
4241
|
* cdef inline tuple PyDataType_SHAPE(dtype d):
|
|
4242
4242
|
* if PyDataType_HASSUBARRAY(d): # <<<<<<<<<<<<<<
|
|
@@ -4246,7 +4246,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
|
|
|
4246
4246
|
__pyx_t_1 = PyDataType_HASSUBARRAY(__pyx_v_d);
|
|
4247
4247
|
if (__pyx_t_1) {
|
|
4248
4248
|
|
|
4249
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4249
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":793
|
|
4250
4250
|
* cdef inline tuple PyDataType_SHAPE(dtype d):
|
|
4251
4251
|
* if PyDataType_HASSUBARRAY(d):
|
|
4252
4252
|
* return <tuple>d.subarray.shape # <<<<<<<<<<<<<<
|
|
@@ -4259,7 +4259,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
|
|
|
4259
4259
|
__pyx_r = ((PyObject*)__pyx_t_2);
|
|
4260
4260
|
goto __pyx_L0;
|
|
4261
4261
|
|
|
4262
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4262
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":792
|
|
4263
4263
|
*
|
|
4264
4264
|
* cdef inline tuple PyDataType_SHAPE(dtype d):
|
|
4265
4265
|
* if PyDataType_HASSUBARRAY(d): # <<<<<<<<<<<<<<
|
|
@@ -4268,7 +4268,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
|
|
|
4268
4268
|
*/
|
|
4269
4269
|
}
|
|
4270
4270
|
|
|
4271
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4271
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":795
|
|
4272
4272
|
* return <tuple>d.subarray.shape
|
|
4273
4273
|
* else:
|
|
4274
4274
|
* return () # <<<<<<<<<<<<<<
|
|
@@ -4282,7 +4282,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
|
|
|
4282
4282
|
goto __pyx_L0;
|
|
4283
4283
|
}
|
|
4284
4284
|
|
|
4285
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4285
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":791
|
|
4286
4286
|
* return PyArray_MultiIterNew(5, <void*>a, <void*>b, <void*>c, <void*> d, <void*> e)
|
|
4287
4287
|
*
|
|
4288
4288
|
* cdef inline tuple PyDataType_SHAPE(dtype d): # <<<<<<<<<<<<<<
|
|
@@ -4297,7 +4297,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
|
|
|
4297
4297
|
return __pyx_r;
|
|
4298
4298
|
}
|
|
4299
4299
|
|
|
4300
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4300
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":994
|
|
4301
4301
|
* int _import_umath() except -1
|
|
4302
4302
|
*
|
|
4303
4303
|
* cdef inline void set_array_base(ndarray arr, object base) except *: # <<<<<<<<<<<<<<
|
|
@@ -4311,7 +4311,7 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a
|
|
|
4311
4311
|
const char *__pyx_filename = NULL;
|
|
4312
4312
|
int __pyx_clineno = 0;
|
|
4313
4313
|
|
|
4314
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4314
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":995
|
|
4315
4315
|
*
|
|
4316
4316
|
* cdef inline void set_array_base(ndarray arr, object base) except *:
|
|
4317
4317
|
* Py_INCREF(base) # important to do this before stealing the reference below! # <<<<<<<<<<<<<<
|
|
@@ -4320,7 +4320,7 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a
|
|
|
4320
4320
|
*/
|
|
4321
4321
|
Py_INCREF(__pyx_v_base);
|
|
4322
4322
|
|
|
4323
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4323
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":996
|
|
4324
4324
|
* cdef inline void set_array_base(ndarray arr, object base) except *:
|
|
4325
4325
|
* Py_INCREF(base) # important to do this before stealing the reference below!
|
|
4326
4326
|
* PyArray_SetBaseObject(arr, base) # <<<<<<<<<<<<<<
|
|
@@ -4329,7 +4329,7 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a
|
|
|
4329
4329
|
*/
|
|
4330
4330
|
__pyx_t_1 = PyArray_SetBaseObject(__pyx_v_arr, __pyx_v_base); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(1, 996, __pyx_L1_error)
|
|
4331
4331
|
|
|
4332
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4332
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":994
|
|
4333
4333
|
* int _import_umath() except -1
|
|
4334
4334
|
*
|
|
4335
4335
|
* cdef inline void set_array_base(ndarray arr, object base) except *: # <<<<<<<<<<<<<<
|
|
@@ -4344,7 +4344,7 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a
|
|
|
4344
4344
|
__pyx_L0:;
|
|
4345
4345
|
}
|
|
4346
4346
|
|
|
4347
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4347
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":998
|
|
4348
4348
|
* PyArray_SetBaseObject(arr, base)
|
|
4349
4349
|
*
|
|
4350
4350
|
* cdef inline object get_array_base(ndarray arr): # <<<<<<<<<<<<<<
|
|
@@ -4359,7 +4359,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
|
|
|
4359
4359
|
int __pyx_t_1;
|
|
4360
4360
|
__Pyx_RefNannySetupContext("get_array_base", 0);
|
|
4361
4361
|
|
|
4362
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4362
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":999
|
|
4363
4363
|
*
|
|
4364
4364
|
* cdef inline object get_array_base(ndarray arr):
|
|
4365
4365
|
* base = PyArray_BASE(arr) # <<<<<<<<<<<<<<
|
|
@@ -4368,7 +4368,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
|
|
|
4368
4368
|
*/
|
|
4369
4369
|
__pyx_v_base = PyArray_BASE(__pyx_v_arr);
|
|
4370
4370
|
|
|
4371
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4371
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1000
|
|
4372
4372
|
* cdef inline object get_array_base(ndarray arr):
|
|
4373
4373
|
* base = PyArray_BASE(arr)
|
|
4374
4374
|
* if base is NULL: # <<<<<<<<<<<<<<
|
|
@@ -4378,7 +4378,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
|
|
|
4378
4378
|
__pyx_t_1 = (__pyx_v_base == NULL);
|
|
4379
4379
|
if (__pyx_t_1) {
|
|
4380
4380
|
|
|
4381
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4381
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1001
|
|
4382
4382
|
* base = PyArray_BASE(arr)
|
|
4383
4383
|
* if base is NULL:
|
|
4384
4384
|
* return None # <<<<<<<<<<<<<<
|
|
@@ -4389,7 +4389,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
|
|
|
4389
4389
|
__pyx_r = Py_None; __Pyx_INCREF(Py_None);
|
|
4390
4390
|
goto __pyx_L0;
|
|
4391
4391
|
|
|
4392
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4392
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1000
|
|
4393
4393
|
* cdef inline object get_array_base(ndarray arr):
|
|
4394
4394
|
* base = PyArray_BASE(arr)
|
|
4395
4395
|
* if base is NULL: # <<<<<<<<<<<<<<
|
|
@@ -4398,7 +4398,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
|
|
|
4398
4398
|
*/
|
|
4399
4399
|
}
|
|
4400
4400
|
|
|
4401
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4401
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1002
|
|
4402
4402
|
* if base is NULL:
|
|
4403
4403
|
* return None
|
|
4404
4404
|
* return <object>base # <<<<<<<<<<<<<<
|
|
@@ -4410,7 +4410,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
|
|
|
4410
4410
|
__pyx_r = ((PyObject *)__pyx_v_base);
|
|
4411
4411
|
goto __pyx_L0;
|
|
4412
4412
|
|
|
4413
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4413
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":998
|
|
4414
4414
|
* PyArray_SetBaseObject(arr, base)
|
|
4415
4415
|
*
|
|
4416
4416
|
* cdef inline object get_array_base(ndarray arr): # <<<<<<<<<<<<<<
|
|
@@ -4425,7 +4425,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
|
|
|
4425
4425
|
return __pyx_r;
|
|
4426
4426
|
}
|
|
4427
4427
|
|
|
4428
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4428
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1006
|
|
4429
4429
|
* # Versions of the import_* functions which are more suitable for
|
|
4430
4430
|
* # Cython code.
|
|
4431
4431
|
* cdef inline int import_array() except -1: # <<<<<<<<<<<<<<
|
|
@@ -4452,7 +4452,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
|
|
|
4452
4452
|
int __pyx_clineno = 0;
|
|
4453
4453
|
__Pyx_RefNannySetupContext("import_array", 0);
|
|
4454
4454
|
|
|
4455
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4455
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1007
|
|
4456
4456
|
* # Cython code.
|
|
4457
4457
|
* cdef inline int import_array() except -1:
|
|
4458
4458
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -4468,7 +4468,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
|
|
|
4468
4468
|
__Pyx_XGOTREF(__pyx_t_3);
|
|
4469
4469
|
/*try:*/ {
|
|
4470
4470
|
|
|
4471
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4471
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1008
|
|
4472
4472
|
* cdef inline int import_array() except -1:
|
|
4473
4473
|
* try:
|
|
4474
4474
|
* __pyx_import_array() # <<<<<<<<<<<<<<
|
|
@@ -4477,7 +4477,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
|
|
|
4477
4477
|
*/
|
|
4478
4478
|
__pyx_t_4 = _import_array(); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(1, 1008, __pyx_L3_error)
|
|
4479
4479
|
|
|
4480
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4480
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1007
|
|
4481
4481
|
* # Cython code.
|
|
4482
4482
|
* cdef inline int import_array() except -1:
|
|
4483
4483
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -4491,7 +4491,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
|
|
|
4491
4491
|
goto __pyx_L8_try_end;
|
|
4492
4492
|
__pyx_L3_error:;
|
|
4493
4493
|
|
|
4494
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4494
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1009
|
|
4495
4495
|
* try:
|
|
4496
4496
|
* __pyx_import_array()
|
|
4497
4497
|
* except Exception: # <<<<<<<<<<<<<<
|
|
@@ -4506,7 +4506,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
|
|
|
4506
4506
|
__Pyx_XGOTREF(__pyx_t_6);
|
|
4507
4507
|
__Pyx_XGOTREF(__pyx_t_7);
|
|
4508
4508
|
|
|
4509
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4509
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1010
|
|
4510
4510
|
* __pyx_import_array()
|
|
4511
4511
|
* except Exception:
|
|
4512
4512
|
* raise ImportError("numpy._core.multiarray failed to import") # <<<<<<<<<<<<<<
|
|
@@ -4531,7 +4531,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
|
|
|
4531
4531
|
}
|
|
4532
4532
|
goto __pyx_L5_except_error;
|
|
4533
4533
|
|
|
4534
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4534
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1007
|
|
4535
4535
|
* # Cython code.
|
|
4536
4536
|
* cdef inline int import_array() except -1:
|
|
4537
4537
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -4547,7 +4547,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
|
|
|
4547
4547
|
__pyx_L8_try_end:;
|
|
4548
4548
|
}
|
|
4549
4549
|
|
|
4550
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4550
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1006
|
|
4551
4551
|
* # Versions of the import_* functions which are more suitable for
|
|
4552
4552
|
* # Cython code.
|
|
4553
4553
|
* cdef inline int import_array() except -1: # <<<<<<<<<<<<<<
|
|
@@ -4572,7 +4572,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
|
|
|
4572
4572
|
return __pyx_r;
|
|
4573
4573
|
}
|
|
4574
4574
|
|
|
4575
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4575
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1012
|
|
4576
4576
|
* raise ImportError("numpy._core.multiarray failed to import")
|
|
4577
4577
|
*
|
|
4578
4578
|
* cdef inline int import_umath() except -1: # <<<<<<<<<<<<<<
|
|
@@ -4599,7 +4599,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
|
|
|
4599
4599
|
int __pyx_clineno = 0;
|
|
4600
4600
|
__Pyx_RefNannySetupContext("import_umath", 0);
|
|
4601
4601
|
|
|
4602
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4602
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1013
|
|
4603
4603
|
*
|
|
4604
4604
|
* cdef inline int import_umath() except -1:
|
|
4605
4605
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -4615,7 +4615,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
|
|
|
4615
4615
|
__Pyx_XGOTREF(__pyx_t_3);
|
|
4616
4616
|
/*try:*/ {
|
|
4617
4617
|
|
|
4618
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4618
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1014
|
|
4619
4619
|
* cdef inline int import_umath() except -1:
|
|
4620
4620
|
* try:
|
|
4621
4621
|
* _import_umath() # <<<<<<<<<<<<<<
|
|
@@ -4624,7 +4624,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
|
|
|
4624
4624
|
*/
|
|
4625
4625
|
__pyx_t_4 = _import_umath(); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(1, 1014, __pyx_L3_error)
|
|
4626
4626
|
|
|
4627
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4627
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1013
|
|
4628
4628
|
*
|
|
4629
4629
|
* cdef inline int import_umath() except -1:
|
|
4630
4630
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -4638,7 +4638,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
|
|
|
4638
4638
|
goto __pyx_L8_try_end;
|
|
4639
4639
|
__pyx_L3_error:;
|
|
4640
4640
|
|
|
4641
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4641
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1015
|
|
4642
4642
|
* try:
|
|
4643
4643
|
* _import_umath()
|
|
4644
4644
|
* except Exception: # <<<<<<<<<<<<<<
|
|
@@ -4653,7 +4653,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
|
|
|
4653
4653
|
__Pyx_XGOTREF(__pyx_t_6);
|
|
4654
4654
|
__Pyx_XGOTREF(__pyx_t_7);
|
|
4655
4655
|
|
|
4656
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4656
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1016
|
|
4657
4657
|
* _import_umath()
|
|
4658
4658
|
* except Exception:
|
|
4659
4659
|
* raise ImportError("numpy._core.umath failed to import") # <<<<<<<<<<<<<<
|
|
@@ -4678,7 +4678,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
|
|
|
4678
4678
|
}
|
|
4679
4679
|
goto __pyx_L5_except_error;
|
|
4680
4680
|
|
|
4681
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4681
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1013
|
|
4682
4682
|
*
|
|
4683
4683
|
* cdef inline int import_umath() except -1:
|
|
4684
4684
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -4694,7 +4694,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
|
|
|
4694
4694
|
__pyx_L8_try_end:;
|
|
4695
4695
|
}
|
|
4696
4696
|
|
|
4697
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4697
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1012
|
|
4698
4698
|
* raise ImportError("numpy._core.multiarray failed to import")
|
|
4699
4699
|
*
|
|
4700
4700
|
* cdef inline int import_umath() except -1: # <<<<<<<<<<<<<<
|
|
@@ -4719,7 +4719,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
|
|
|
4719
4719
|
return __pyx_r;
|
|
4720
4720
|
}
|
|
4721
4721
|
|
|
4722
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4722
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1018
|
|
4723
4723
|
* raise ImportError("numpy._core.umath failed to import")
|
|
4724
4724
|
*
|
|
4725
4725
|
* cdef inline int import_ufunc() except -1: # <<<<<<<<<<<<<<
|
|
@@ -4746,7 +4746,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
4746
4746
|
int __pyx_clineno = 0;
|
|
4747
4747
|
__Pyx_RefNannySetupContext("import_ufunc", 0);
|
|
4748
4748
|
|
|
4749
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4749
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1019
|
|
4750
4750
|
*
|
|
4751
4751
|
* cdef inline int import_ufunc() except -1:
|
|
4752
4752
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -4762,7 +4762,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
4762
4762
|
__Pyx_XGOTREF(__pyx_t_3);
|
|
4763
4763
|
/*try:*/ {
|
|
4764
4764
|
|
|
4765
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4765
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1020
|
|
4766
4766
|
* cdef inline int import_ufunc() except -1:
|
|
4767
4767
|
* try:
|
|
4768
4768
|
* _import_umath() # <<<<<<<<<<<<<<
|
|
@@ -4771,7 +4771,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
4771
4771
|
*/
|
|
4772
4772
|
__pyx_t_4 = _import_umath(); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(1, 1020, __pyx_L3_error)
|
|
4773
4773
|
|
|
4774
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4774
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1019
|
|
4775
4775
|
*
|
|
4776
4776
|
* cdef inline int import_ufunc() except -1:
|
|
4777
4777
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -4785,7 +4785,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
4785
4785
|
goto __pyx_L8_try_end;
|
|
4786
4786
|
__pyx_L3_error:;
|
|
4787
4787
|
|
|
4788
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4788
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1021
|
|
4789
4789
|
* try:
|
|
4790
4790
|
* _import_umath()
|
|
4791
4791
|
* except Exception: # <<<<<<<<<<<<<<
|
|
@@ -4800,7 +4800,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
4800
4800
|
__Pyx_XGOTREF(__pyx_t_6);
|
|
4801
4801
|
__Pyx_XGOTREF(__pyx_t_7);
|
|
4802
4802
|
|
|
4803
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4803
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1022
|
|
4804
4804
|
* _import_umath()
|
|
4805
4805
|
* except Exception:
|
|
4806
4806
|
* raise ImportError("numpy._core.umath failed to import") # <<<<<<<<<<<<<<
|
|
@@ -4825,7 +4825,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
4825
4825
|
}
|
|
4826
4826
|
goto __pyx_L5_except_error;
|
|
4827
4827
|
|
|
4828
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4828
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1019
|
|
4829
4829
|
*
|
|
4830
4830
|
* cdef inline int import_ufunc() except -1:
|
|
4831
4831
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -4841,7 +4841,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
4841
4841
|
__pyx_L8_try_end:;
|
|
4842
4842
|
}
|
|
4843
4843
|
|
|
4844
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4844
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1018
|
|
4845
4845
|
* raise ImportError("numpy._core.umath failed to import")
|
|
4846
4846
|
*
|
|
4847
4847
|
* cdef inline int import_ufunc() except -1: # <<<<<<<<<<<<<<
|
|
@@ -4866,7 +4866,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
4866
4866
|
return __pyx_r;
|
|
4867
4867
|
}
|
|
4868
4868
|
|
|
4869
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4869
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1025
|
|
4870
4870
|
*
|
|
4871
4871
|
*
|
|
4872
4872
|
* cdef inline bint is_timedelta64_object(object obj) noexcept: # <<<<<<<<<<<<<<
|
|
@@ -4877,7 +4877,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
4877
4877
|
static CYTHON_INLINE int __pyx_f_5numpy_is_timedelta64_object(PyObject *__pyx_v_obj) {
|
|
4878
4878
|
int __pyx_r;
|
|
4879
4879
|
|
|
4880
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4880
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1037
|
|
4881
4881
|
* bool
|
|
4882
4882
|
* """
|
|
4883
4883
|
* return PyObject_TypeCheck(obj, &PyTimedeltaArrType_Type) # <<<<<<<<<<<<<<
|
|
@@ -4887,7 +4887,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_timedelta64_object(PyObject *__pyx_v_
|
|
|
4887
4887
|
__pyx_r = PyObject_TypeCheck(__pyx_v_obj, (&PyTimedeltaArrType_Type));
|
|
4888
4888
|
goto __pyx_L0;
|
|
4889
4889
|
|
|
4890
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4890
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1025
|
|
4891
4891
|
*
|
|
4892
4892
|
*
|
|
4893
4893
|
* cdef inline bint is_timedelta64_object(object obj) noexcept: # <<<<<<<<<<<<<<
|
|
@@ -4900,7 +4900,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_timedelta64_object(PyObject *__pyx_v_
|
|
|
4900
4900
|
return __pyx_r;
|
|
4901
4901
|
}
|
|
4902
4902
|
|
|
4903
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4903
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1040
|
|
4904
4904
|
*
|
|
4905
4905
|
*
|
|
4906
4906
|
* cdef inline bint is_datetime64_object(object obj) noexcept: # <<<<<<<<<<<<<<
|
|
@@ -4911,7 +4911,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_timedelta64_object(PyObject *__pyx_v_
|
|
|
4911
4911
|
static CYTHON_INLINE int __pyx_f_5numpy_is_datetime64_object(PyObject *__pyx_v_obj) {
|
|
4912
4912
|
int __pyx_r;
|
|
4913
4913
|
|
|
4914
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4914
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1052
|
|
4915
4915
|
* bool
|
|
4916
4916
|
* """
|
|
4917
4917
|
* return PyObject_TypeCheck(obj, &PyDatetimeArrType_Type) # <<<<<<<<<<<<<<
|
|
@@ -4921,7 +4921,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_datetime64_object(PyObject *__pyx_v_o
|
|
|
4921
4921
|
__pyx_r = PyObject_TypeCheck(__pyx_v_obj, (&PyDatetimeArrType_Type));
|
|
4922
4922
|
goto __pyx_L0;
|
|
4923
4923
|
|
|
4924
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4924
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1040
|
|
4925
4925
|
*
|
|
4926
4926
|
*
|
|
4927
4927
|
* cdef inline bint is_datetime64_object(object obj) noexcept: # <<<<<<<<<<<<<<
|
|
@@ -4934,7 +4934,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_datetime64_object(PyObject *__pyx_v_o
|
|
|
4934
4934
|
return __pyx_r;
|
|
4935
4935
|
}
|
|
4936
4936
|
|
|
4937
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4937
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1055
|
|
4938
4938
|
*
|
|
4939
4939
|
*
|
|
4940
4940
|
* cdef inline npy_datetime get_datetime64_value(object obj) noexcept nogil: # <<<<<<<<<<<<<<
|
|
@@ -4945,7 +4945,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_datetime64_object(PyObject *__pyx_v_o
|
|
|
4945
4945
|
static CYTHON_INLINE npy_datetime __pyx_f_5numpy_get_datetime64_value(PyObject *__pyx_v_obj) {
|
|
4946
4946
|
npy_datetime __pyx_r;
|
|
4947
4947
|
|
|
4948
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4948
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1062
|
|
4949
4949
|
* also needed. That can be found using `get_datetime64_unit`.
|
|
4950
4950
|
* """
|
|
4951
4951
|
* return (<PyDatetimeScalarObject*>obj).obval # <<<<<<<<<<<<<<
|
|
@@ -4955,7 +4955,7 @@ static CYTHON_INLINE npy_datetime __pyx_f_5numpy_get_datetime64_value(PyObject *
|
|
|
4955
4955
|
__pyx_r = ((PyDatetimeScalarObject *)__pyx_v_obj)->obval;
|
|
4956
4956
|
goto __pyx_L0;
|
|
4957
4957
|
|
|
4958
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4958
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1055
|
|
4959
4959
|
*
|
|
4960
4960
|
*
|
|
4961
4961
|
* cdef inline npy_datetime get_datetime64_value(object obj) noexcept nogil: # <<<<<<<<<<<<<<
|
|
@@ -4968,7 +4968,7 @@ static CYTHON_INLINE npy_datetime __pyx_f_5numpy_get_datetime64_value(PyObject *
|
|
|
4968
4968
|
return __pyx_r;
|
|
4969
4969
|
}
|
|
4970
4970
|
|
|
4971
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4971
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1065
|
|
4972
4972
|
*
|
|
4973
4973
|
*
|
|
4974
4974
|
* cdef inline npy_timedelta get_timedelta64_value(object obj) noexcept nogil: # <<<<<<<<<<<<<<
|
|
@@ -4979,7 +4979,7 @@ static CYTHON_INLINE npy_datetime __pyx_f_5numpy_get_datetime64_value(PyObject *
|
|
|
4979
4979
|
static CYTHON_INLINE npy_timedelta __pyx_f_5numpy_get_timedelta64_value(PyObject *__pyx_v_obj) {
|
|
4980
4980
|
npy_timedelta __pyx_r;
|
|
4981
4981
|
|
|
4982
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4982
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1069
|
|
4983
4983
|
* returns the int64 value underlying scalar numpy timedelta64 object
|
|
4984
4984
|
* """
|
|
4985
4985
|
* return (<PyTimedeltaScalarObject*>obj).obval # <<<<<<<<<<<<<<
|
|
@@ -4989,7 +4989,7 @@ static CYTHON_INLINE npy_timedelta __pyx_f_5numpy_get_timedelta64_value(PyObject
|
|
|
4989
4989
|
__pyx_r = ((PyTimedeltaScalarObject *)__pyx_v_obj)->obval;
|
|
4990
4990
|
goto __pyx_L0;
|
|
4991
4991
|
|
|
4992
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4992
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1065
|
|
4993
4993
|
*
|
|
4994
4994
|
*
|
|
4995
4995
|
* cdef inline npy_timedelta get_timedelta64_value(object obj) noexcept nogil: # <<<<<<<<<<<<<<
|
|
@@ -5002,7 +5002,7 @@ static CYTHON_INLINE npy_timedelta __pyx_f_5numpy_get_timedelta64_value(PyObject
|
|
|
5002
5002
|
return __pyx_r;
|
|
5003
5003
|
}
|
|
5004
5004
|
|
|
5005
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
5005
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1072
|
|
5006
5006
|
*
|
|
5007
5007
|
*
|
|
5008
5008
|
* cdef inline NPY_DATETIMEUNIT get_datetime64_unit(object obj) noexcept nogil: # <<<<<<<<<<<<<<
|
|
@@ -5013,7 +5013,7 @@ static CYTHON_INLINE npy_timedelta __pyx_f_5numpy_get_timedelta64_value(PyObject
|
|
|
5013
5013
|
static CYTHON_INLINE NPY_DATETIMEUNIT __pyx_f_5numpy_get_datetime64_unit(PyObject *__pyx_v_obj) {
|
|
5014
5014
|
NPY_DATETIMEUNIT __pyx_r;
|
|
5015
5015
|
|
|
5016
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
5016
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1076
|
|
5017
5017
|
* returns the unit part of the dtype for a numpy datetime64 object.
|
|
5018
5018
|
* """
|
|
5019
5019
|
* return <NPY_DATETIMEUNIT>(<PyDatetimeScalarObject*>obj).obmeta.base # <<<<<<<<<<<<<<
|
|
@@ -5023,7 +5023,7 @@ static CYTHON_INLINE NPY_DATETIMEUNIT __pyx_f_5numpy_get_datetime64_unit(PyObjec
|
|
|
5023
5023
|
__pyx_r = ((NPY_DATETIMEUNIT)((PyDatetimeScalarObject *)__pyx_v_obj)->obmeta.base);
|
|
5024
5024
|
goto __pyx_L0;
|
|
5025
5025
|
|
|
5026
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
5026
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-quwyv4g5/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1072
|
|
5027
5027
|
*
|
|
5028
5028
|
*
|
|
5029
5029
|
* cdef inline NPY_DATETIMEUNIT get_datetime64_unit(object obj) noexcept nogil: # <<<<<<<<<<<<<<
|
|
@@ -5036,7 +5036,7 @@ static CYTHON_INLINE NPY_DATETIMEUNIT __pyx_f_5numpy_get_datetime64_unit(PyObjec
|
|
|
5036
5036
|
return __pyx_r;
|
|
5037
5037
|
}
|
|
5038
5038
|
|
|
5039
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":
|
|
5039
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":8
|
|
5040
5040
|
* from libc.stdint cimport int32_t
|
|
5041
5041
|
*
|
|
5042
5042
|
* def seqdss(seqdata): # <<<<<<<<<<<<<<
|
|
@@ -5083,32 +5083,32 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
5083
5083
|
{
|
|
5084
5084
|
PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_seqdata,0};
|
|
5085
5085
|
const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
|
|
5086
|
-
if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0,
|
|
5086
|
+
if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 8, __pyx_L3_error)
|
|
5087
5087
|
if (__pyx_kwds_len > 0) {
|
|
5088
5088
|
switch (__pyx_nargs) {
|
|
5089
5089
|
case 1:
|
|
5090
5090
|
values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
|
|
5091
|
-
if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0,
|
|
5091
|
+
if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 8, __pyx_L3_error)
|
|
5092
5092
|
CYTHON_FALLTHROUGH;
|
|
5093
5093
|
case 0: break;
|
|
5094
5094
|
default: goto __pyx_L5_argtuple_error;
|
|
5095
5095
|
}
|
|
5096
5096
|
const Py_ssize_t kwd_pos_args = __pyx_nargs;
|
|
5097
|
-
if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "seqdss", 0) < 0) __PYX_ERR(0,
|
|
5097
|
+
if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "seqdss", 0) < 0) __PYX_ERR(0, 8, __pyx_L3_error)
|
|
5098
5098
|
for (Py_ssize_t i = __pyx_nargs; i < 1; i++) {
|
|
5099
|
-
if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("seqdss", 1, 1, 1, i); __PYX_ERR(0,
|
|
5099
|
+
if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("seqdss", 1, 1, 1, i); __PYX_ERR(0, 8, __pyx_L3_error) }
|
|
5100
5100
|
}
|
|
5101
5101
|
} else if (unlikely(__pyx_nargs != 1)) {
|
|
5102
5102
|
goto __pyx_L5_argtuple_error;
|
|
5103
5103
|
} else {
|
|
5104
5104
|
values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
|
|
5105
|
-
if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0,
|
|
5105
|
+
if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 8, __pyx_L3_error)
|
|
5106
5106
|
}
|
|
5107
5107
|
__pyx_v_seqdata = values[0];
|
|
5108
5108
|
}
|
|
5109
5109
|
goto __pyx_L6_skip;
|
|
5110
5110
|
__pyx_L5_argtuple_error:;
|
|
5111
|
-
__Pyx_RaiseArgtupleInvalid("seqdss", 1, 1, 1, __pyx_nargs); __PYX_ERR(0,
|
|
5111
|
+
__Pyx_RaiseArgtupleInvalid("seqdss", 1, 1, 1, __pyx_nargs); __PYX_ERR(0, 8, __pyx_L3_error)
|
|
5112
5112
|
__pyx_L6_skip:;
|
|
5113
5113
|
goto __pyx_L4_argument_unpacking_done;
|
|
5114
5114
|
__pyx_L3_error:;
|
|
@@ -5130,7 +5130,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
5130
5130
|
}
|
|
5131
5131
|
static PyObject *__pyx_gb_8sequenzo_22dissimilarity_measures_5utils_6seqdss_6seqdss_2generator(__pyx_CoroutineObject *__pyx_generator, CYTHON_UNUSED PyThreadState *__pyx_tstate, PyObject *__pyx_sent_value); /* proto */
|
|
5132
5132
|
|
|
5133
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":
|
|
5133
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":26
|
|
5134
5134
|
*
|
|
5135
5135
|
* cdef list groups = [row[boundary & (row >= 0)] for row, boundary in zip(ffill, boundaries)]
|
|
5136
5136
|
* cdef int max_groups = max(len(g) for g in groups) # <<<<<<<<<<<<<<
|
|
@@ -5150,7 +5150,7 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdss_6seq
|
|
|
5150
5150
|
if (unlikely(!__pyx_cur_scope)) {
|
|
5151
5151
|
__pyx_cur_scope = ((struct __pyx_obj_8sequenzo_22dissimilarity_measures_5utils_6seqdss___pyx_scope_struct__genexpr *)Py_None);
|
|
5152
5152
|
__Pyx_INCREF(Py_None);
|
|
5153
|
-
__PYX_ERR(0,
|
|
5153
|
+
__PYX_ERR(0, 26, __pyx_L1_error)
|
|
5154
5154
|
} else {
|
|
5155
5155
|
__Pyx_GOTREF((PyObject *)__pyx_cur_scope);
|
|
5156
5156
|
}
|
|
@@ -5158,7 +5158,7 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdss_6seq
|
|
|
5158
5158
|
__Pyx_INCREF(__pyx_cur_scope->__pyx_genexpr_arg_0);
|
|
5159
5159
|
__Pyx_GIVEREF(__pyx_cur_scope->__pyx_genexpr_arg_0);
|
|
5160
5160
|
{
|
|
5161
|
-
__pyx_CoroutineObject *gen = __Pyx_Generator_New((__pyx_coroutine_body_t) __pyx_gb_8sequenzo_22dissimilarity_measures_5utils_6seqdss_6seqdss_2generator, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[0]), (PyObject *) __pyx_cur_scope, __pyx_mstate_global->__pyx_n_u_genexpr, __pyx_mstate_global->__pyx_n_u_seqdss_locals_genexpr, __pyx_mstate_global->__pyx_n_u_sequenzo_dissimilarity_measures); if (unlikely(!gen)) __PYX_ERR(0,
|
|
5161
|
+
__pyx_CoroutineObject *gen = __Pyx_Generator_New((__pyx_coroutine_body_t) __pyx_gb_8sequenzo_22dissimilarity_measures_5utils_6seqdss_6seqdss_2generator, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[0]), (PyObject *) __pyx_cur_scope, __pyx_mstate_global->__pyx_n_u_genexpr, __pyx_mstate_global->__pyx_n_u_seqdss_locals_genexpr, __pyx_mstate_global->__pyx_n_u_sequenzo_dissimilarity_measures); if (unlikely(!gen)) __PYX_ERR(0, 26, __pyx_L1_error)
|
|
5162
5162
|
__Pyx_DECREF(__pyx_cur_scope);
|
|
5163
5163
|
__Pyx_RefNannyFinishContext();
|
|
5164
5164
|
return (PyObject *) gen;
|
|
@@ -5197,29 +5197,29 @@ static PyObject *__pyx_gb_8sequenzo_22dissimilarity_measures_5utils_6seqdss_6seq
|
|
|
5197
5197
|
__pyx_L3_first_run:;
|
|
5198
5198
|
if (unlikely(__pyx_sent_value != Py_None)) {
|
|
5199
5199
|
if (unlikely(__pyx_sent_value)) PyErr_SetString(PyExc_TypeError, "can't send non-None value to a just-started generator");
|
|
5200
|
-
__PYX_ERR(0,
|
|
5200
|
+
__PYX_ERR(0, 26, __pyx_L1_error)
|
|
5201
5201
|
}
|
|
5202
|
-
if (unlikely(!__pyx_cur_scope->__pyx_genexpr_arg_0)) { __Pyx_RaiseUnboundLocalError(".0"); __PYX_ERR(0,
|
|
5202
|
+
if (unlikely(!__pyx_cur_scope->__pyx_genexpr_arg_0)) { __Pyx_RaiseUnboundLocalError(".0"); __PYX_ERR(0, 26, __pyx_L1_error) }
|
|
5203
5203
|
__pyx_t_1 = __pyx_cur_scope->__pyx_genexpr_arg_0; __Pyx_INCREF(__pyx_t_1);
|
|
5204
5204
|
__pyx_t_2 = 0;
|
|
5205
5205
|
for (;;) {
|
|
5206
5206
|
{
|
|
5207
5207
|
Py_ssize_t __pyx_temp = __Pyx_PyList_GET_SIZE(__pyx_t_1);
|
|
5208
5208
|
#if !CYTHON_ASSUME_SAFE_SIZE
|
|
5209
|
-
if (unlikely((__pyx_temp < 0))) __PYX_ERR(0,
|
|
5209
|
+
if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 26, __pyx_L1_error)
|
|
5210
5210
|
#endif
|
|
5211
5211
|
if (__pyx_t_2 >= __pyx_temp) break;
|
|
5212
5212
|
}
|
|
5213
5213
|
__pyx_t_3 = __Pyx_PyList_GetItemRef(__pyx_t_1, __pyx_t_2);
|
|
5214
5214
|
++__pyx_t_2;
|
|
5215
|
-
if (unlikely(!__pyx_t_3)) __PYX_ERR(0,
|
|
5215
|
+
if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 26, __pyx_L1_error)
|
|
5216
5216
|
__Pyx_GOTREF(__pyx_t_3);
|
|
5217
5217
|
__Pyx_XGOTREF(__pyx_cur_scope->__pyx_v_g);
|
|
5218
5218
|
__Pyx_XDECREF_SET(__pyx_cur_scope->__pyx_v_g, __pyx_t_3);
|
|
5219
5219
|
__Pyx_GIVEREF(__pyx_t_3);
|
|
5220
5220
|
__pyx_t_3 = 0;
|
|
5221
|
-
__pyx_t_4 = PyObject_Length(__pyx_cur_scope->__pyx_v_g); if (unlikely(__pyx_t_4 == ((Py_ssize_t)-1))) __PYX_ERR(0,
|
|
5222
|
-
__pyx_t_3 = PyLong_FromSsize_t(__pyx_t_4); if (unlikely(!__pyx_t_3)) __PYX_ERR(0,
|
|
5221
|
+
__pyx_t_4 = PyObject_Length(__pyx_cur_scope->__pyx_v_g); if (unlikely(__pyx_t_4 == ((Py_ssize_t)-1))) __PYX_ERR(0, 26, __pyx_L1_error)
|
|
5222
|
+
__pyx_t_3 = PyLong_FromSsize_t(__pyx_t_4); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 26, __pyx_L1_error)
|
|
5223
5223
|
__Pyx_GOTREF(__pyx_t_3);
|
|
5224
5224
|
__pyx_r = __pyx_t_3;
|
|
5225
5225
|
__pyx_t_3 = 0;
|
|
@@ -5237,7 +5237,7 @@ static PyObject *__pyx_gb_8sequenzo_22dissimilarity_measures_5utils_6seqdss_6seq
|
|
|
5237
5237
|
__pyx_cur_scope->__pyx_t_0 = 0;
|
|
5238
5238
|
__Pyx_XGOTREF(__pyx_t_1);
|
|
5239
5239
|
__pyx_t_2 = __pyx_cur_scope->__pyx_t_1;
|
|
5240
|
-
if (unlikely(!__pyx_sent_value)) __PYX_ERR(0,
|
|
5240
|
+
if (unlikely(!__pyx_sent_value)) __PYX_ERR(0, 26, __pyx_L1_error)
|
|
5241
5241
|
}
|
|
5242
5242
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
5243
5243
|
CYTHON_MAYBE_UNUSED_VAR(__pyx_cur_scope);
|
|
@@ -5263,7 +5263,7 @@ static PyObject *__pyx_gb_8sequenzo_22dissimilarity_measures_5utils_6seqdss_6seq
|
|
|
5263
5263
|
return __pyx_r;
|
|
5264
5264
|
}
|
|
5265
5265
|
|
|
5266
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":
|
|
5266
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":8
|
|
5267
5267
|
* from libc.stdint cimport int32_t
|
|
5268
5268
|
*
|
|
5269
5269
|
* def seqdss(seqdata): # <<<<<<<<<<<<<<
|
|
@@ -5336,21 +5336,21 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdss_seqd
|
|
|
5336
5336
|
__pyx_pybuffernd_result.data = NULL;
|
|
5337
5337
|
__pyx_pybuffernd_result.rcbuffer = &__pyx_pybuffer_result;
|
|
5338
5338
|
|
|
5339
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":
|
|
5339
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":9
|
|
5340
5340
|
*
|
|
5341
5341
|
* def seqdss(seqdata):
|
|
5342
5342
|
* if not isinstance(seqdata, SequenceData): # <<<<<<<<<<<<<<
|
|
5343
5343
|
* raise ValueError("[!] data is NOT a sequence object, see SequenceData to create one.")
|
|
5344
5344
|
*
|
|
5345
5345
|
*/
|
|
5346
|
-
__Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_SequenceData); if (unlikely(!__pyx_t_1)) __PYX_ERR(0,
|
|
5346
|
+
__Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_SequenceData); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 9, __pyx_L1_error)
|
|
5347
5347
|
__Pyx_GOTREF(__pyx_t_1);
|
|
5348
|
-
__pyx_t_2 = PyObject_IsInstance(__pyx_v_seqdata, __pyx_t_1); if (unlikely(__pyx_t_2 == ((int)-1))) __PYX_ERR(0,
|
|
5348
|
+
__pyx_t_2 = PyObject_IsInstance(__pyx_v_seqdata, __pyx_t_1); if (unlikely(__pyx_t_2 == ((int)-1))) __PYX_ERR(0, 9, __pyx_L1_error)
|
|
5349
5349
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
5350
5350
|
__pyx_t_3 = (!__pyx_t_2);
|
|
5351
5351
|
if (unlikely(__pyx_t_3)) {
|
|
5352
5352
|
|
|
5353
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":
|
|
5353
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":10
|
|
5354
5354
|
* def seqdss(seqdata):
|
|
5355
5355
|
* if not isinstance(seqdata, SequenceData):
|
|
5356
5356
|
* raise ValueError("[!] data is NOT a sequence object, see SequenceData to create one.") # <<<<<<<<<<<<<<
|
|
@@ -5366,14 +5366,14 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdss_seqd
|
|
|
5366
5366
|
__pyx_t_1 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
|
|
5367
5367
|
__Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
|
|
5368
5368
|
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
|
|
5369
|
-
if (unlikely(!__pyx_t_1)) __PYX_ERR(0,
|
|
5369
|
+
if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 10, __pyx_L1_error)
|
|
5370
5370
|
__Pyx_GOTREF(__pyx_t_1);
|
|
5371
5371
|
}
|
|
5372
5372
|
__Pyx_Raise(__pyx_t_1, 0, 0, 0);
|
|
5373
5373
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
5374
|
-
__PYX_ERR(0,
|
|
5374
|
+
__PYX_ERR(0, 10, __pyx_L1_error)
|
|
5375
5375
|
|
|
5376
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":
|
|
5376
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":9
|
|
5377
5377
|
*
|
|
5378
5378
|
* def seqdss(seqdata):
|
|
5379
5379
|
* if not isinstance(seqdata, SequenceData): # <<<<<<<<<<<<<<
|
|
@@ -5382,49 +5382,49 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdss_seqd
|
|
|
5382
5382
|
*/
|
|
5383
5383
|
}
|
|
5384
5384
|
|
|
5385
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":
|
|
5385
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":12
|
|
5386
5386
|
* raise ValueError("[!] data is NOT a sequence object, see SequenceData to create one.")
|
|
5387
5387
|
*
|
|
5388
5388
|
* cdef cnp.ndarray[int32_t, ndim=2] seqdatanum = seqdata.values.astype(np.int32, copy=False) # <<<<<<<<<<<<<<
|
|
5389
5389
|
* cdef int n = seqdatanum.shape[0], m = seqdatanum.shape[1]
|
|
5390
5390
|
* cdef int i, j
|
|
5391
5391
|
*/
|
|
5392
|
-
__pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_seqdata, __pyx_mstate_global->__pyx_n_u_values); if (unlikely(!__pyx_t_4)) __PYX_ERR(0,
|
|
5392
|
+
__pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_seqdata, __pyx_mstate_global->__pyx_n_u_values); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 12, __pyx_L1_error)
|
|
5393
5393
|
__Pyx_GOTREF(__pyx_t_4);
|
|
5394
5394
|
__pyx_t_5 = __pyx_t_4;
|
|
5395
5395
|
__Pyx_INCREF(__pyx_t_5);
|
|
5396
|
-
__Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_np); if (unlikely(!__pyx_t_7)) __PYX_ERR(0,
|
|
5396
|
+
__Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_np); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 12, __pyx_L1_error)
|
|
5397
5397
|
__Pyx_GOTREF(__pyx_t_7);
|
|
5398
|
-
__pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_int32); if (unlikely(!__pyx_t_8)) __PYX_ERR(0,
|
|
5398
|
+
__pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_int32); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 12, __pyx_L1_error)
|
|
5399
5399
|
__Pyx_GOTREF(__pyx_t_8);
|
|
5400
5400
|
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
|
|
5401
5401
|
__pyx_t_6 = 0;
|
|
5402
5402
|
{
|
|
5403
5403
|
PyObject *__pyx_callargs[2 + ((CYTHON_VECTORCALL) ? 1 : 0)] = {__pyx_t_5, __pyx_t_8};
|
|
5404
|
-
__pyx_t_7 = __Pyx_MakeVectorcallBuilderKwds(1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0,
|
|
5404
|
+
__pyx_t_7 = __Pyx_MakeVectorcallBuilderKwds(1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 12, __pyx_L1_error)
|
|
5405
5405
|
__Pyx_GOTREF(__pyx_t_7);
|
|
5406
|
-
if (__Pyx_VectorcallBuilder_AddArg(__pyx_mstate_global->__pyx_n_u_copy, Py_False, __pyx_t_7, __pyx_callargs+2, 0) < 0) __PYX_ERR(0,
|
|
5406
|
+
if (__Pyx_VectorcallBuilder_AddArg(__pyx_mstate_global->__pyx_n_u_copy, Py_False, __pyx_t_7, __pyx_callargs+2, 0) < 0) __PYX_ERR(0, 12, __pyx_L1_error)
|
|
5407
5407
|
__pyx_t_1 = __Pyx_Object_VectorcallMethod_CallFromBuilder(__pyx_mstate_global->__pyx_n_u_astype, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET), __pyx_t_7);
|
|
5408
5408
|
__Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
|
|
5409
5409
|
__Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
|
|
5410
5410
|
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
|
|
5411
5411
|
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
|
|
5412
|
-
if (unlikely(!__pyx_t_1)) __PYX_ERR(0,
|
|
5412
|
+
if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 12, __pyx_L1_error)
|
|
5413
5413
|
__Pyx_GOTREF(__pyx_t_1);
|
|
5414
5414
|
}
|
|
5415
|
-
if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_mstate_global->__pyx_ptype_5numpy_ndarray))))) __PYX_ERR(0,
|
|
5415
|
+
if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_mstate_global->__pyx_ptype_5numpy_ndarray))))) __PYX_ERR(0, 12, __pyx_L1_error)
|
|
5416
5416
|
{
|
|
5417
5417
|
__Pyx_BufFmt_StackElem __pyx_stack[1];
|
|
5418
5418
|
if (unlikely(__Pyx_GetBufferAndValidate(&__pyx_pybuffernd_seqdatanum.rcbuffer->pybuffer, (PyObject*)((PyArrayObject *)__pyx_t_1), &__Pyx_TypeInfo_nn_int32_t, PyBUF_FORMAT| PyBUF_STRIDES, 2, 0, __pyx_stack) == -1)) {
|
|
5419
5419
|
__pyx_v_seqdatanum = ((PyArrayObject *)Py_None); __Pyx_INCREF(Py_None); __pyx_pybuffernd_seqdatanum.rcbuffer->pybuffer.buf = NULL;
|
|
5420
|
-
__PYX_ERR(0,
|
|
5420
|
+
__PYX_ERR(0, 12, __pyx_L1_error)
|
|
5421
5421
|
} else {__pyx_pybuffernd_seqdatanum.diminfo[0].strides = __pyx_pybuffernd_seqdatanum.rcbuffer->pybuffer.strides[0]; __pyx_pybuffernd_seqdatanum.diminfo[0].shape = __pyx_pybuffernd_seqdatanum.rcbuffer->pybuffer.shape[0]; __pyx_pybuffernd_seqdatanum.diminfo[1].strides = __pyx_pybuffernd_seqdatanum.rcbuffer->pybuffer.strides[1]; __pyx_pybuffernd_seqdatanum.diminfo[1].shape = __pyx_pybuffernd_seqdatanum.rcbuffer->pybuffer.shape[1];
|
|
5422
5422
|
}
|
|
5423
5423
|
}
|
|
5424
5424
|
__pyx_v_seqdatanum = ((PyArrayObject *)__pyx_t_1);
|
|
5425
5425
|
__pyx_t_1 = 0;
|
|
5426
5426
|
|
|
5427
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":
|
|
5427
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":13
|
|
5428
5428
|
*
|
|
5429
5429
|
* cdef cnp.ndarray[int32_t, ndim=2] seqdatanum = seqdata.values.astype(np.int32, copy=False)
|
|
5430
5430
|
* cdef int n = seqdatanum.shape[0], m = seqdatanum.shape[1] # <<<<<<<<<<<<<<
|
|
@@ -5434,7 +5434,7 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdss_seqd
|
|
|
5434
5434
|
__pyx_v_n = (__pyx_f_5numpy_7ndarray_5shape_shape(((PyArrayObject *)__pyx_v_seqdatanum))[0]);
|
|
5435
5435
|
__pyx_v_m = (__pyx_f_5numpy_7ndarray_5shape_shape(((PyArrayObject *)__pyx_v_seqdatanum))[1]);
|
|
5436
5436
|
|
|
5437
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":
|
|
5437
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":16
|
|
5438
5438
|
* cdef int i, j
|
|
5439
5439
|
*
|
|
5440
5440
|
* cdef cnp.ndarray[int32_t, ndim=2] ffill = seqdatanum # <<<<<<<<<<<<<<
|
|
@@ -5445,14 +5445,14 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdss_seqd
|
|
|
5445
5445
|
__Pyx_BufFmt_StackElem __pyx_stack[1];
|
|
5446
5446
|
if (unlikely(__Pyx_GetBufferAndValidate(&__pyx_pybuffernd_ffill.rcbuffer->pybuffer, (PyObject*)((PyArrayObject *)__pyx_v_seqdatanum), &__Pyx_TypeInfo_nn_int32_t, PyBUF_FORMAT| PyBUF_STRIDES, 2, 0, __pyx_stack) == -1)) {
|
|
5447
5447
|
__pyx_v_ffill = ((PyArrayObject *)Py_None); __Pyx_INCREF(Py_None); __pyx_pybuffernd_ffill.rcbuffer->pybuffer.buf = NULL;
|
|
5448
|
-
__PYX_ERR(0,
|
|
5448
|
+
__PYX_ERR(0, 16, __pyx_L1_error)
|
|
5449
5449
|
} else {__pyx_pybuffernd_ffill.diminfo[0].strides = __pyx_pybuffernd_ffill.rcbuffer->pybuffer.strides[0]; __pyx_pybuffernd_ffill.diminfo[0].shape = __pyx_pybuffernd_ffill.rcbuffer->pybuffer.shape[0]; __pyx_pybuffernd_ffill.diminfo[1].strides = __pyx_pybuffernd_ffill.rcbuffer->pybuffer.strides[1]; __pyx_pybuffernd_ffill.diminfo[1].shape = __pyx_pybuffernd_ffill.rcbuffer->pybuffer.shape[1];
|
|
5450
5450
|
}
|
|
5451
5451
|
}
|
|
5452
5452
|
__Pyx_INCREF((PyObject *)__pyx_v_seqdatanum);
|
|
5453
5453
|
__pyx_v_ffill = ((PyArrayObject *)__pyx_v_seqdatanum);
|
|
5454
5454
|
|
|
5455
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":
|
|
5455
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":17
|
|
5456
5456
|
*
|
|
5457
5457
|
* cdef cnp.ndarray[int32_t, ndim=2] ffill = seqdatanum
|
|
5458
5458
|
* cdef cnp.ndarray[char, ndim=2] boundaries = np.ones((n, 1), dtype=bool) # Fixed here # <<<<<<<<<<<<<<
|
|
@@ -5460,20 +5460,20 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdss_seqd
|
|
|
5460
5460
|
* for j in range(1, m):
|
|
5461
5461
|
*/
|
|
5462
5462
|
__pyx_t_4 = NULL;
|
|
5463
|
-
__Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_np); if (unlikely(!__pyx_t_7)) __PYX_ERR(0,
|
|
5463
|
+
__Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_np); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 17, __pyx_L1_error)
|
|
5464
5464
|
__Pyx_GOTREF(__pyx_t_7);
|
|
5465
|
-
__pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_ones); if (unlikely(!__pyx_t_8)) __PYX_ERR(0,
|
|
5465
|
+
__pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_ones); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 17, __pyx_L1_error)
|
|
5466
5466
|
__Pyx_GOTREF(__pyx_t_8);
|
|
5467
5467
|
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
|
|
5468
|
-
__pyx_t_7 = __Pyx_PyLong_From_int(__pyx_v_n); if (unlikely(!__pyx_t_7)) __PYX_ERR(0,
|
|
5468
|
+
__pyx_t_7 = __Pyx_PyLong_From_int(__pyx_v_n); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 17, __pyx_L1_error)
|
|
5469
5469
|
__Pyx_GOTREF(__pyx_t_7);
|
|
5470
|
-
__pyx_t_5 = PyTuple_New(2); if (unlikely(!__pyx_t_5)) __PYX_ERR(0,
|
|
5470
|
+
__pyx_t_5 = PyTuple_New(2); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 17, __pyx_L1_error)
|
|
5471
5471
|
__Pyx_GOTREF(__pyx_t_5);
|
|
5472
5472
|
__Pyx_GIVEREF(__pyx_t_7);
|
|
5473
|
-
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_7) != (0)) __PYX_ERR(0,
|
|
5473
|
+
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_7) != (0)) __PYX_ERR(0, 17, __pyx_L1_error);
|
|
5474
5474
|
__Pyx_INCREF(__pyx_mstate_global->__pyx_int_1);
|
|
5475
5475
|
__Pyx_GIVEREF(__pyx_mstate_global->__pyx_int_1);
|
|
5476
|
-
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_mstate_global->__pyx_int_1) != (0)) __PYX_ERR(0,
|
|
5476
|
+
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_mstate_global->__pyx_int_1) != (0)) __PYX_ERR(0, 17, __pyx_L1_error);
|
|
5477
5477
|
__pyx_t_7 = 0;
|
|
5478
5478
|
__pyx_t_6 = 1;
|
|
5479
5479
|
#if CYTHON_UNPACK_METHODS
|
|
@@ -5489,30 +5489,30 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdss_seqd
|
|
|
5489
5489
|
#endif
|
|
5490
5490
|
{
|
|
5491
5491
|
PyObject *__pyx_callargs[2 + ((CYTHON_VECTORCALL) ? 1 : 0)] = {__pyx_t_4, __pyx_t_5};
|
|
5492
|
-
__pyx_t_7 = __Pyx_MakeVectorcallBuilderKwds(1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0,
|
|
5492
|
+
__pyx_t_7 = __Pyx_MakeVectorcallBuilderKwds(1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 17, __pyx_L1_error)
|
|
5493
5493
|
__Pyx_GOTREF(__pyx_t_7);
|
|
5494
|
-
if (__Pyx_VectorcallBuilder_AddArg(__pyx_mstate_global->__pyx_n_u_dtype, ((PyObject*)&PyBool_Type), __pyx_t_7, __pyx_callargs+2, 0) < 0) __PYX_ERR(0,
|
|
5494
|
+
if (__Pyx_VectorcallBuilder_AddArg(__pyx_mstate_global->__pyx_n_u_dtype, ((PyObject*)&PyBool_Type), __pyx_t_7, __pyx_callargs+2, 0) < 0) __PYX_ERR(0, 17, __pyx_L1_error)
|
|
5495
5495
|
__pyx_t_1 = __Pyx_Object_Vectorcall_CallFromBuilder(__pyx_t_8, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET), __pyx_t_7);
|
|
5496
5496
|
__Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
|
|
5497
5497
|
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
|
|
5498
5498
|
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
|
|
5499
5499
|
__Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
|
|
5500
|
-
if (unlikely(!__pyx_t_1)) __PYX_ERR(0,
|
|
5500
|
+
if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 17, __pyx_L1_error)
|
|
5501
5501
|
__Pyx_GOTREF(__pyx_t_1);
|
|
5502
5502
|
}
|
|
5503
|
-
if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_mstate_global->__pyx_ptype_5numpy_ndarray))))) __PYX_ERR(0,
|
|
5503
|
+
if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_mstate_global->__pyx_ptype_5numpy_ndarray))))) __PYX_ERR(0, 17, __pyx_L1_error)
|
|
5504
5504
|
{
|
|
5505
5505
|
__Pyx_BufFmt_StackElem __pyx_stack[1];
|
|
5506
5506
|
if (unlikely(__Pyx_GetBufferAndValidate(&__pyx_pybuffernd_boundaries.rcbuffer->pybuffer, (PyObject*)((PyArrayObject *)__pyx_t_1), &__Pyx_TypeInfo_char, PyBUF_FORMAT| PyBUF_STRIDES, 2, 0, __pyx_stack) == -1)) {
|
|
5507
5507
|
__pyx_v_boundaries = ((PyArrayObject *)Py_None); __Pyx_INCREF(Py_None); __pyx_pybuffernd_boundaries.rcbuffer->pybuffer.buf = NULL;
|
|
5508
|
-
__PYX_ERR(0,
|
|
5508
|
+
__PYX_ERR(0, 17, __pyx_L1_error)
|
|
5509
5509
|
} else {__pyx_pybuffernd_boundaries.diminfo[0].strides = __pyx_pybuffernd_boundaries.rcbuffer->pybuffer.strides[0]; __pyx_pybuffernd_boundaries.diminfo[0].shape = __pyx_pybuffernd_boundaries.rcbuffer->pybuffer.shape[0]; __pyx_pybuffernd_boundaries.diminfo[1].strides = __pyx_pybuffernd_boundaries.rcbuffer->pybuffer.strides[1]; __pyx_pybuffernd_boundaries.diminfo[1].shape = __pyx_pybuffernd_boundaries.rcbuffer->pybuffer.shape[1];
|
|
5510
5510
|
}
|
|
5511
5511
|
}
|
|
5512
5512
|
__pyx_v_boundaries = ((PyArrayObject *)__pyx_t_1);
|
|
5513
5513
|
__pyx_t_1 = 0;
|
|
5514
5514
|
|
|
5515
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":
|
|
5515
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":19
|
|
5516
5516
|
* cdef cnp.ndarray[char, ndim=2] boundaries = np.ones((n, 1), dtype=bool) # Fixed here
|
|
5517
5517
|
*
|
|
5518
5518
|
* for j in range(1, m): # <<<<<<<<<<<<<<
|
|
@@ -5524,67 +5524,67 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdss_seqd
|
|
|
5524
5524
|
for (__pyx_t_11 = 1; __pyx_t_11 < __pyx_t_10; __pyx_t_11+=1) {
|
|
5525
5525
|
__pyx_v_j = __pyx_t_11;
|
|
5526
5526
|
|
|
5527
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":
|
|
5527
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":20
|
|
5528
5528
|
*
|
|
5529
5529
|
* for j in range(1, m):
|
|
5530
5530
|
* mask = (ffill[:, j] < 0) # <<<<<<<<<<<<<<
|
|
5531
5531
|
* ffill[mask, j] = ffill[mask, j - 1]
|
|
5532
5532
|
*
|
|
5533
5533
|
*/
|
|
5534
|
-
__pyx_t_1 = __Pyx_PyLong_From_int(__pyx_v_j); if (unlikely(!__pyx_t_1)) __PYX_ERR(0,
|
|
5534
|
+
__pyx_t_1 = __Pyx_PyLong_From_int(__pyx_v_j); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 20, __pyx_L1_error)
|
|
5535
5535
|
__Pyx_GOTREF(__pyx_t_1);
|
|
5536
|
-
__pyx_t_8 = PyTuple_New(2); if (unlikely(!__pyx_t_8)) __PYX_ERR(0,
|
|
5536
|
+
__pyx_t_8 = PyTuple_New(2); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 20, __pyx_L1_error)
|
|
5537
5537
|
__Pyx_GOTREF(__pyx_t_8);
|
|
5538
5538
|
__Pyx_INCREF(__pyx_mstate_global->__pyx_slice[0]);
|
|
5539
5539
|
__Pyx_GIVEREF(__pyx_mstate_global->__pyx_slice[0]);
|
|
5540
|
-
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_8, 0, __pyx_mstate_global->__pyx_slice[0]) != (0)) __PYX_ERR(0,
|
|
5540
|
+
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_8, 0, __pyx_mstate_global->__pyx_slice[0]) != (0)) __PYX_ERR(0, 20, __pyx_L1_error);
|
|
5541
5541
|
__Pyx_GIVEREF(__pyx_t_1);
|
|
5542
|
-
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_8, 1, __pyx_t_1) != (0)) __PYX_ERR(0,
|
|
5542
|
+
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_8, 1, __pyx_t_1) != (0)) __PYX_ERR(0, 20, __pyx_L1_error);
|
|
5543
5543
|
__pyx_t_1 = 0;
|
|
5544
|
-
__pyx_t_1 = __Pyx_PyObject_GetItem(((PyObject *)__pyx_v_ffill), __pyx_t_8); if (unlikely(!__pyx_t_1)) __PYX_ERR(0,
|
|
5544
|
+
__pyx_t_1 = __Pyx_PyObject_GetItem(((PyObject *)__pyx_v_ffill), __pyx_t_8); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 20, __pyx_L1_error)
|
|
5545
5545
|
__Pyx_GOTREF(__pyx_t_1);
|
|
5546
5546
|
__Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
|
|
5547
|
-
__pyx_t_8 = PyObject_RichCompare(__pyx_t_1, __pyx_mstate_global->__pyx_int_0, Py_LT); __Pyx_XGOTREF(__pyx_t_8); if (unlikely(!__pyx_t_8)) __PYX_ERR(0,
|
|
5547
|
+
__pyx_t_8 = PyObject_RichCompare(__pyx_t_1, __pyx_mstate_global->__pyx_int_0, Py_LT); __Pyx_XGOTREF(__pyx_t_8); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 20, __pyx_L1_error)
|
|
5548
5548
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
5549
5549
|
__Pyx_XDECREF_SET(__pyx_v_mask, __pyx_t_8);
|
|
5550
5550
|
__pyx_t_8 = 0;
|
|
5551
5551
|
|
|
5552
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":
|
|
5552
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":21
|
|
5553
5553
|
* for j in range(1, m):
|
|
5554
5554
|
* mask = (ffill[:, j] < 0)
|
|
5555
5555
|
* ffill[mask, j] = ffill[mask, j - 1] # <<<<<<<<<<<<<<
|
|
5556
5556
|
*
|
|
5557
5557
|
* boundaries = np.concatenate([boundaries, ffill[:, 1:] != ffill[:, :-1]], axis=1)
|
|
5558
5558
|
*/
|
|
5559
|
-
__pyx_t_8 = __Pyx_PyLong_From_long((__pyx_v_j - 1)); if (unlikely(!__pyx_t_8)) __PYX_ERR(0,
|
|
5559
|
+
__pyx_t_8 = __Pyx_PyLong_From_long((__pyx_v_j - 1)); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 21, __pyx_L1_error)
|
|
5560
5560
|
__Pyx_GOTREF(__pyx_t_8);
|
|
5561
|
-
__pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0,
|
|
5561
|
+
__pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 21, __pyx_L1_error)
|
|
5562
5562
|
__Pyx_GOTREF(__pyx_t_1);
|
|
5563
5563
|
__Pyx_INCREF(__pyx_v_mask);
|
|
5564
5564
|
__Pyx_GIVEREF(__pyx_v_mask);
|
|
5565
|
-
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_mask) != (0)) __PYX_ERR(0,
|
|
5565
|
+
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_mask) != (0)) __PYX_ERR(0, 21, __pyx_L1_error);
|
|
5566
5566
|
__Pyx_GIVEREF(__pyx_t_8);
|
|
5567
|
-
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_t_8) != (0)) __PYX_ERR(0,
|
|
5567
|
+
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_t_8) != (0)) __PYX_ERR(0, 21, __pyx_L1_error);
|
|
5568
5568
|
__pyx_t_8 = 0;
|
|
5569
|
-
__pyx_t_8 = __Pyx_PyObject_GetItem(((PyObject *)__pyx_v_ffill), __pyx_t_1); if (unlikely(!__pyx_t_8)) __PYX_ERR(0,
|
|
5569
|
+
__pyx_t_8 = __Pyx_PyObject_GetItem(((PyObject *)__pyx_v_ffill), __pyx_t_1); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 21, __pyx_L1_error)
|
|
5570
5570
|
__Pyx_GOTREF(__pyx_t_8);
|
|
5571
5571
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
5572
|
-
__pyx_t_1 = __Pyx_PyLong_From_int(__pyx_v_j); if (unlikely(!__pyx_t_1)) __PYX_ERR(0,
|
|
5572
|
+
__pyx_t_1 = __Pyx_PyLong_From_int(__pyx_v_j); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 21, __pyx_L1_error)
|
|
5573
5573
|
__Pyx_GOTREF(__pyx_t_1);
|
|
5574
|
-
__pyx_t_7 = PyTuple_New(2); if (unlikely(!__pyx_t_7)) __PYX_ERR(0,
|
|
5574
|
+
__pyx_t_7 = PyTuple_New(2); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 21, __pyx_L1_error)
|
|
5575
5575
|
__Pyx_GOTREF(__pyx_t_7);
|
|
5576
5576
|
__Pyx_INCREF(__pyx_v_mask);
|
|
5577
5577
|
__Pyx_GIVEREF(__pyx_v_mask);
|
|
5578
|
-
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_7, 0, __pyx_v_mask) != (0)) __PYX_ERR(0,
|
|
5578
|
+
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_7, 0, __pyx_v_mask) != (0)) __PYX_ERR(0, 21, __pyx_L1_error);
|
|
5579
5579
|
__Pyx_GIVEREF(__pyx_t_1);
|
|
5580
|
-
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_7, 1, __pyx_t_1) != (0)) __PYX_ERR(0,
|
|
5580
|
+
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_7, 1, __pyx_t_1) != (0)) __PYX_ERR(0, 21, __pyx_L1_error);
|
|
5581
5581
|
__pyx_t_1 = 0;
|
|
5582
|
-
if (unlikely((PyObject_SetItem(((PyObject *)__pyx_v_ffill), __pyx_t_7, __pyx_t_8) < 0))) __PYX_ERR(0,
|
|
5582
|
+
if (unlikely((PyObject_SetItem(((PyObject *)__pyx_v_ffill), __pyx_t_7, __pyx_t_8) < 0))) __PYX_ERR(0, 21, __pyx_L1_error)
|
|
5583
5583
|
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
|
|
5584
5584
|
__Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
|
|
5585
5585
|
}
|
|
5586
5586
|
|
|
5587
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":
|
|
5587
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":23
|
|
5588
5588
|
* ffill[mask, j] = ffill[mask, j - 1]
|
|
5589
5589
|
*
|
|
5590
5590
|
* boundaries = np.concatenate([boundaries, ffill[:, 1:] != ffill[:, :-1]], axis=1) # <<<<<<<<<<<<<<
|
|
@@ -5592,25 +5592,25 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdss_seqd
|
|
|
5592
5592
|
* cdef list groups = [row[boundary & (row >= 0)] for row, boundary in zip(ffill, boundaries)]
|
|
5593
5593
|
*/
|
|
5594
5594
|
__pyx_t_7 = NULL;
|
|
5595
|
-
__Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_np); if (unlikely(!__pyx_t_1)) __PYX_ERR(0,
|
|
5595
|
+
__Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_np); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 23, __pyx_L1_error)
|
|
5596
5596
|
__Pyx_GOTREF(__pyx_t_1);
|
|
5597
|
-
__pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_concatenate); if (unlikely(!__pyx_t_5)) __PYX_ERR(0,
|
|
5597
|
+
__pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_concatenate); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 23, __pyx_L1_error)
|
|
5598
5598
|
__Pyx_GOTREF(__pyx_t_5);
|
|
5599
5599
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
5600
|
-
__pyx_t_1 = __Pyx_PyObject_GetItem(((PyObject *)__pyx_v_ffill), __pyx_mstate_global->__pyx_tuple[0]); if (unlikely(!__pyx_t_1)) __PYX_ERR(0,
|
|
5600
|
+
__pyx_t_1 = __Pyx_PyObject_GetItem(((PyObject *)__pyx_v_ffill), __pyx_mstate_global->__pyx_tuple[0]); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 23, __pyx_L1_error)
|
|
5601
5601
|
__Pyx_GOTREF(__pyx_t_1);
|
|
5602
|
-
__pyx_t_4 = __Pyx_PyObject_GetItem(((PyObject *)__pyx_v_ffill), __pyx_mstate_global->__pyx_tuple[1]); if (unlikely(!__pyx_t_4)) __PYX_ERR(0,
|
|
5602
|
+
__pyx_t_4 = __Pyx_PyObject_GetItem(((PyObject *)__pyx_v_ffill), __pyx_mstate_global->__pyx_tuple[1]); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 23, __pyx_L1_error)
|
|
5603
5603
|
__Pyx_GOTREF(__pyx_t_4);
|
|
5604
|
-
__pyx_t_12 = PyObject_RichCompare(__pyx_t_1, __pyx_t_4, Py_NE); __Pyx_XGOTREF(__pyx_t_12); if (unlikely(!__pyx_t_12)) __PYX_ERR(0,
|
|
5604
|
+
__pyx_t_12 = PyObject_RichCompare(__pyx_t_1, __pyx_t_4, Py_NE); __Pyx_XGOTREF(__pyx_t_12); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 23, __pyx_L1_error)
|
|
5605
5605
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
5606
5606
|
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
|
|
5607
|
-
__pyx_t_4 = PyList_New(2); if (unlikely(!__pyx_t_4)) __PYX_ERR(0,
|
|
5607
|
+
__pyx_t_4 = PyList_New(2); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 23, __pyx_L1_error)
|
|
5608
5608
|
__Pyx_GOTREF(__pyx_t_4);
|
|
5609
5609
|
__Pyx_INCREF((PyObject *)__pyx_v_boundaries);
|
|
5610
5610
|
__Pyx_GIVEREF((PyObject *)__pyx_v_boundaries);
|
|
5611
|
-
if (__Pyx_PyList_SET_ITEM(__pyx_t_4, 0, ((PyObject *)__pyx_v_boundaries)) != (0)) __PYX_ERR(0,
|
|
5611
|
+
if (__Pyx_PyList_SET_ITEM(__pyx_t_4, 0, ((PyObject *)__pyx_v_boundaries)) != (0)) __PYX_ERR(0, 23, __pyx_L1_error);
|
|
5612
5612
|
__Pyx_GIVEREF(__pyx_t_12);
|
|
5613
|
-
if (__Pyx_PyList_SET_ITEM(__pyx_t_4, 1, __pyx_t_12) != (0)) __PYX_ERR(0,
|
|
5613
|
+
if (__Pyx_PyList_SET_ITEM(__pyx_t_4, 1, __pyx_t_12) != (0)) __PYX_ERR(0, 23, __pyx_L1_error);
|
|
5614
5614
|
__pyx_t_12 = 0;
|
|
5615
5615
|
__pyx_t_6 = 1;
|
|
5616
5616
|
#if CYTHON_UNPACK_METHODS
|
|
@@ -5626,18 +5626,18 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdss_seqd
|
|
|
5626
5626
|
#endif
|
|
5627
5627
|
{
|
|
5628
5628
|
PyObject *__pyx_callargs[2 + ((CYTHON_VECTORCALL) ? 1 : 0)] = {__pyx_t_7, __pyx_t_4};
|
|
5629
|
-
__pyx_t_12 = __Pyx_MakeVectorcallBuilderKwds(1); if (unlikely(!__pyx_t_12)) __PYX_ERR(0,
|
|
5629
|
+
__pyx_t_12 = __Pyx_MakeVectorcallBuilderKwds(1); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 23, __pyx_L1_error)
|
|
5630
5630
|
__Pyx_GOTREF(__pyx_t_12);
|
|
5631
|
-
if (__Pyx_VectorcallBuilder_AddArg(__pyx_mstate_global->__pyx_n_u_axis, __pyx_mstate_global->__pyx_int_1, __pyx_t_12, __pyx_callargs+2, 0) < 0) __PYX_ERR(0,
|
|
5631
|
+
if (__Pyx_VectorcallBuilder_AddArg(__pyx_mstate_global->__pyx_n_u_axis, __pyx_mstate_global->__pyx_int_1, __pyx_t_12, __pyx_callargs+2, 0) < 0) __PYX_ERR(0, 23, __pyx_L1_error)
|
|
5632
5632
|
__pyx_t_8 = __Pyx_Object_Vectorcall_CallFromBuilder(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET), __pyx_t_12);
|
|
5633
5633
|
__Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;
|
|
5634
5634
|
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
|
|
5635
5635
|
__Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0;
|
|
5636
5636
|
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
|
|
5637
|
-
if (unlikely(!__pyx_t_8)) __PYX_ERR(0,
|
|
5637
|
+
if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 23, __pyx_L1_error)
|
|
5638
5638
|
__Pyx_GOTREF(__pyx_t_8);
|
|
5639
5639
|
}
|
|
5640
|
-
if (!(likely(((__pyx_t_8) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_8, __pyx_mstate_global->__pyx_ptype_5numpy_ndarray))))) __PYX_ERR(0,
|
|
5640
|
+
if (!(likely(((__pyx_t_8) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_8, __pyx_mstate_global->__pyx_ptype_5numpy_ndarray))))) __PYX_ERR(0, 23, __pyx_L1_error)
|
|
5641
5641
|
{
|
|
5642
5642
|
__Pyx_BufFmt_StackElem __pyx_stack[1];
|
|
5643
5643
|
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_boundaries.rcbuffer->pybuffer);
|
|
@@ -5653,12 +5653,12 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdss_seqd
|
|
|
5653
5653
|
__pyx_t_13 = __pyx_t_14 = __pyx_t_15 = 0;
|
|
5654
5654
|
}
|
|
5655
5655
|
__pyx_pybuffernd_boundaries.diminfo[0].strides = __pyx_pybuffernd_boundaries.rcbuffer->pybuffer.strides[0]; __pyx_pybuffernd_boundaries.diminfo[0].shape = __pyx_pybuffernd_boundaries.rcbuffer->pybuffer.shape[0]; __pyx_pybuffernd_boundaries.diminfo[1].strides = __pyx_pybuffernd_boundaries.rcbuffer->pybuffer.strides[1]; __pyx_pybuffernd_boundaries.diminfo[1].shape = __pyx_pybuffernd_boundaries.rcbuffer->pybuffer.shape[1];
|
|
5656
|
-
if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0,
|
|
5656
|
+
if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 23, __pyx_L1_error)
|
|
5657
5657
|
}
|
|
5658
5658
|
__Pyx_DECREF_SET(__pyx_v_boundaries, ((PyArrayObject *)__pyx_t_8));
|
|
5659
5659
|
__pyx_t_8 = 0;
|
|
5660
5660
|
|
|
5661
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":
|
|
5661
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":25
|
|
5662
5662
|
* boundaries = np.concatenate([boundaries, ffill[:, 1:] != ffill[:, :-1]], axis=1)
|
|
5663
5663
|
*
|
|
5664
5664
|
* cdef list groups = [row[boundary & (row >= 0)] for row, boundary in zip(ffill, boundaries)] # <<<<<<<<<<<<<<
|
|
@@ -5666,7 +5666,7 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdss_seqd
|
|
|
5666
5666
|
*
|
|
5667
5667
|
*/
|
|
5668
5668
|
{ /* enter inner scope */
|
|
5669
|
-
__pyx_t_8 = PyList_New(0); if (unlikely(!__pyx_t_8)) __PYX_ERR(0,
|
|
5669
|
+
__pyx_t_8 = PyList_New(0); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 25, __pyx_L8_error)
|
|
5670
5670
|
__Pyx_GOTREF(__pyx_t_8);
|
|
5671
5671
|
__pyx_t_12 = NULL;
|
|
5672
5672
|
__Pyx_INCREF(__pyx_builtin_zip);
|
|
@@ -5677,7 +5677,7 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdss_seqd
|
|
|
5677
5677
|
__pyx_t_5 = __Pyx_PyObject_FastCall(__pyx_t_4, __pyx_callargs+__pyx_t_6, (3-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
|
|
5678
5678
|
__Pyx_XDECREF(__pyx_t_12); __pyx_t_12 = 0;
|
|
5679
5679
|
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
|
|
5680
|
-
if (unlikely(!__pyx_t_5)) __PYX_ERR(0,
|
|
5680
|
+
if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 25, __pyx_L8_error)
|
|
5681
5681
|
__Pyx_GOTREF(__pyx_t_5);
|
|
5682
5682
|
}
|
|
5683
5683
|
if (likely(PyList_CheckExact(__pyx_t_5)) || PyTuple_CheckExact(__pyx_t_5)) {
|
|
@@ -5685,9 +5685,9 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdss_seqd
|
|
|
5685
5685
|
__pyx_t_16 = 0;
|
|
5686
5686
|
__pyx_t_17 = NULL;
|
|
5687
5687
|
} else {
|
|
5688
|
-
__pyx_t_16 = -1; __pyx_t_4 = PyObject_GetIter(__pyx_t_5); if (unlikely(!__pyx_t_4)) __PYX_ERR(0,
|
|
5688
|
+
__pyx_t_16 = -1; __pyx_t_4 = PyObject_GetIter(__pyx_t_5); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 25, __pyx_L8_error)
|
|
5689
5689
|
__Pyx_GOTREF(__pyx_t_4);
|
|
5690
|
-
__pyx_t_17 = (CYTHON_COMPILING_IN_LIMITED_API) ? PyIter_Next : __Pyx_PyObject_GetIterNextFunc(__pyx_t_4); if (unlikely(!__pyx_t_17)) __PYX_ERR(0,
|
|
5690
|
+
__pyx_t_17 = (CYTHON_COMPILING_IN_LIMITED_API) ? PyIter_Next : __Pyx_PyObject_GetIterNextFunc(__pyx_t_4); if (unlikely(!__pyx_t_17)) __PYX_ERR(0, 25, __pyx_L8_error)
|
|
5691
5691
|
}
|
|
5692
5692
|
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
|
|
5693
5693
|
for (;;) {
|
|
@@ -5696,7 +5696,7 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdss_seqd
|
|
|
5696
5696
|
{
|
|
5697
5697
|
Py_ssize_t __pyx_temp = __Pyx_PyList_GET_SIZE(__pyx_t_4);
|
|
5698
5698
|
#if !CYTHON_ASSUME_SAFE_SIZE
|
|
5699
|
-
if (unlikely((__pyx_temp < 0))) __PYX_ERR(0,
|
|
5699
|
+
if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 25, __pyx_L8_error)
|
|
5700
5700
|
#endif
|
|
5701
5701
|
if (__pyx_t_16 >= __pyx_temp) break;
|
|
5702
5702
|
}
|
|
@@ -5706,7 +5706,7 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdss_seqd
|
|
|
5706
5706
|
{
|
|
5707
5707
|
Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_4);
|
|
5708
5708
|
#if !CYTHON_ASSUME_SAFE_SIZE
|
|
5709
|
-
if (unlikely((__pyx_temp < 0))) __PYX_ERR(0,
|
|
5709
|
+
if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 25, __pyx_L8_error)
|
|
5710
5710
|
#endif
|
|
5711
5711
|
if (__pyx_t_16 >= __pyx_temp) break;
|
|
5712
5712
|
}
|
|
@@ -5717,13 +5717,13 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdss_seqd
|
|
|
5717
5717
|
#endif
|
|
5718
5718
|
++__pyx_t_16;
|
|
5719
5719
|
}
|
|
5720
|
-
if (unlikely(!__pyx_t_5)) __PYX_ERR(0,
|
|
5720
|
+
if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 25, __pyx_L8_error)
|
|
5721
5721
|
} else {
|
|
5722
5722
|
__pyx_t_5 = __pyx_t_17(__pyx_t_4);
|
|
5723
5723
|
if (unlikely(!__pyx_t_5)) {
|
|
5724
5724
|
PyObject* exc_type = PyErr_Occurred();
|
|
5725
5725
|
if (exc_type) {
|
|
5726
|
-
if (unlikely(!__Pyx_PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) __PYX_ERR(0,
|
|
5726
|
+
if (unlikely(!__Pyx_PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) __PYX_ERR(0, 25, __pyx_L8_error)
|
|
5727
5727
|
PyErr_Clear();
|
|
5728
5728
|
}
|
|
5729
5729
|
break;
|
|
@@ -5736,7 +5736,7 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdss_seqd
|
|
|
5736
5736
|
if (unlikely(size != 2)) {
|
|
5737
5737
|
if (size > 2) __Pyx_RaiseTooManyValuesError(2);
|
|
5738
5738
|
else if (size >= 0) __Pyx_RaiseNeedMoreValuesError(size);
|
|
5739
|
-
__PYX_ERR(0,
|
|
5739
|
+
__PYX_ERR(0, 25, __pyx_L8_error)
|
|
5740
5740
|
}
|
|
5741
5741
|
#if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
|
|
5742
5742
|
if (likely(PyTuple_CheckExact(sequence))) {
|
|
@@ -5746,22 +5746,22 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdss_seqd
|
|
|
5746
5746
|
__Pyx_INCREF(__pyx_t_7);
|
|
5747
5747
|
} else {
|
|
5748
5748
|
__pyx_t_12 = __Pyx_PyList_GetItemRef(sequence, 0);
|
|
5749
|
-
if (unlikely(!__pyx_t_12)) __PYX_ERR(0,
|
|
5749
|
+
if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 25, __pyx_L8_error)
|
|
5750
5750
|
__Pyx_XGOTREF(__pyx_t_12);
|
|
5751
5751
|
__pyx_t_7 = __Pyx_PyList_GetItemRef(sequence, 1);
|
|
5752
|
-
if (unlikely(!__pyx_t_7)) __PYX_ERR(0,
|
|
5752
|
+
if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 25, __pyx_L8_error)
|
|
5753
5753
|
__Pyx_XGOTREF(__pyx_t_7);
|
|
5754
5754
|
}
|
|
5755
5755
|
#else
|
|
5756
|
-
__pyx_t_12 = __Pyx_PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_12)) __PYX_ERR(0,
|
|
5756
|
+
__pyx_t_12 = __Pyx_PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 25, __pyx_L8_error)
|
|
5757
5757
|
__Pyx_GOTREF(__pyx_t_12);
|
|
5758
|
-
__pyx_t_7 = __Pyx_PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0,
|
|
5758
|
+
__pyx_t_7 = __Pyx_PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 25, __pyx_L8_error)
|
|
5759
5759
|
__Pyx_GOTREF(__pyx_t_7);
|
|
5760
5760
|
#endif
|
|
5761
5761
|
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
|
|
5762
5762
|
} else {
|
|
5763
5763
|
Py_ssize_t index = -1;
|
|
5764
|
-
__pyx_t_1 = PyObject_GetIter(__pyx_t_5); if (unlikely(!__pyx_t_1)) __PYX_ERR(0,
|
|
5764
|
+
__pyx_t_1 = PyObject_GetIter(__pyx_t_5); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 25, __pyx_L8_error)
|
|
5765
5765
|
__Pyx_GOTREF(__pyx_t_1);
|
|
5766
5766
|
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
|
|
5767
5767
|
__pyx_t_18 = (CYTHON_COMPILING_IN_LIMITED_API) ? PyIter_Next : __Pyx_PyObject_GetIterNextFunc(__pyx_t_1);
|
|
@@ -5769,7 +5769,7 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdss_seqd
|
|
|
5769
5769
|
__Pyx_GOTREF(__pyx_t_12);
|
|
5770
5770
|
index = 1; __pyx_t_7 = __pyx_t_18(__pyx_t_1); if (unlikely(!__pyx_t_7)) goto __pyx_L11_unpacking_failed;
|
|
5771
5771
|
__Pyx_GOTREF(__pyx_t_7);
|
|
5772
|
-
if (__Pyx_IternextUnpackEndCheck(__pyx_t_18(__pyx_t_1), 2) < 0) __PYX_ERR(0,
|
|
5772
|
+
if (__Pyx_IternextUnpackEndCheck(__pyx_t_18(__pyx_t_1), 2) < 0) __PYX_ERR(0, 25, __pyx_L8_error)
|
|
5773
5773
|
__pyx_t_18 = NULL;
|
|
5774
5774
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
5775
5775
|
goto __pyx_L12_unpacking_done;
|
|
@@ -5777,21 +5777,21 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdss_seqd
|
|
|
5777
5777
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
5778
5778
|
__pyx_t_18 = NULL;
|
|
5779
5779
|
if (__Pyx_IterFinish() == 0) __Pyx_RaiseNeedMoreValuesError(index);
|
|
5780
|
-
__PYX_ERR(0,
|
|
5780
|
+
__PYX_ERR(0, 25, __pyx_L8_error)
|
|
5781
5781
|
__pyx_L12_unpacking_done:;
|
|
5782
5782
|
}
|
|
5783
5783
|
__Pyx_XDECREF_SET(__pyx_7genexpr__pyx_v_row, __pyx_t_12);
|
|
5784
5784
|
__pyx_t_12 = 0;
|
|
5785
5785
|
__Pyx_XDECREF_SET(__pyx_7genexpr__pyx_v_boundary, __pyx_t_7);
|
|
5786
5786
|
__pyx_t_7 = 0;
|
|
5787
|
-
__pyx_t_5 = PyObject_RichCompare(__pyx_7genexpr__pyx_v_row, __pyx_mstate_global->__pyx_int_0, Py_GE); __Pyx_XGOTREF(__pyx_t_5); if (unlikely(!__pyx_t_5)) __PYX_ERR(0,
|
|
5788
|
-
__pyx_t_7 = PyNumber_And(__pyx_7genexpr__pyx_v_boundary, __pyx_t_5); if (unlikely(!__pyx_t_7)) __PYX_ERR(0,
|
|
5787
|
+
__pyx_t_5 = PyObject_RichCompare(__pyx_7genexpr__pyx_v_row, __pyx_mstate_global->__pyx_int_0, Py_GE); __Pyx_XGOTREF(__pyx_t_5); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 25, __pyx_L8_error)
|
|
5788
|
+
__pyx_t_7 = PyNumber_And(__pyx_7genexpr__pyx_v_boundary, __pyx_t_5); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 25, __pyx_L8_error)
|
|
5789
5789
|
__Pyx_GOTREF(__pyx_t_7);
|
|
5790
5790
|
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
|
|
5791
|
-
__pyx_t_5 = __Pyx_PyObject_GetItem(__pyx_7genexpr__pyx_v_row, __pyx_t_7); if (unlikely(!__pyx_t_5)) __PYX_ERR(0,
|
|
5791
|
+
__pyx_t_5 = __Pyx_PyObject_GetItem(__pyx_7genexpr__pyx_v_row, __pyx_t_7); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 25, __pyx_L8_error)
|
|
5792
5792
|
__Pyx_GOTREF(__pyx_t_5);
|
|
5793
5793
|
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
|
|
5794
|
-
if (unlikely(__Pyx_ListComp_Append(__pyx_t_8, (PyObject*)__pyx_t_5))) __PYX_ERR(0,
|
|
5794
|
+
if (unlikely(__Pyx_ListComp_Append(__pyx_t_8, (PyObject*)__pyx_t_5))) __PYX_ERR(0, 25, __pyx_L8_error)
|
|
5795
5795
|
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
|
|
5796
5796
|
}
|
|
5797
5797
|
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
|
|
@@ -5807,7 +5807,7 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdss_seqd
|
|
|
5807
5807
|
__pyx_v_groups = ((PyObject*)__pyx_t_8);
|
|
5808
5808
|
__pyx_t_8 = 0;
|
|
5809
5809
|
|
|
5810
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":
|
|
5810
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":26
|
|
5811
5811
|
*
|
|
5812
5812
|
* cdef list groups = [row[boundary & (row >= 0)] for row, boundary in zip(ffill, boundaries)]
|
|
5813
5813
|
* cdef int max_groups = max(len(g) for g in groups) # <<<<<<<<<<<<<<
|
|
@@ -5817,7 +5817,7 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdss_seqd
|
|
|
5817
5817
|
__pyx_t_4 = NULL;
|
|
5818
5818
|
__Pyx_INCREF(__pyx_builtin_max);
|
|
5819
5819
|
__pyx_t_5 = __pyx_builtin_max;
|
|
5820
|
-
__pyx_t_7 = __pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdss_6seqdss_genexpr(NULL, __pyx_v_groups); if (unlikely(!__pyx_t_7)) __PYX_ERR(0,
|
|
5820
|
+
__pyx_t_7 = __pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdss_6seqdss_genexpr(NULL, __pyx_v_groups); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 26, __pyx_L1_error)
|
|
5821
5821
|
__Pyx_GOTREF(__pyx_t_7);
|
|
5822
5822
|
__pyx_t_6 = 1;
|
|
5823
5823
|
{
|
|
@@ -5826,14 +5826,14 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdss_seqd
|
|
|
5826
5826
|
__Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
|
|
5827
5827
|
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
|
|
5828
5828
|
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
|
|
5829
|
-
if (unlikely(!__pyx_t_8)) __PYX_ERR(0,
|
|
5829
|
+
if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 26, __pyx_L1_error)
|
|
5830
5830
|
__Pyx_GOTREF(__pyx_t_8);
|
|
5831
5831
|
}
|
|
5832
|
-
__pyx_t_9 = __Pyx_PyLong_As_int(__pyx_t_8); if (unlikely((__pyx_t_9 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0,
|
|
5832
|
+
__pyx_t_9 = __Pyx_PyLong_As_int(__pyx_t_8); if (unlikely((__pyx_t_9 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 26, __pyx_L1_error)
|
|
5833
5833
|
__Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
|
|
5834
5834
|
__pyx_v_max_groups = __pyx_t_9;
|
|
5835
5835
|
|
|
5836
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":
|
|
5836
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":29
|
|
5837
5837
|
*
|
|
5838
5838
|
* # int32np.nanint32
|
|
5839
5839
|
* cdef cnp.ndarray[int32_t, ndim=2] result = np.full((n, max_groups), -999, dtype=np.int32) # <<<<<<<<<<<<<<
|
|
@@ -5841,26 +5841,26 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdss_seqd
|
|
|
5841
5841
|
* for i in range(n):
|
|
5842
5842
|
*/
|
|
5843
5843
|
__pyx_t_5 = NULL;
|
|
5844
|
-
__Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_np); if (unlikely(!__pyx_t_7)) __PYX_ERR(0,
|
|
5844
|
+
__Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_np); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 29, __pyx_L1_error)
|
|
5845
5845
|
__Pyx_GOTREF(__pyx_t_7);
|
|
5846
|
-
__pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_full); if (unlikely(!__pyx_t_4)) __PYX_ERR(0,
|
|
5846
|
+
__pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_full); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 29, __pyx_L1_error)
|
|
5847
5847
|
__Pyx_GOTREF(__pyx_t_4);
|
|
5848
5848
|
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
|
|
5849
|
-
__pyx_t_7 = __Pyx_PyLong_From_int(__pyx_v_n); if (unlikely(!__pyx_t_7)) __PYX_ERR(0,
|
|
5849
|
+
__pyx_t_7 = __Pyx_PyLong_From_int(__pyx_v_n); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 29, __pyx_L1_error)
|
|
5850
5850
|
__Pyx_GOTREF(__pyx_t_7);
|
|
5851
|
-
__pyx_t_12 = __Pyx_PyLong_From_int(__pyx_v_max_groups); if (unlikely(!__pyx_t_12)) __PYX_ERR(0,
|
|
5851
|
+
__pyx_t_12 = __Pyx_PyLong_From_int(__pyx_v_max_groups); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 29, __pyx_L1_error)
|
|
5852
5852
|
__Pyx_GOTREF(__pyx_t_12);
|
|
5853
|
-
__pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0,
|
|
5853
|
+
__pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 29, __pyx_L1_error)
|
|
5854
5854
|
__Pyx_GOTREF(__pyx_t_1);
|
|
5855
5855
|
__Pyx_GIVEREF(__pyx_t_7);
|
|
5856
|
-
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_t_7) != (0)) __PYX_ERR(0,
|
|
5856
|
+
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_t_7) != (0)) __PYX_ERR(0, 29, __pyx_L1_error);
|
|
5857
5857
|
__Pyx_GIVEREF(__pyx_t_12);
|
|
5858
|
-
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_t_12) != (0)) __PYX_ERR(0,
|
|
5858
|
+
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_t_12) != (0)) __PYX_ERR(0, 29, __pyx_L1_error);
|
|
5859
5859
|
__pyx_t_7 = 0;
|
|
5860
5860
|
__pyx_t_12 = 0;
|
|
5861
|
-
__Pyx_GetModuleGlobalName(__pyx_t_12, __pyx_mstate_global->__pyx_n_u_np); if (unlikely(!__pyx_t_12)) __PYX_ERR(0,
|
|
5861
|
+
__Pyx_GetModuleGlobalName(__pyx_t_12, __pyx_mstate_global->__pyx_n_u_np); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 29, __pyx_L1_error)
|
|
5862
5862
|
__Pyx_GOTREF(__pyx_t_12);
|
|
5863
|
-
__pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_12, __pyx_mstate_global->__pyx_n_u_int32); if (unlikely(!__pyx_t_7)) __PYX_ERR(0,
|
|
5863
|
+
__pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_12, __pyx_mstate_global->__pyx_n_u_int32); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 29, __pyx_L1_error)
|
|
5864
5864
|
__Pyx_GOTREF(__pyx_t_7);
|
|
5865
5865
|
__Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0;
|
|
5866
5866
|
__pyx_t_6 = 1;
|
|
@@ -5877,31 +5877,31 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdss_seqd
|
|
|
5877
5877
|
#endif
|
|
5878
5878
|
{
|
|
5879
5879
|
PyObject *__pyx_callargs[3 + ((CYTHON_VECTORCALL) ? 1 : 0)] = {__pyx_t_5, __pyx_t_1, __pyx_mstate_global->__pyx_int_neg_999};
|
|
5880
|
-
__pyx_t_12 = __Pyx_MakeVectorcallBuilderKwds(1); if (unlikely(!__pyx_t_12)) __PYX_ERR(0,
|
|
5880
|
+
__pyx_t_12 = __Pyx_MakeVectorcallBuilderKwds(1); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 29, __pyx_L1_error)
|
|
5881
5881
|
__Pyx_GOTREF(__pyx_t_12);
|
|
5882
|
-
if (__Pyx_VectorcallBuilder_AddArg(__pyx_mstate_global->__pyx_n_u_dtype, __pyx_t_7, __pyx_t_12, __pyx_callargs+3, 0) < 0) __PYX_ERR(0,
|
|
5882
|
+
if (__Pyx_VectorcallBuilder_AddArg(__pyx_mstate_global->__pyx_n_u_dtype, __pyx_t_7, __pyx_t_12, __pyx_callargs+3, 0) < 0) __PYX_ERR(0, 29, __pyx_L1_error)
|
|
5883
5883
|
__pyx_t_8 = __Pyx_Object_Vectorcall_CallFromBuilder(__pyx_t_4, __pyx_callargs+__pyx_t_6, (3-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET), __pyx_t_12);
|
|
5884
5884
|
__Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
|
|
5885
5885
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
5886
5886
|
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
|
|
5887
5887
|
__Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0;
|
|
5888
5888
|
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
|
|
5889
|
-
if (unlikely(!__pyx_t_8)) __PYX_ERR(0,
|
|
5889
|
+
if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 29, __pyx_L1_error)
|
|
5890
5890
|
__Pyx_GOTREF(__pyx_t_8);
|
|
5891
5891
|
}
|
|
5892
|
-
if (!(likely(((__pyx_t_8) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_8, __pyx_mstate_global->__pyx_ptype_5numpy_ndarray))))) __PYX_ERR(0,
|
|
5892
|
+
if (!(likely(((__pyx_t_8) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_8, __pyx_mstate_global->__pyx_ptype_5numpy_ndarray))))) __PYX_ERR(0, 29, __pyx_L1_error)
|
|
5893
5893
|
{
|
|
5894
5894
|
__Pyx_BufFmt_StackElem __pyx_stack[1];
|
|
5895
5895
|
if (unlikely(__Pyx_GetBufferAndValidate(&__pyx_pybuffernd_result.rcbuffer->pybuffer, (PyObject*)((PyArrayObject *)__pyx_t_8), &__Pyx_TypeInfo_nn_int32_t, PyBUF_FORMAT| PyBUF_STRIDES, 2, 0, __pyx_stack) == -1)) {
|
|
5896
5896
|
__pyx_v_result = ((PyArrayObject *)Py_None); __Pyx_INCREF(Py_None); __pyx_pybuffernd_result.rcbuffer->pybuffer.buf = NULL;
|
|
5897
|
-
__PYX_ERR(0,
|
|
5897
|
+
__PYX_ERR(0, 29, __pyx_L1_error)
|
|
5898
5898
|
} else {__pyx_pybuffernd_result.diminfo[0].strides = __pyx_pybuffernd_result.rcbuffer->pybuffer.strides[0]; __pyx_pybuffernd_result.diminfo[0].shape = __pyx_pybuffernd_result.rcbuffer->pybuffer.shape[0]; __pyx_pybuffernd_result.diminfo[1].strides = __pyx_pybuffernd_result.rcbuffer->pybuffer.strides[1]; __pyx_pybuffernd_result.diminfo[1].shape = __pyx_pybuffernd_result.rcbuffer->pybuffer.shape[1];
|
|
5899
5899
|
}
|
|
5900
5900
|
}
|
|
5901
5901
|
__pyx_v_result = ((PyArrayObject *)__pyx_t_8);
|
|
5902
5902
|
__pyx_t_8 = 0;
|
|
5903
5903
|
|
|
5904
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":
|
|
5904
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":31
|
|
5905
5905
|
* cdef cnp.ndarray[int32_t, ndim=2] result = np.full((n, max_groups), -999, dtype=np.int32)
|
|
5906
5906
|
*
|
|
5907
5907
|
* for i in range(n): # <<<<<<<<<<<<<<
|
|
@@ -5913,46 +5913,46 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdss_seqd
|
|
|
5913
5913
|
for (__pyx_t_11 = 0; __pyx_t_11 < __pyx_t_10; __pyx_t_11+=1) {
|
|
5914
5914
|
__pyx_v_i = __pyx_t_11;
|
|
5915
5915
|
|
|
5916
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":
|
|
5916
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":32
|
|
5917
5917
|
*
|
|
5918
5918
|
* for i in range(n):
|
|
5919
5919
|
* g = groups[i] # <<<<<<<<<<<<<<
|
|
5920
5920
|
* result[i, :len(g)] = g
|
|
5921
5921
|
*
|
|
5922
5922
|
*/
|
|
5923
|
-
__pyx_t_8 = __Pyx_GetItemInt_List(__pyx_v_groups, __pyx_v_i, int, 1, __Pyx_PyLong_From_int, 1, 1, 1, 1); if (unlikely(!__pyx_t_8)) __PYX_ERR(0,
|
|
5923
|
+
__pyx_t_8 = __Pyx_GetItemInt_List(__pyx_v_groups, __pyx_v_i, int, 1, __Pyx_PyLong_From_int, 1, 1, 1, 1); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 32, __pyx_L1_error)
|
|
5924
5924
|
__Pyx_GOTREF(__pyx_t_8);
|
|
5925
5925
|
__Pyx_XDECREF_SET(__pyx_v_g, __pyx_t_8);
|
|
5926
5926
|
__pyx_t_8 = 0;
|
|
5927
5927
|
|
|
5928
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":
|
|
5928
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":33
|
|
5929
5929
|
* for i in range(n):
|
|
5930
5930
|
* g = groups[i]
|
|
5931
5931
|
* result[i, :len(g)] = g # <<<<<<<<<<<<<<
|
|
5932
5932
|
*
|
|
5933
5933
|
* return result
|
|
5934
5934
|
*/
|
|
5935
|
-
__pyx_t_8 = __Pyx_PyLong_From_int(__pyx_v_i); if (unlikely(!__pyx_t_8)) __PYX_ERR(0,
|
|
5935
|
+
__pyx_t_8 = __Pyx_PyLong_From_int(__pyx_v_i); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 33, __pyx_L1_error)
|
|
5936
5936
|
__Pyx_GOTREF(__pyx_t_8);
|
|
5937
|
-
__pyx_t_16 = PyObject_Length(__pyx_v_g); if (unlikely(__pyx_t_16 == ((Py_ssize_t)-1))) __PYX_ERR(0,
|
|
5938
|
-
__pyx_t_4 = PyLong_FromSsize_t(__pyx_t_16); if (unlikely(!__pyx_t_4)) __PYX_ERR(0,
|
|
5937
|
+
__pyx_t_16 = PyObject_Length(__pyx_v_g); if (unlikely(__pyx_t_16 == ((Py_ssize_t)-1))) __PYX_ERR(0, 33, __pyx_L1_error)
|
|
5938
|
+
__pyx_t_4 = PyLong_FromSsize_t(__pyx_t_16); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 33, __pyx_L1_error)
|
|
5939
5939
|
__Pyx_GOTREF(__pyx_t_4);
|
|
5940
|
-
__pyx_t_12 = PySlice_New(Py_None, __pyx_t_4, Py_None); if (unlikely(!__pyx_t_12)) __PYX_ERR(0,
|
|
5940
|
+
__pyx_t_12 = PySlice_New(Py_None, __pyx_t_4, Py_None); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 33, __pyx_L1_error)
|
|
5941
5941
|
__Pyx_GOTREF(__pyx_t_12);
|
|
5942
5942
|
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
|
|
5943
|
-
__pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) __PYX_ERR(0,
|
|
5943
|
+
__pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 33, __pyx_L1_error)
|
|
5944
5944
|
__Pyx_GOTREF(__pyx_t_4);
|
|
5945
5945
|
__Pyx_GIVEREF(__pyx_t_8);
|
|
5946
|
-
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_8) != (0)) __PYX_ERR(0,
|
|
5946
|
+
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_8) != (0)) __PYX_ERR(0, 33, __pyx_L1_error);
|
|
5947
5947
|
__Pyx_GIVEREF(__pyx_t_12);
|
|
5948
|
-
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 1, __pyx_t_12) != (0)) __PYX_ERR(0,
|
|
5948
|
+
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 1, __pyx_t_12) != (0)) __PYX_ERR(0, 33, __pyx_L1_error);
|
|
5949
5949
|
__pyx_t_8 = 0;
|
|
5950
5950
|
__pyx_t_12 = 0;
|
|
5951
|
-
if (unlikely((PyObject_SetItem(((PyObject *)__pyx_v_result), __pyx_t_4, __pyx_v_g) < 0))) __PYX_ERR(0,
|
|
5951
|
+
if (unlikely((PyObject_SetItem(((PyObject *)__pyx_v_result), __pyx_t_4, __pyx_v_g) < 0))) __PYX_ERR(0, 33, __pyx_L1_error)
|
|
5952
5952
|
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
|
|
5953
5953
|
}
|
|
5954
5954
|
|
|
5955
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":
|
|
5955
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":35
|
|
5956
5956
|
* result[i, :len(g)] = g
|
|
5957
5957
|
*
|
|
5958
5958
|
* return result # <<<<<<<<<<<<<<
|
|
@@ -5962,7 +5962,7 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdss_seqd
|
|
|
5962
5962
|
__pyx_r = ((PyObject *)__pyx_v_result);
|
|
5963
5963
|
goto __pyx_L0;
|
|
5964
5964
|
|
|
5965
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":
|
|
5965
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":8
|
|
5966
5966
|
* from libc.stdint cimport int32_t
|
|
5967
5967
|
*
|
|
5968
5968
|
* def seqdss(seqdata): # <<<<<<<<<<<<<<
|
|
@@ -6230,15 +6230,15 @@ static int __Pyx_modinit_type_init_code(__pyx_mstatetype *__pyx_mstate) {
|
|
|
6230
6230
|
__Pyx_RefNannySetupContext("__Pyx_modinit_type_init_code", 0);
|
|
6231
6231
|
/*--- Type init code ---*/
|
|
6232
6232
|
#if CYTHON_USE_TYPE_SPECS
|
|
6233
|
-
__pyx_mstate->__pyx_ptype_8sequenzo_22dissimilarity_measures_5utils_6seqdss___pyx_scope_struct__genexpr = (PyTypeObject *) __Pyx_PyType_FromModuleAndSpec(__pyx_m, &__pyx_type_8sequenzo_22dissimilarity_measures_5utils_6seqdss___pyx_scope_struct__genexpr_spec, NULL); if (unlikely(!__pyx_mstate->__pyx_ptype_8sequenzo_22dissimilarity_measures_5utils_6seqdss___pyx_scope_struct__genexpr)) __PYX_ERR(0,
|
|
6234
|
-
if (__Pyx_fix_up_extension_type_from_spec(&__pyx_type_8sequenzo_22dissimilarity_measures_5utils_6seqdss___pyx_scope_struct__genexpr_spec, __pyx_mstate->__pyx_ptype_8sequenzo_22dissimilarity_measures_5utils_6seqdss___pyx_scope_struct__genexpr) < 0) __PYX_ERR(0,
|
|
6233
|
+
__pyx_mstate->__pyx_ptype_8sequenzo_22dissimilarity_measures_5utils_6seqdss___pyx_scope_struct__genexpr = (PyTypeObject *) __Pyx_PyType_FromModuleAndSpec(__pyx_m, &__pyx_type_8sequenzo_22dissimilarity_measures_5utils_6seqdss___pyx_scope_struct__genexpr_spec, NULL); if (unlikely(!__pyx_mstate->__pyx_ptype_8sequenzo_22dissimilarity_measures_5utils_6seqdss___pyx_scope_struct__genexpr)) __PYX_ERR(0, 26, __pyx_L1_error)
|
|
6234
|
+
if (__Pyx_fix_up_extension_type_from_spec(&__pyx_type_8sequenzo_22dissimilarity_measures_5utils_6seqdss___pyx_scope_struct__genexpr_spec, __pyx_mstate->__pyx_ptype_8sequenzo_22dissimilarity_measures_5utils_6seqdss___pyx_scope_struct__genexpr) < 0) __PYX_ERR(0, 26, __pyx_L1_error)
|
|
6235
6235
|
#else
|
|
6236
6236
|
__pyx_mstate->__pyx_ptype_8sequenzo_22dissimilarity_measures_5utils_6seqdss___pyx_scope_struct__genexpr = &__pyx_type_8sequenzo_22dissimilarity_measures_5utils_6seqdss___pyx_scope_struct__genexpr;
|
|
6237
6237
|
#endif
|
|
6238
6238
|
#if !CYTHON_COMPILING_IN_LIMITED_API
|
|
6239
6239
|
#endif
|
|
6240
6240
|
#if !CYTHON_USE_TYPE_SPECS
|
|
6241
|
-
if (__Pyx_PyType_Ready(__pyx_mstate->__pyx_ptype_8sequenzo_22dissimilarity_measures_5utils_6seqdss___pyx_scope_struct__genexpr) < 0) __PYX_ERR(0,
|
|
6241
|
+
if (__Pyx_PyType_Ready(__pyx_mstate->__pyx_ptype_8sequenzo_22dissimilarity_measures_5utils_6seqdss___pyx_scope_struct__genexpr) < 0) __PYX_ERR(0, 26, __pyx_L1_error)
|
|
6242
6242
|
#endif
|
|
6243
6243
|
#if !CYTHON_COMPILING_IN_LIMITED_API
|
|
6244
6244
|
if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) && likely(!__pyx_mstate->__pyx_ptype_8sequenzo_22dissimilarity_measures_5utils_6seqdss___pyx_scope_struct__genexpr->tp_dictoffset && __pyx_mstate->__pyx_ptype_8sequenzo_22dissimilarity_measures_5utils_6seqdss___pyx_scope_struct__genexpr->tp_getattro == PyObject_GenericGetAttr)) {
|
|
@@ -6720,50 +6720,51 @@ __Pyx_RefNannySetupContext("PyInit_seqdss", 0);
|
|
|
6720
6720
|
(void)__Pyx_modinit_function_import_code(__pyx_mstate);
|
|
6721
6721
|
/*--- Execution code ---*/
|
|
6722
6722
|
|
|
6723
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":
|
|
6723
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":2
|
|
6724
|
+
* # cython: np_import_array=True
|
|
6724
6725
|
* import numpy as np # <<<<<<<<<<<<<<
|
|
6725
6726
|
* cimport numpy as cnp
|
|
6726
|
-
*
|
|
6727
|
+
*
|
|
6727
6728
|
*/
|
|
6728
|
-
__pyx_t_2 = __Pyx_ImportDottedModule(__pyx_mstate_global->__pyx_n_u_numpy, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(0,
|
|
6729
|
+
__pyx_t_2 = __Pyx_ImportDottedModule(__pyx_mstate_global->__pyx_n_u_numpy, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2, __pyx_L1_error)
|
|
6729
6730
|
__Pyx_GOTREF(__pyx_t_2);
|
|
6730
|
-
if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_np, __pyx_t_2) < 0) __PYX_ERR(0,
|
|
6731
|
+
if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_np, __pyx_t_2) < 0) __PYX_ERR(0, 2, __pyx_L1_error)
|
|
6731
6732
|
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
|
|
6732
6733
|
|
|
6733
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":
|
|
6734
|
-
* import numpy as np
|
|
6734
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":5
|
|
6735
6735
|
* cimport numpy as cnp
|
|
6736
|
+
*
|
|
6736
6737
|
* from sequenzo.define_sequence_data import SequenceData # <<<<<<<<<<<<<<
|
|
6737
6738
|
* from libc.stdint cimport int32_t
|
|
6738
6739
|
*
|
|
6739
6740
|
*/
|
|
6740
|
-
__pyx_t_2 = __Pyx_PyList_Pack(1, __pyx_mstate_global->__pyx_n_u_SequenceData); if (unlikely(!__pyx_t_2)) __PYX_ERR(0,
|
|
6741
|
+
__pyx_t_2 = __Pyx_PyList_Pack(1, __pyx_mstate_global->__pyx_n_u_SequenceData); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 5, __pyx_L1_error)
|
|
6741
6742
|
__Pyx_GOTREF(__pyx_t_2);
|
|
6742
|
-
__pyx_t_3 = __Pyx_Import(__pyx_mstate_global->__pyx_n_u_sequenzo_define_sequence_data, __pyx_t_2, 0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0,
|
|
6743
|
+
__pyx_t_3 = __Pyx_Import(__pyx_mstate_global->__pyx_n_u_sequenzo_define_sequence_data, __pyx_t_2, 0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5, __pyx_L1_error)
|
|
6743
6744
|
__Pyx_GOTREF(__pyx_t_3);
|
|
6744
6745
|
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
|
|
6745
|
-
__pyx_t_2 = __Pyx_ImportFrom(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_SequenceData); if (unlikely(!__pyx_t_2)) __PYX_ERR(0,
|
|
6746
|
+
__pyx_t_2 = __Pyx_ImportFrom(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_SequenceData); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 5, __pyx_L1_error)
|
|
6746
6747
|
__Pyx_GOTREF(__pyx_t_2);
|
|
6747
|
-
if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_SequenceData, __pyx_t_2) < 0) __PYX_ERR(0,
|
|
6748
|
+
if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_SequenceData, __pyx_t_2) < 0) __PYX_ERR(0, 5, __pyx_L1_error)
|
|
6748
6749
|
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
|
|
6749
6750
|
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
|
|
6750
6751
|
|
|
6751
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":
|
|
6752
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":8
|
|
6752
6753
|
* from libc.stdint cimport int32_t
|
|
6753
6754
|
*
|
|
6754
6755
|
* def seqdss(seqdata): # <<<<<<<<<<<<<<
|
|
6755
6756
|
* if not isinstance(seqdata, SequenceData):
|
|
6756
6757
|
* raise ValueError("[!] data is NOT a sequence object, see SequenceData to create one.")
|
|
6757
6758
|
*/
|
|
6758
|
-
__pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_8sequenzo_22dissimilarity_measures_5utils_6seqdss_1seqdss, 0, __pyx_mstate_global->__pyx_n_u_seqdss, NULL, __pyx_mstate_global->__pyx_n_u_sequenzo_dissimilarity_measures, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[1])); if (unlikely(!__pyx_t_3)) __PYX_ERR(0,
|
|
6759
|
+
__pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_8sequenzo_22dissimilarity_measures_5utils_6seqdss_1seqdss, 0, __pyx_mstate_global->__pyx_n_u_seqdss, NULL, __pyx_mstate_global->__pyx_n_u_sequenzo_dissimilarity_measures, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[1])); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 8, __pyx_L1_error)
|
|
6759
6760
|
__Pyx_GOTREF(__pyx_t_3);
|
|
6760
|
-
if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_seqdss, __pyx_t_3) < 0) __PYX_ERR(0,
|
|
6761
|
+
if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_seqdss, __pyx_t_3) < 0) __PYX_ERR(0, 8, __pyx_L1_error)
|
|
6761
6762
|
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
|
|
6762
6763
|
|
|
6763
6764
|
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":1
|
|
6764
|
-
*
|
|
6765
|
+
* # cython: np_import_array=True # <<<<<<<<<<<<<<
|
|
6766
|
+
* import numpy as np
|
|
6765
6767
|
* cimport numpy as cnp
|
|
6766
|
-
* from sequenzo.define_sequence_data import SequenceData
|
|
6767
6768
|
*/
|
|
6768
6769
|
__pyx_t_3 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
6769
6770
|
__Pyx_GOTREF(__pyx_t_3);
|
|
@@ -6904,10 +6905,10 @@ static int __Pyx_InitStrings(__Pyx_StringTabEntry const *t, PyObject **target, c
|
|
|
6904
6905
|
|
|
6905
6906
|
static int __Pyx_InitCachedBuiltins(__pyx_mstatetype *__pyx_mstate) {
|
|
6906
6907
|
CYTHON_UNUSED_VAR(__pyx_mstate);
|
|
6907
|
-
__pyx_builtin_ValueError = __Pyx_GetBuiltinName(__pyx_mstate->__pyx_n_u_ValueError); if (!__pyx_builtin_ValueError) __PYX_ERR(0,
|
|
6908
|
-
__pyx_builtin_range = __Pyx_GetBuiltinName(__pyx_mstate->__pyx_n_u_range); if (!__pyx_builtin_range) __PYX_ERR(0,
|
|
6909
|
-
__pyx_builtin_max = __Pyx_GetBuiltinName(__pyx_mstate->__pyx_n_u_max); if (!__pyx_builtin_max) __PYX_ERR(0,
|
|
6910
|
-
__pyx_builtin_zip = __Pyx_GetBuiltinName(__pyx_mstate->__pyx_n_u_zip); if (!__pyx_builtin_zip) __PYX_ERR(0,
|
|
6908
|
+
__pyx_builtin_ValueError = __Pyx_GetBuiltinName(__pyx_mstate->__pyx_n_u_ValueError); if (!__pyx_builtin_ValueError) __PYX_ERR(0, 10, __pyx_L1_error)
|
|
6909
|
+
__pyx_builtin_range = __Pyx_GetBuiltinName(__pyx_mstate->__pyx_n_u_range); if (!__pyx_builtin_range) __PYX_ERR(0, 19, __pyx_L1_error)
|
|
6910
|
+
__pyx_builtin_max = __Pyx_GetBuiltinName(__pyx_mstate->__pyx_n_u_max); if (!__pyx_builtin_max) __PYX_ERR(0, 26, __pyx_L1_error)
|
|
6911
|
+
__pyx_builtin_zip = __Pyx_GetBuiltinName(__pyx_mstate->__pyx_n_u_zip); if (!__pyx_builtin_zip) __PYX_ERR(0, 25, __pyx_L1_error)
|
|
6911
6912
|
__pyx_builtin_ImportError = __Pyx_GetBuiltinName(__pyx_mstate->__pyx_n_u_ImportError); if (!__pyx_builtin_ImportError) __PYX_ERR(1, 1010, __pyx_L1_error)
|
|
6912
6913
|
return 0;
|
|
6913
6914
|
__pyx_L1_error:;
|
|
@@ -6920,34 +6921,34 @@ static int __Pyx_InitCachedConstants(__pyx_mstatetype *__pyx_mstate) {
|
|
|
6920
6921
|
CYTHON_UNUSED_VAR(__pyx_mstate);
|
|
6921
6922
|
__Pyx_RefNannySetupContext("__Pyx_InitCachedConstants", 0);
|
|
6922
6923
|
|
|
6923
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":
|
|
6924
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":20
|
|
6924
6925
|
*
|
|
6925
6926
|
* for j in range(1, m):
|
|
6926
6927
|
* mask = (ffill[:, j] < 0) # <<<<<<<<<<<<<<
|
|
6927
6928
|
* ffill[mask, j] = ffill[mask, j - 1]
|
|
6928
6929
|
*
|
|
6929
6930
|
*/
|
|
6930
|
-
__pyx_mstate_global->__pyx_slice[0] = PySlice_New(Py_None, Py_None, Py_None); if (unlikely(!__pyx_mstate_global->__pyx_slice[0])) __PYX_ERR(0,
|
|
6931
|
+
__pyx_mstate_global->__pyx_slice[0] = PySlice_New(Py_None, Py_None, Py_None); if (unlikely(!__pyx_mstate_global->__pyx_slice[0])) __PYX_ERR(0, 20, __pyx_L1_error)
|
|
6931
6932
|
__Pyx_GOTREF(__pyx_mstate_global->__pyx_slice[0]);
|
|
6932
6933
|
__Pyx_GIVEREF(__pyx_mstate_global->__pyx_slice[0]);
|
|
6933
6934
|
|
|
6934
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":
|
|
6935
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":23
|
|
6935
6936
|
* ffill[mask, j] = ffill[mask, j - 1]
|
|
6936
6937
|
*
|
|
6937
6938
|
* boundaries = np.concatenate([boundaries, ffill[:, 1:] != ffill[:, :-1]], axis=1) # <<<<<<<<<<<<<<
|
|
6938
6939
|
*
|
|
6939
6940
|
* cdef list groups = [row[boundary & (row >= 0)] for row, boundary in zip(ffill, boundaries)]
|
|
6940
6941
|
*/
|
|
6941
|
-
__pyx_mstate_global->__pyx_slice[1] = PySlice_New(__pyx_mstate_global->__pyx_int_1, Py_None, Py_None); if (unlikely(!__pyx_mstate_global->__pyx_slice[1])) __PYX_ERR(0,
|
|
6942
|
+
__pyx_mstate_global->__pyx_slice[1] = PySlice_New(__pyx_mstate_global->__pyx_int_1, Py_None, Py_None); if (unlikely(!__pyx_mstate_global->__pyx_slice[1])) __PYX_ERR(0, 23, __pyx_L1_error)
|
|
6942
6943
|
__Pyx_GOTREF(__pyx_mstate_global->__pyx_slice[1]);
|
|
6943
6944
|
__Pyx_GIVEREF(__pyx_mstate_global->__pyx_slice[1]);
|
|
6944
|
-
__pyx_mstate_global->__pyx_tuple[0] = PyTuple_Pack(2, __pyx_mstate_global->__pyx_slice[0], __pyx_mstate_global->__pyx_slice[1]); if (unlikely(!__pyx_mstate_global->__pyx_tuple[0])) __PYX_ERR(0,
|
|
6945
|
+
__pyx_mstate_global->__pyx_tuple[0] = PyTuple_Pack(2, __pyx_mstate_global->__pyx_slice[0], __pyx_mstate_global->__pyx_slice[1]); if (unlikely(!__pyx_mstate_global->__pyx_tuple[0])) __PYX_ERR(0, 23, __pyx_L1_error)
|
|
6945
6946
|
__Pyx_GOTREF(__pyx_mstate_global->__pyx_tuple[0]);
|
|
6946
6947
|
__Pyx_GIVEREF(__pyx_mstate_global->__pyx_tuple[0]);
|
|
6947
|
-
__pyx_mstate_global->__pyx_slice[2] = PySlice_New(Py_None, __pyx_mstate_global->__pyx_int_neg_1, Py_None); if (unlikely(!__pyx_mstate_global->__pyx_slice[2])) __PYX_ERR(0,
|
|
6948
|
+
__pyx_mstate_global->__pyx_slice[2] = PySlice_New(Py_None, __pyx_mstate_global->__pyx_int_neg_1, Py_None); if (unlikely(!__pyx_mstate_global->__pyx_slice[2])) __PYX_ERR(0, 23, __pyx_L1_error)
|
|
6948
6949
|
__Pyx_GOTREF(__pyx_mstate_global->__pyx_slice[2]);
|
|
6949
6950
|
__Pyx_GIVEREF(__pyx_mstate_global->__pyx_slice[2]);
|
|
6950
|
-
__pyx_mstate_global->__pyx_tuple[1] = PyTuple_Pack(2, __pyx_mstate_global->__pyx_slice[0], __pyx_mstate_global->__pyx_slice[2]); if (unlikely(!__pyx_mstate_global->__pyx_tuple[1])) __PYX_ERR(0,
|
|
6951
|
+
__pyx_mstate_global->__pyx_tuple[1] = PyTuple_Pack(2, __pyx_mstate_global->__pyx_slice[0], __pyx_mstate_global->__pyx_slice[2]); if (unlikely(!__pyx_mstate_global->__pyx_tuple[1])) __PYX_ERR(0, 23, __pyx_L1_error)
|
|
6951
6952
|
__Pyx_GOTREF(__pyx_mstate_global->__pyx_tuple[1]);
|
|
6952
6953
|
__Pyx_GIVEREF(__pyx_mstate_global->__pyx_tuple[1]);
|
|
6953
6954
|
__Pyx_RefNannyFinishContext();
|
|
@@ -6997,12 +6998,12 @@ static int __Pyx_CreateCodeObjects(__pyx_mstatetype *__pyx_mstate) {
|
|
|
6997
6998
|
PyObject* tuple_dedup_map = PyDict_New();
|
|
6998
6999
|
if (unlikely(!tuple_dedup_map)) return -1;
|
|
6999
7000
|
{
|
|
7000
|
-
const __Pyx_PyCode_New_function_description descr = {0, 0, 0, 1, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS|CO_GENERATOR),
|
|
7001
|
+
const __Pyx_PyCode_New_function_description descr = {0, 0, 0, 1, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS|CO_GENERATOR), 26, 2};
|
|
7001
7002
|
PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_g};
|
|
7002
7003
|
__pyx_mstate_global->__pyx_codeobj_tab[0] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_sequenzo_dissimilarity_measures_2, __pyx_mstate->__pyx_n_u_genexpr, __pyx_k__3, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[0])) goto bad;
|
|
7003
7004
|
}
|
|
7004
7005
|
{
|
|
7005
|
-
const __Pyx_PyCode_New_function_description descr = {1, 0, 0, 17, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS),
|
|
7006
|
+
const __Pyx_PyCode_New_function_description descr = {1, 0, 0, 17, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 8, 275};
|
|
7006
7007
|
PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_seqdata, __pyx_mstate->__pyx_n_u_seqdatanum, __pyx_mstate->__pyx_n_u_n, __pyx_mstate->__pyx_n_u_m, __pyx_mstate->__pyx_n_u_i, __pyx_mstate->__pyx_n_u_j, __pyx_mstate->__pyx_n_u_ffill, __pyx_mstate->__pyx_n_u_boundaries, __pyx_mstate->__pyx_n_u_mask, __pyx_mstate->__pyx_n_u_groups, __pyx_mstate->__pyx_n_u_max_groups, __pyx_mstate->__pyx_n_u_result, __pyx_mstate->__pyx_n_u_g, __pyx_mstate->__pyx_n_u_row, __pyx_mstate->__pyx_n_u_boundary, __pyx_mstate->__pyx_n_u_genexpr, __pyx_mstate->__pyx_n_u_genexpr};
|
|
7007
7008
|
__pyx_mstate_global->__pyx_codeobj_tab[1] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_sequenzo_dissimilarity_measures_2, __pyx_mstate->__pyx_n_u_seqdss, __pyx_k_t_Qiq_j_37_8SXXY_6_F_1_a_0_r_D, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[1])) goto bad;
|
|
7008
7009
|
}
|