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