sequenzo 0.1.20__cp39-cp39-win_amd64.whl → 0.1.22__cp39-cp39-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 +195 -195
- sequenzo/big_data/clara/utils/get_weighted_diss.cp39-win_amd64.pyd +0 -0
- sequenzo/clustering/clustering_c_code.cp39-win_amd64.pyd +0 -0
- sequenzo/clustering/hierarchical_clustering.py +1 -1
- sequenzo/define_sequence_data.py +4 -4
- sequenzo/dissimilarity_measures/c_code.cp39-win_amd64.pyd +0 -0
- sequenzo/dissimilarity_measures/utils/get_sm_trate_substitution_cost_matrix.c +172 -173
- sequenzo/dissimilarity_measures/utils/get_sm_trate_substitution_cost_matrix.cp39-win_amd64.pyd +0 -0
- sequenzo/dissimilarity_measures/utils/seqconc.c +234 -234
- sequenzo/dissimilarity_measures/utils/seqconc.cp39-win_amd64.pyd +0 -0
- sequenzo/dissimilarity_measures/utils/seqdss.c +327 -327
- sequenzo/dissimilarity_measures/utils/seqdss.cp39-win_amd64.pyd +0 -0
- sequenzo/dissimilarity_measures/utils/seqdur.c +327 -327
- sequenzo/dissimilarity_measures/utils/seqdur.cp39-win_amd64.pyd +0 -0
- sequenzo/dissimilarity_measures/utils/seqlength.c +227 -226
- sequenzo/dissimilarity_measures/utils/seqlength.cp39-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-j_2gb50v\\overlay\\Lib\\site-packages\\numpy\\_core\\include\\numpy\\arrayobject.h",
|
|
14
|
+
"C:\\Users\\runneradmin\\AppData\\Local\\Temp\\pip-build-env-j_2gb50v\\overlay\\Lib\\site-packages\\numpy\\_core\\include\\numpy\\arrayscalars.h",
|
|
15
|
+
"C:\\Users\\runneradmin\\AppData\\Local\\Temp\\pip-build-env-j_2gb50v\\overlay\\Lib\\site-packages\\numpy\\_core\\include\\numpy\\ndarrayobject.h",
|
|
16
|
+
"C:\\Users\\runneradmin\\AppData\\Local\\Temp\\pip-build-env-j_2gb50v\\overlay\\Lib\\site-packages\\numpy\\_core\\include\\numpy\\ndarraytypes.h",
|
|
17
|
+
"C:\\Users\\runneradmin\\AppData\\Local\\Temp\\pip-build-env-j_2gb50v\\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-j_2gb50v\\overlay\\Lib\\site-packages\\pybind11\\include",
|
|
27
|
+
"C:\\Users\\runneradmin\\AppData\\Local\\Temp\\pip-build-env-j_2gb50v\\overlay\\Lib\\site-packages\\pybind11\\include",
|
|
28
|
+
"C:\\Users\\runneradmin\\AppData\\Local\\Temp\\pip-build-env-j_2gb50v\\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-j_2gb50v/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-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":770
|
|
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-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":771
|
|
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-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":772
|
|
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-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":773
|
|
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-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":777
|
|
1638
1637
|
* #ctypedef npy_int128 int128_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-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":778
|
|
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-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":779
|
|
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-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":780
|
|
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-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":784
|
|
1674
1673
|
* #ctypedef npy_uint128 uint128_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-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":785
|
|
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-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":792
|
|
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-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":793
|
|
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-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":795
|
|
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-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":796
|
|
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-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":798
|
|
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-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":799
|
|
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-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":800
|
|
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
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1794
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1096
|
|
1796
1795
|
*
|
|
1797
1796
|
* # Iterator API added in v1.6
|
|
1798
1797
|
* ctypedef int (*NpyIter_IterNextFunc)(NpyIter* it) noexcept nogil # <<<<<<<<<<<<<<
|
|
@@ -1801,7 +1800,7 @@ struct __pyx_obj_8sequenzo_22dissimilarity_measures_5utils_6seqdss___pyx_scope_s
|
|
|
1801
1800
|
*/
|
|
1802
1801
|
typedef int (*__pyx_t_5numpy_NpyIter_IterNextFunc)(NpyIter *);
|
|
1803
1802
|
|
|
1804
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1803
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1097
|
|
1805
1804
|
* # Iterator API added in v1.6
|
|
1806
1805
|
* ctypedef int (*NpyIter_IterNextFunc)(NpyIter* it) noexcept nogil
|
|
1807
1806
|
* ctypedef void (*NpyIter_GetMultiIndexFunc)(NpyIter* it, npy_intp* outcoords) noexcept nogil # <<<<<<<<<<<<<<
|
|
@@ -1810,7 +1809,7 @@ typedef int (*__pyx_t_5numpy_NpyIter_IterNextFunc)(NpyIter *);
|
|
|
1810
1809
|
*/
|
|
1811
1810
|
typedef void (*__pyx_t_5numpy_NpyIter_GetMultiIndexFunc)(NpyIter *, npy_intp *);
|
|
1812
1811
|
|
|
1813
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":
|
|
1812
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":26
|
|
1814
1813
|
*
|
|
1815
1814
|
* cdef list groups = [row[boundary & (row >= 0)] for row, boundary in zip(ffill, boundaries)]
|
|
1816
1815
|
* cdef int max_groups = max(len(g) for g in groups) # <<<<<<<<<<<<<<
|
|
@@ -3319,7 +3318,7 @@ static CYTHON_SMALL_CODE int __pyx_m_traverse(PyObject *m, visitproc visit, void
|
|
|
3319
3318
|
#endif
|
|
3320
3319
|
/* #### Code section: module_code ### */
|
|
3321
3320
|
|
|
3322
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3321
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":285
|
|
3323
3322
|
* cdef int type_num
|
|
3324
3323
|
*
|
|
3325
3324
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3330,7 +3329,7 @@ static CYTHON_SMALL_CODE int __pyx_m_traverse(PyObject *m, visitproc visit, void
|
|
|
3330
3329
|
static CYTHON_INLINE npy_intp __pyx_f_5numpy_5dtype_8itemsize_itemsize(PyArray_Descr *__pyx_v_self) {
|
|
3331
3330
|
npy_intp __pyx_r;
|
|
3332
3331
|
|
|
3333
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3332
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":287
|
|
3334
3333
|
* @property
|
|
3335
3334
|
* cdef inline npy_intp itemsize(self) noexcept nogil:
|
|
3336
3335
|
* return PyDataType_ELSIZE(self) # <<<<<<<<<<<<<<
|
|
@@ -3340,7 +3339,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_5dtype_8itemsize_itemsize(PyArray_D
|
|
|
3340
3339
|
__pyx_r = PyDataType_ELSIZE(__pyx_v_self);
|
|
3341
3340
|
goto __pyx_L0;
|
|
3342
3341
|
|
|
3343
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3342
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":285
|
|
3344
3343
|
* cdef int type_num
|
|
3345
3344
|
*
|
|
3346
3345
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3353,7 +3352,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_5dtype_8itemsize_itemsize(PyArray_D
|
|
|
3353
3352
|
return __pyx_r;
|
|
3354
3353
|
}
|
|
3355
3354
|
|
|
3356
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3355
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":289
|
|
3357
3356
|
* return PyDataType_ELSIZE(self)
|
|
3358
3357
|
*
|
|
3359
3358
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3364,7 +3363,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_5dtype_8itemsize_itemsize(PyArray_D
|
|
|
3364
3363
|
static CYTHON_INLINE npy_intp __pyx_f_5numpy_5dtype_9alignment_alignment(PyArray_Descr *__pyx_v_self) {
|
|
3365
3364
|
npy_intp __pyx_r;
|
|
3366
3365
|
|
|
3367
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3366
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":291
|
|
3368
3367
|
* @property
|
|
3369
3368
|
* cdef inline npy_intp alignment(self) noexcept nogil:
|
|
3370
3369
|
* return PyDataType_ALIGNMENT(self) # <<<<<<<<<<<<<<
|
|
@@ -3374,7 +3373,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_5dtype_9alignment_alignment(PyArray
|
|
|
3374
3373
|
__pyx_r = PyDataType_ALIGNMENT(__pyx_v_self);
|
|
3375
3374
|
goto __pyx_L0;
|
|
3376
3375
|
|
|
3377
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3376
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":289
|
|
3378
3377
|
* return PyDataType_ELSIZE(self)
|
|
3379
3378
|
*
|
|
3380
3379
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3387,7 +3386,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_5dtype_9alignment_alignment(PyArray
|
|
|
3387
3386
|
return __pyx_r;
|
|
3388
3387
|
}
|
|
3389
3388
|
|
|
3390
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3389
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":295
|
|
3391
3390
|
* # Use fields/names with care as they may be NULL. You must check
|
|
3392
3391
|
* # for this using PyDataType_HASFIELDS.
|
|
3393
3392
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3401,7 +3400,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_5dtype_6fields_fields(PyArray_Desc
|
|
|
3401
3400
|
PyObject *__pyx_t_1;
|
|
3402
3401
|
__Pyx_RefNannySetupContext("fields", 0);
|
|
3403
3402
|
|
|
3404
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3403
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":297
|
|
3405
3404
|
* @property
|
|
3406
3405
|
* cdef inline object fields(self):
|
|
3407
3406
|
* return <object>PyDataType_FIELDS(self) # <<<<<<<<<<<<<<
|
|
@@ -3414,7 +3413,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_5dtype_6fields_fields(PyArray_Desc
|
|
|
3414
3413
|
__pyx_r = ((PyObject *)__pyx_t_1);
|
|
3415
3414
|
goto __pyx_L0;
|
|
3416
3415
|
|
|
3417
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3416
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":295
|
|
3418
3417
|
* # Use fields/names with care as they may be NULL. You must check
|
|
3419
3418
|
* # for this using PyDataType_HASFIELDS.
|
|
3420
3419
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3429,7 +3428,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_5dtype_6fields_fields(PyArray_Desc
|
|
|
3429
3428
|
return __pyx_r;
|
|
3430
3429
|
}
|
|
3431
3430
|
|
|
3432
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3431
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":299
|
|
3433
3432
|
* return <object>PyDataType_FIELDS(self)
|
|
3434
3433
|
*
|
|
3435
3434
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3443,7 +3442,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_5dtype_5names_names(PyArray_Descr
|
|
|
3443
3442
|
PyObject *__pyx_t_1;
|
|
3444
3443
|
__Pyx_RefNannySetupContext("names", 0);
|
|
3445
3444
|
|
|
3446
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3445
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":301
|
|
3447
3446
|
* @property
|
|
3448
3447
|
* cdef inline tuple names(self):
|
|
3449
3448
|
* return <tuple>PyDataType_NAMES(self) # <<<<<<<<<<<<<<
|
|
@@ -3456,7 +3455,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_5dtype_5names_names(PyArray_Descr
|
|
|
3456
3455
|
__pyx_r = ((PyObject*)__pyx_t_1);
|
|
3457
3456
|
goto __pyx_L0;
|
|
3458
3457
|
|
|
3459
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3458
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":299
|
|
3460
3459
|
* return <object>PyDataType_FIELDS(self)
|
|
3461
3460
|
*
|
|
3462
3461
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3471,7 +3470,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_5dtype_5names_names(PyArray_Descr
|
|
|
3471
3470
|
return __pyx_r;
|
|
3472
3471
|
}
|
|
3473
3472
|
|
|
3474
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3473
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":306
|
|
3475
3474
|
* # valid (the pointer can be NULL). Most users should access
|
|
3476
3475
|
* # this field via the inline helper method PyDataType_SHAPE.
|
|
3477
3476
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3482,7 +3481,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_5dtype_5names_names(PyArray_Descr
|
|
|
3482
3481
|
static CYTHON_INLINE PyArray_ArrayDescr *__pyx_f_5numpy_5dtype_8subarray_subarray(PyArray_Descr *__pyx_v_self) {
|
|
3483
3482
|
PyArray_ArrayDescr *__pyx_r;
|
|
3484
3483
|
|
|
3485
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3484
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":308
|
|
3486
3485
|
* @property
|
|
3487
3486
|
* cdef inline PyArray_ArrayDescr* subarray(self) noexcept nogil:
|
|
3488
3487
|
* return PyDataType_SUBARRAY(self) # <<<<<<<<<<<<<<
|
|
@@ -3492,7 +3491,7 @@ static CYTHON_INLINE PyArray_ArrayDescr *__pyx_f_5numpy_5dtype_8subarray_subarra
|
|
|
3492
3491
|
__pyx_r = PyDataType_SUBARRAY(__pyx_v_self);
|
|
3493
3492
|
goto __pyx_L0;
|
|
3494
3493
|
|
|
3495
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3494
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":306
|
|
3496
3495
|
* # valid (the pointer can be NULL). Most users should access
|
|
3497
3496
|
* # this field via the inline helper method PyDataType_SHAPE.
|
|
3498
3497
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3505,7 +3504,7 @@ static CYTHON_INLINE PyArray_ArrayDescr *__pyx_f_5numpy_5dtype_8subarray_subarra
|
|
|
3505
3504
|
return __pyx_r;
|
|
3506
3505
|
}
|
|
3507
3506
|
|
|
3508
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3507
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":310
|
|
3509
3508
|
* return PyDataType_SUBARRAY(self)
|
|
3510
3509
|
*
|
|
3511
3510
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3516,7 +3515,7 @@ static CYTHON_INLINE PyArray_ArrayDescr *__pyx_f_5numpy_5dtype_8subarray_subarra
|
|
|
3516
3515
|
static CYTHON_INLINE npy_uint64 __pyx_f_5numpy_5dtype_5flags_flags(PyArray_Descr *__pyx_v_self) {
|
|
3517
3516
|
npy_uint64 __pyx_r;
|
|
3518
3517
|
|
|
3519
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3518
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":313
|
|
3520
3519
|
* cdef inline npy_uint64 flags(self) noexcept nogil:
|
|
3521
3520
|
* """The data types flags."""
|
|
3522
3521
|
* return PyDataType_FLAGS(self) # <<<<<<<<<<<<<<
|
|
@@ -3526,7 +3525,7 @@ static CYTHON_INLINE npy_uint64 __pyx_f_5numpy_5dtype_5flags_flags(PyArray_Descr
|
|
|
3526
3525
|
__pyx_r = PyDataType_FLAGS(__pyx_v_self);
|
|
3527
3526
|
goto __pyx_L0;
|
|
3528
3527
|
|
|
3529
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3528
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":310
|
|
3530
3529
|
* return PyDataType_SUBARRAY(self)
|
|
3531
3530
|
*
|
|
3532
3531
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3539,7 +3538,7 @@ static CYTHON_INLINE npy_uint64 __pyx_f_5numpy_5dtype_5flags_flags(PyArray_Descr
|
|
|
3539
3538
|
return __pyx_r;
|
|
3540
3539
|
}
|
|
3541
3540
|
|
|
3542
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3541
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":322
|
|
3543
3542
|
* ctypedef class numpy.broadcast [object PyArrayMultiIterObject, check_size ignore]:
|
|
3544
3543
|
*
|
|
3545
3544
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3550,7 +3549,7 @@ static CYTHON_INLINE npy_uint64 __pyx_f_5numpy_5dtype_5flags_flags(PyArray_Descr
|
|
|
3550
3549
|
static CYTHON_INLINE int __pyx_f_5numpy_9broadcast_7numiter_numiter(PyArrayMultiIterObject *__pyx_v_self) {
|
|
3551
3550
|
int __pyx_r;
|
|
3552
3551
|
|
|
3553
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3552
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":325
|
|
3554
3553
|
* cdef inline int numiter(self) noexcept nogil:
|
|
3555
3554
|
* """The number of arrays that need to be broadcast to the same shape."""
|
|
3556
3555
|
* return PyArray_MultiIter_NUMITER(self) # <<<<<<<<<<<<<<
|
|
@@ -3560,7 +3559,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_9broadcast_7numiter_numiter(PyArrayMulti
|
|
|
3560
3559
|
__pyx_r = PyArray_MultiIter_NUMITER(__pyx_v_self);
|
|
3561
3560
|
goto __pyx_L0;
|
|
3562
3561
|
|
|
3563
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3562
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":322
|
|
3564
3563
|
* ctypedef class numpy.broadcast [object PyArrayMultiIterObject, check_size ignore]:
|
|
3565
3564
|
*
|
|
3566
3565
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3573,7 +3572,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_9broadcast_7numiter_numiter(PyArrayMulti
|
|
|
3573
3572
|
return __pyx_r;
|
|
3574
3573
|
}
|
|
3575
3574
|
|
|
3576
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3575
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":327
|
|
3577
3576
|
* return PyArray_MultiIter_NUMITER(self)
|
|
3578
3577
|
*
|
|
3579
3578
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3584,7 +3583,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_9broadcast_7numiter_numiter(PyArrayMulti
|
|
|
3584
3583
|
static CYTHON_INLINE npy_intp __pyx_f_5numpy_9broadcast_4size_size(PyArrayMultiIterObject *__pyx_v_self) {
|
|
3585
3584
|
npy_intp __pyx_r;
|
|
3586
3585
|
|
|
3587
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3586
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":330
|
|
3588
3587
|
* cdef inline npy_intp size(self) noexcept nogil:
|
|
3589
3588
|
* """The total broadcasted size."""
|
|
3590
3589
|
* return PyArray_MultiIter_SIZE(self) # <<<<<<<<<<<<<<
|
|
@@ -3594,7 +3593,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_9broadcast_4size_size(PyArrayMultiI
|
|
|
3594
3593
|
__pyx_r = PyArray_MultiIter_SIZE(__pyx_v_self);
|
|
3595
3594
|
goto __pyx_L0;
|
|
3596
3595
|
|
|
3597
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3596
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":327
|
|
3598
3597
|
* return PyArray_MultiIter_NUMITER(self)
|
|
3599
3598
|
*
|
|
3600
3599
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3607,7 +3606,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_9broadcast_4size_size(PyArrayMultiI
|
|
|
3607
3606
|
return __pyx_r;
|
|
3608
3607
|
}
|
|
3609
3608
|
|
|
3610
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3609
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":332
|
|
3611
3610
|
* return PyArray_MultiIter_SIZE(self)
|
|
3612
3611
|
*
|
|
3613
3612
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3618,7 +3617,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_9broadcast_4size_size(PyArrayMultiI
|
|
|
3618
3617
|
static CYTHON_INLINE npy_intp __pyx_f_5numpy_9broadcast_5index_index(PyArrayMultiIterObject *__pyx_v_self) {
|
|
3619
3618
|
npy_intp __pyx_r;
|
|
3620
3619
|
|
|
3621
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3620
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":335
|
|
3622
3621
|
* cdef inline npy_intp index(self) noexcept nogil:
|
|
3623
3622
|
* """The current (1-d) index into the broadcasted result."""
|
|
3624
3623
|
* return PyArray_MultiIter_INDEX(self) # <<<<<<<<<<<<<<
|
|
@@ -3628,7 +3627,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_9broadcast_5index_index(PyArrayMult
|
|
|
3628
3627
|
__pyx_r = PyArray_MultiIter_INDEX(__pyx_v_self);
|
|
3629
3628
|
goto __pyx_L0;
|
|
3630
3629
|
|
|
3631
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3630
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":332
|
|
3632
3631
|
* return PyArray_MultiIter_SIZE(self)
|
|
3633
3632
|
*
|
|
3634
3633
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3641,7 +3640,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_9broadcast_5index_index(PyArrayMult
|
|
|
3641
3640
|
return __pyx_r;
|
|
3642
3641
|
}
|
|
3643
3642
|
|
|
3644
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3643
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":337
|
|
3645
3644
|
* return PyArray_MultiIter_INDEX(self)
|
|
3646
3645
|
*
|
|
3647
3646
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3652,7 +3651,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_9broadcast_5index_index(PyArrayMult
|
|
|
3652
3651
|
static CYTHON_INLINE int __pyx_f_5numpy_9broadcast_2nd_nd(PyArrayMultiIterObject *__pyx_v_self) {
|
|
3653
3652
|
int __pyx_r;
|
|
3654
3653
|
|
|
3655
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3654
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":340
|
|
3656
3655
|
* cdef inline int nd(self) noexcept nogil:
|
|
3657
3656
|
* """The number of dimensions in the broadcasted result."""
|
|
3658
3657
|
* return PyArray_MultiIter_NDIM(self) # <<<<<<<<<<<<<<
|
|
@@ -3662,7 +3661,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_9broadcast_2nd_nd(PyArrayMultiIterObject
|
|
|
3662
3661
|
__pyx_r = PyArray_MultiIter_NDIM(__pyx_v_self);
|
|
3663
3662
|
goto __pyx_L0;
|
|
3664
3663
|
|
|
3665
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3664
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":337
|
|
3666
3665
|
* return PyArray_MultiIter_INDEX(self)
|
|
3667
3666
|
*
|
|
3668
3667
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3675,7 +3674,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_9broadcast_2nd_nd(PyArrayMultiIterObject
|
|
|
3675
3674
|
return __pyx_r;
|
|
3676
3675
|
}
|
|
3677
3676
|
|
|
3678
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3677
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":342
|
|
3679
3678
|
* return PyArray_MultiIter_NDIM(self)
|
|
3680
3679
|
*
|
|
3681
3680
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3686,7 +3685,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_9broadcast_2nd_nd(PyArrayMultiIterObject
|
|
|
3686
3685
|
static CYTHON_INLINE npy_intp *__pyx_f_5numpy_9broadcast_10dimensions_dimensions(PyArrayMultiIterObject *__pyx_v_self) {
|
|
3687
3686
|
npy_intp *__pyx_r;
|
|
3688
3687
|
|
|
3689
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3688
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":345
|
|
3690
3689
|
* cdef inline npy_intp* dimensions(self) noexcept nogil:
|
|
3691
3690
|
* """The shape of the broadcasted result."""
|
|
3692
3691
|
* return PyArray_MultiIter_DIMS(self) # <<<<<<<<<<<<<<
|
|
@@ -3696,7 +3695,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_9broadcast_10dimensions_dimensions
|
|
|
3696
3695
|
__pyx_r = PyArray_MultiIter_DIMS(__pyx_v_self);
|
|
3697
3696
|
goto __pyx_L0;
|
|
3698
3697
|
|
|
3699
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3698
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":342
|
|
3700
3699
|
* return PyArray_MultiIter_NDIM(self)
|
|
3701
3700
|
*
|
|
3702
3701
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3709,7 +3708,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_9broadcast_10dimensions_dimensions
|
|
|
3709
3708
|
return __pyx_r;
|
|
3710
3709
|
}
|
|
3711
3710
|
|
|
3712
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3711
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":347
|
|
3713
3712
|
* return PyArray_MultiIter_DIMS(self)
|
|
3714
3713
|
*
|
|
3715
3714
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3720,7 +3719,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_9broadcast_10dimensions_dimensions
|
|
|
3720
3719
|
static CYTHON_INLINE void **__pyx_f_5numpy_9broadcast_5iters_iters(PyArrayMultiIterObject *__pyx_v_self) {
|
|
3721
3720
|
void **__pyx_r;
|
|
3722
3721
|
|
|
3723
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3722
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":351
|
|
3724
3723
|
* """An array of iterator objects that holds the iterators for the arrays to be broadcast together.
|
|
3725
3724
|
* On return, the iterators are adjusted for broadcasting."""
|
|
3726
3725
|
* return PyArray_MultiIter_ITERS(self) # <<<<<<<<<<<<<<
|
|
@@ -3730,7 +3729,7 @@ static CYTHON_INLINE void **__pyx_f_5numpy_9broadcast_5iters_iters(PyArrayMultiI
|
|
|
3730
3729
|
__pyx_r = PyArray_MultiIter_ITERS(__pyx_v_self);
|
|
3731
3730
|
goto __pyx_L0;
|
|
3732
3731
|
|
|
3733
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3732
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":347
|
|
3734
3733
|
* return PyArray_MultiIter_DIMS(self)
|
|
3735
3734
|
*
|
|
3736
3735
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3743,7 +3742,7 @@ static CYTHON_INLINE void **__pyx_f_5numpy_9broadcast_5iters_iters(PyArrayMultiI
|
|
|
3743
3742
|
return __pyx_r;
|
|
3744
3743
|
}
|
|
3745
3744
|
|
|
3746
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3745
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":365
|
|
3747
3746
|
* # Instead, we use properties that map to the corresponding C-API functions.
|
|
3748
3747
|
*
|
|
3749
3748
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3754,7 +3753,7 @@ static CYTHON_INLINE void **__pyx_f_5numpy_9broadcast_5iters_iters(PyArrayMultiI
|
|
|
3754
3753
|
static CYTHON_INLINE PyObject *__pyx_f_5numpy_7ndarray_4base_base(PyArrayObject *__pyx_v_self) {
|
|
3755
3754
|
PyObject *__pyx_r;
|
|
3756
3755
|
|
|
3757
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3756
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":369
|
|
3758
3757
|
* """Returns a borrowed reference to the object owning the data/memory.
|
|
3759
3758
|
* """
|
|
3760
3759
|
* return PyArray_BASE(self) # <<<<<<<<<<<<<<
|
|
@@ -3764,7 +3763,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_7ndarray_4base_base(PyArrayObject
|
|
|
3764
3763
|
__pyx_r = PyArray_BASE(__pyx_v_self);
|
|
3765
3764
|
goto __pyx_L0;
|
|
3766
3765
|
|
|
3767
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3766
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":365
|
|
3768
3767
|
* # Instead, we use properties that map to the corresponding C-API functions.
|
|
3769
3768
|
*
|
|
3770
3769
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3777,7 +3776,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_7ndarray_4base_base(PyArrayObject
|
|
|
3777
3776
|
return __pyx_r;
|
|
3778
3777
|
}
|
|
3779
3778
|
|
|
3780
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3779
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":371
|
|
3781
3780
|
* return PyArray_BASE(self)
|
|
3782
3781
|
*
|
|
3783
3782
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3791,7 +3790,7 @@ static CYTHON_INLINE PyArray_Descr *__pyx_f_5numpy_7ndarray_5descr_descr(PyArray
|
|
|
3791
3790
|
PyArray_Descr *__pyx_t_1;
|
|
3792
3791
|
__Pyx_RefNannySetupContext("descr", 0);
|
|
3793
3792
|
|
|
3794
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3793
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":375
|
|
3795
3794
|
* """Returns an owned reference to the dtype of the array.
|
|
3796
3795
|
* """
|
|
3797
3796
|
* return <dtype>PyArray_DESCR(self) # <<<<<<<<<<<<<<
|
|
@@ -3804,7 +3803,7 @@ static CYTHON_INLINE PyArray_Descr *__pyx_f_5numpy_7ndarray_5descr_descr(PyArray
|
|
|
3804
3803
|
__pyx_r = ((PyArray_Descr *)__pyx_t_1);
|
|
3805
3804
|
goto __pyx_L0;
|
|
3806
3805
|
|
|
3807
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3806
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":371
|
|
3808
3807
|
* return PyArray_BASE(self)
|
|
3809
3808
|
*
|
|
3810
3809
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3819,7 +3818,7 @@ static CYTHON_INLINE PyArray_Descr *__pyx_f_5numpy_7ndarray_5descr_descr(PyArray
|
|
|
3819
3818
|
return __pyx_r;
|
|
3820
3819
|
}
|
|
3821
3820
|
|
|
3822
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3821
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":377
|
|
3823
3822
|
* return <dtype>PyArray_DESCR(self)
|
|
3824
3823
|
*
|
|
3825
3824
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3830,7 +3829,7 @@ static CYTHON_INLINE PyArray_Descr *__pyx_f_5numpy_7ndarray_5descr_descr(PyArray
|
|
|
3830
3829
|
static CYTHON_INLINE int __pyx_f_5numpy_7ndarray_4ndim_ndim(PyArrayObject *__pyx_v_self) {
|
|
3831
3830
|
int __pyx_r;
|
|
3832
3831
|
|
|
3833
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3832
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":381
|
|
3834
3833
|
* """Returns the number of dimensions in the array.
|
|
3835
3834
|
* """
|
|
3836
3835
|
* return PyArray_NDIM(self) # <<<<<<<<<<<<<<
|
|
@@ -3840,7 +3839,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_7ndarray_4ndim_ndim(PyArrayObject *__pyx
|
|
|
3840
3839
|
__pyx_r = PyArray_NDIM(__pyx_v_self);
|
|
3841
3840
|
goto __pyx_L0;
|
|
3842
3841
|
|
|
3843
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3842
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":377
|
|
3844
3843
|
* return <dtype>PyArray_DESCR(self)
|
|
3845
3844
|
*
|
|
3846
3845
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3853,7 +3852,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_7ndarray_4ndim_ndim(PyArrayObject *__pyx
|
|
|
3853
3852
|
return __pyx_r;
|
|
3854
3853
|
}
|
|
3855
3854
|
|
|
3856
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3855
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":383
|
|
3857
3856
|
* return PyArray_NDIM(self)
|
|
3858
3857
|
*
|
|
3859
3858
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3864,7 +3863,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_7ndarray_4ndim_ndim(PyArrayObject *__pyx
|
|
|
3864
3863
|
static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_5shape_shape(PyArrayObject *__pyx_v_self) {
|
|
3865
3864
|
npy_intp *__pyx_r;
|
|
3866
3865
|
|
|
3867
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3866
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":389
|
|
3868
3867
|
* Can return NULL for 0-dimensional arrays.
|
|
3869
3868
|
* """
|
|
3870
3869
|
* return PyArray_DIMS(self) # <<<<<<<<<<<<<<
|
|
@@ -3874,7 +3873,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_5shape_shape(PyArrayObjec
|
|
|
3874
3873
|
__pyx_r = PyArray_DIMS(__pyx_v_self);
|
|
3875
3874
|
goto __pyx_L0;
|
|
3876
3875
|
|
|
3877
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3876
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":383
|
|
3878
3877
|
* return PyArray_NDIM(self)
|
|
3879
3878
|
*
|
|
3880
3879
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3887,7 +3886,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_5shape_shape(PyArrayObjec
|
|
|
3887
3886
|
return __pyx_r;
|
|
3888
3887
|
}
|
|
3889
3888
|
|
|
3890
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3889
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":391
|
|
3891
3890
|
* return PyArray_DIMS(self)
|
|
3892
3891
|
*
|
|
3893
3892
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3898,7 +3897,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_5shape_shape(PyArrayObjec
|
|
|
3898
3897
|
static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_7strides_strides(PyArrayObject *__pyx_v_self) {
|
|
3899
3898
|
npy_intp *__pyx_r;
|
|
3900
3899
|
|
|
3901
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3900
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":396
|
|
3902
3901
|
* The number of elements matches the number of dimensions of the array (ndim).
|
|
3903
3902
|
* """
|
|
3904
3903
|
* return PyArray_STRIDES(self) # <<<<<<<<<<<<<<
|
|
@@ -3908,7 +3907,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_7strides_strides(PyArrayO
|
|
|
3908
3907
|
__pyx_r = PyArray_STRIDES(__pyx_v_self);
|
|
3909
3908
|
goto __pyx_L0;
|
|
3910
3909
|
|
|
3911
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3910
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":391
|
|
3912
3911
|
* return PyArray_DIMS(self)
|
|
3913
3912
|
*
|
|
3914
3913
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3921,7 +3920,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_7strides_strides(PyArrayO
|
|
|
3921
3920
|
return __pyx_r;
|
|
3922
3921
|
}
|
|
3923
3922
|
|
|
3924
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3923
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":398
|
|
3925
3924
|
* return PyArray_STRIDES(self)
|
|
3926
3925
|
*
|
|
3927
3926
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3932,7 +3931,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_7strides_strides(PyArrayO
|
|
|
3932
3931
|
static CYTHON_INLINE npy_intp __pyx_f_5numpy_7ndarray_4size_size(PyArrayObject *__pyx_v_self) {
|
|
3933
3932
|
npy_intp __pyx_r;
|
|
3934
3933
|
|
|
3935
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3934
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":402
|
|
3936
3935
|
* """Returns the total size (in number of elements) of the array.
|
|
3937
3936
|
* """
|
|
3938
3937
|
* return PyArray_SIZE(self) # <<<<<<<<<<<<<<
|
|
@@ -3942,7 +3941,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_7ndarray_4size_size(PyArrayObject *
|
|
|
3942
3941
|
__pyx_r = PyArray_SIZE(__pyx_v_self);
|
|
3943
3942
|
goto __pyx_L0;
|
|
3944
3943
|
|
|
3945
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3944
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":398
|
|
3946
3945
|
* return PyArray_STRIDES(self)
|
|
3947
3946
|
*
|
|
3948
3947
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3955,7 +3954,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_7ndarray_4size_size(PyArrayObject *
|
|
|
3955
3954
|
return __pyx_r;
|
|
3956
3955
|
}
|
|
3957
3956
|
|
|
3958
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3957
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":404
|
|
3959
3958
|
* return PyArray_SIZE(self)
|
|
3960
3959
|
*
|
|
3961
3960
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3966,7 +3965,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_7ndarray_4size_size(PyArrayObject *
|
|
|
3966
3965
|
static CYTHON_INLINE char *__pyx_f_5numpy_7ndarray_4data_data(PyArrayObject *__pyx_v_self) {
|
|
3967
3966
|
char *__pyx_r;
|
|
3968
3967
|
|
|
3969
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3968
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":411
|
|
3970
3969
|
* of `PyArray_DATA()` instead, which returns a 'void*'.
|
|
3971
3970
|
* """
|
|
3972
3971
|
* return PyArray_BYTES(self) # <<<<<<<<<<<<<<
|
|
@@ -3976,7 +3975,7 @@ static CYTHON_INLINE char *__pyx_f_5numpy_7ndarray_4data_data(PyArrayObject *__p
|
|
|
3976
3975
|
__pyx_r = PyArray_BYTES(__pyx_v_self);
|
|
3977
3976
|
goto __pyx_L0;
|
|
3978
3977
|
|
|
3979
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3978
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":404
|
|
3980
3979
|
* return PyArray_SIZE(self)
|
|
3981
3980
|
*
|
|
3982
3981
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3989,7 +3988,7 @@ static CYTHON_INLINE char *__pyx_f_5numpy_7ndarray_4data_data(PyArrayObject *__p
|
|
|
3989
3988
|
return __pyx_r;
|
|
3990
3989
|
}
|
|
3991
3990
|
|
|
3992
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3991
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":807
|
|
3993
3992
|
* ctypedef long double complex clongdouble_t
|
|
3994
3993
|
*
|
|
3995
3994
|
* cdef inline object PyArray_MultiIterNew1(a): # <<<<<<<<<<<<<<
|
|
@@ -4006,7 +4005,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew1(PyObject *__
|
|
|
4006
4005
|
int __pyx_clineno = 0;
|
|
4007
4006
|
__Pyx_RefNannySetupContext("PyArray_MultiIterNew1", 0);
|
|
4008
4007
|
|
|
4009
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4008
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":808
|
|
4010
4009
|
*
|
|
4011
4010
|
* cdef inline object PyArray_MultiIterNew1(a):
|
|
4012
4011
|
* return PyArray_MultiIterNew(1, <void*>a) # <<<<<<<<<<<<<<
|
|
@@ -4020,7 +4019,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew1(PyObject *__
|
|
|
4020
4019
|
__pyx_t_1 = 0;
|
|
4021
4020
|
goto __pyx_L0;
|
|
4022
4021
|
|
|
4023
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4022
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":807
|
|
4024
4023
|
* ctypedef long double complex clongdouble_t
|
|
4025
4024
|
*
|
|
4026
4025
|
* cdef inline object PyArray_MultiIterNew1(a): # <<<<<<<<<<<<<<
|
|
@@ -4039,7 +4038,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew1(PyObject *__
|
|
|
4039
4038
|
return __pyx_r;
|
|
4040
4039
|
}
|
|
4041
4040
|
|
|
4042
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4041
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":810
|
|
4043
4042
|
* return PyArray_MultiIterNew(1, <void*>a)
|
|
4044
4043
|
*
|
|
4045
4044
|
* cdef inline object PyArray_MultiIterNew2(a, b): # <<<<<<<<<<<<<<
|
|
@@ -4056,7 +4055,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew2(PyObject *__
|
|
|
4056
4055
|
int __pyx_clineno = 0;
|
|
4057
4056
|
__Pyx_RefNannySetupContext("PyArray_MultiIterNew2", 0);
|
|
4058
4057
|
|
|
4059
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4058
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":811
|
|
4060
4059
|
*
|
|
4061
4060
|
* cdef inline object PyArray_MultiIterNew2(a, b):
|
|
4062
4061
|
* return PyArray_MultiIterNew(2, <void*>a, <void*>b) # <<<<<<<<<<<<<<
|
|
@@ -4070,7 +4069,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew2(PyObject *__
|
|
|
4070
4069
|
__pyx_t_1 = 0;
|
|
4071
4070
|
goto __pyx_L0;
|
|
4072
4071
|
|
|
4073
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4072
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":810
|
|
4074
4073
|
* return PyArray_MultiIterNew(1, <void*>a)
|
|
4075
4074
|
*
|
|
4076
4075
|
* cdef inline object PyArray_MultiIterNew2(a, b): # <<<<<<<<<<<<<<
|
|
@@ -4089,7 +4088,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew2(PyObject *__
|
|
|
4089
4088
|
return __pyx_r;
|
|
4090
4089
|
}
|
|
4091
4090
|
|
|
4092
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4091
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":813
|
|
4093
4092
|
* return PyArray_MultiIterNew(2, <void*>a, <void*>b)
|
|
4094
4093
|
*
|
|
4095
4094
|
* cdef inline object PyArray_MultiIterNew3(a, b, c): # <<<<<<<<<<<<<<
|
|
@@ -4106,7 +4105,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew3(PyObject *__
|
|
|
4106
4105
|
int __pyx_clineno = 0;
|
|
4107
4106
|
__Pyx_RefNannySetupContext("PyArray_MultiIterNew3", 0);
|
|
4108
4107
|
|
|
4109
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4108
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":814
|
|
4110
4109
|
*
|
|
4111
4110
|
* cdef inline object PyArray_MultiIterNew3(a, b, c):
|
|
4112
4111
|
* return PyArray_MultiIterNew(3, <void*>a, <void*>b, <void*> c) # <<<<<<<<<<<<<<
|
|
@@ -4120,7 +4119,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew3(PyObject *__
|
|
|
4120
4119
|
__pyx_t_1 = 0;
|
|
4121
4120
|
goto __pyx_L0;
|
|
4122
4121
|
|
|
4123
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4122
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":813
|
|
4124
4123
|
* return PyArray_MultiIterNew(2, <void*>a, <void*>b)
|
|
4125
4124
|
*
|
|
4126
4125
|
* cdef inline object PyArray_MultiIterNew3(a, b, c): # <<<<<<<<<<<<<<
|
|
@@ -4139,7 +4138,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew3(PyObject *__
|
|
|
4139
4138
|
return __pyx_r;
|
|
4140
4139
|
}
|
|
4141
4140
|
|
|
4142
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4141
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":816
|
|
4143
4142
|
* return PyArray_MultiIterNew(3, <void*>a, <void*>b, <void*> c)
|
|
4144
4143
|
*
|
|
4145
4144
|
* cdef inline object PyArray_MultiIterNew4(a, b, c, d): # <<<<<<<<<<<<<<
|
|
@@ -4156,7 +4155,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew4(PyObject *__
|
|
|
4156
4155
|
int __pyx_clineno = 0;
|
|
4157
4156
|
__Pyx_RefNannySetupContext("PyArray_MultiIterNew4", 0);
|
|
4158
4157
|
|
|
4159
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4158
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":817
|
|
4160
4159
|
*
|
|
4161
4160
|
* cdef inline object PyArray_MultiIterNew4(a, b, c, d):
|
|
4162
4161
|
* return PyArray_MultiIterNew(4, <void*>a, <void*>b, <void*>c, <void*> d) # <<<<<<<<<<<<<<
|
|
@@ -4170,7 +4169,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew4(PyObject *__
|
|
|
4170
4169
|
__pyx_t_1 = 0;
|
|
4171
4170
|
goto __pyx_L0;
|
|
4172
4171
|
|
|
4173
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4172
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":816
|
|
4174
4173
|
* return PyArray_MultiIterNew(3, <void*>a, <void*>b, <void*> c)
|
|
4175
4174
|
*
|
|
4176
4175
|
* cdef inline object PyArray_MultiIterNew4(a, b, c, d): # <<<<<<<<<<<<<<
|
|
@@ -4189,7 +4188,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew4(PyObject *__
|
|
|
4189
4188
|
return __pyx_r;
|
|
4190
4189
|
}
|
|
4191
4190
|
|
|
4192
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4191
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":819
|
|
4193
4192
|
* return PyArray_MultiIterNew(4, <void*>a, <void*>b, <void*>c, <void*> d)
|
|
4194
4193
|
*
|
|
4195
4194
|
* cdef inline object PyArray_MultiIterNew5(a, b, c, d, e): # <<<<<<<<<<<<<<
|
|
@@ -4206,7 +4205,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew5(PyObject *__
|
|
|
4206
4205
|
int __pyx_clineno = 0;
|
|
4207
4206
|
__Pyx_RefNannySetupContext("PyArray_MultiIterNew5", 0);
|
|
4208
4207
|
|
|
4209
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4208
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":820
|
|
4210
4209
|
*
|
|
4211
4210
|
* cdef inline object PyArray_MultiIterNew5(a, b, c, d, e):
|
|
4212
4211
|
* return PyArray_MultiIterNew(5, <void*>a, <void*>b, <void*>c, <void*> d, <void*> e) # <<<<<<<<<<<<<<
|
|
@@ -4220,7 +4219,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew5(PyObject *__
|
|
|
4220
4219
|
__pyx_t_1 = 0;
|
|
4221
4220
|
goto __pyx_L0;
|
|
4222
4221
|
|
|
4223
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4222
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":819
|
|
4224
4223
|
* return PyArray_MultiIterNew(4, <void*>a, <void*>b, <void*>c, <void*> d)
|
|
4225
4224
|
*
|
|
4226
4225
|
* cdef inline object PyArray_MultiIterNew5(a, b, c, d, e): # <<<<<<<<<<<<<<
|
|
@@ -4239,7 +4238,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew5(PyObject *__
|
|
|
4239
4238
|
return __pyx_r;
|
|
4240
4239
|
}
|
|
4241
4240
|
|
|
4242
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4241
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":822
|
|
4243
4242
|
* return PyArray_MultiIterNew(5, <void*>a, <void*>b, <void*>c, <void*> d, <void*> e)
|
|
4244
4243
|
*
|
|
4245
4244
|
* cdef inline tuple PyDataType_SHAPE(dtype d): # <<<<<<<<<<<<<<
|
|
@@ -4254,7 +4253,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
|
|
|
4254
4253
|
PyObject *__pyx_t_2;
|
|
4255
4254
|
__Pyx_RefNannySetupContext("PyDataType_SHAPE", 0);
|
|
4256
4255
|
|
|
4257
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4256
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":823
|
|
4258
4257
|
*
|
|
4259
4258
|
* cdef inline tuple PyDataType_SHAPE(dtype d):
|
|
4260
4259
|
* if PyDataType_HASSUBARRAY(d): # <<<<<<<<<<<<<<
|
|
@@ -4264,7 +4263,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
|
|
|
4264
4263
|
__pyx_t_1 = PyDataType_HASSUBARRAY(__pyx_v_d);
|
|
4265
4264
|
if (__pyx_t_1) {
|
|
4266
4265
|
|
|
4267
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4266
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":824
|
|
4268
4267
|
* cdef inline tuple PyDataType_SHAPE(dtype d):
|
|
4269
4268
|
* if PyDataType_HASSUBARRAY(d):
|
|
4270
4269
|
* return <tuple>d.subarray.shape # <<<<<<<<<<<<<<
|
|
@@ -4277,7 +4276,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
|
|
|
4277
4276
|
__pyx_r = ((PyObject*)__pyx_t_2);
|
|
4278
4277
|
goto __pyx_L0;
|
|
4279
4278
|
|
|
4280
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4279
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":823
|
|
4281
4280
|
*
|
|
4282
4281
|
* cdef inline tuple PyDataType_SHAPE(dtype d):
|
|
4283
4282
|
* if PyDataType_HASSUBARRAY(d): # <<<<<<<<<<<<<<
|
|
@@ -4286,7 +4285,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
|
|
|
4286
4285
|
*/
|
|
4287
4286
|
}
|
|
4288
4287
|
|
|
4289
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4288
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":826
|
|
4290
4289
|
* return <tuple>d.subarray.shape
|
|
4291
4290
|
* else:
|
|
4292
4291
|
* return () # <<<<<<<<<<<<<<
|
|
@@ -4300,7 +4299,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
|
|
|
4300
4299
|
goto __pyx_L0;
|
|
4301
4300
|
}
|
|
4302
4301
|
|
|
4303
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4302
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":822
|
|
4304
4303
|
* return PyArray_MultiIterNew(5, <void*>a, <void*>b, <void*>c, <void*> d, <void*> e)
|
|
4305
4304
|
*
|
|
4306
4305
|
* cdef inline tuple PyDataType_SHAPE(dtype d): # <<<<<<<<<<<<<<
|
|
@@ -4315,7 +4314,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
|
|
|
4315
4314
|
return __pyx_r;
|
|
4316
4315
|
}
|
|
4317
4316
|
|
|
4318
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4317
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1010
|
|
4319
4318
|
* int _import_umath() except -1
|
|
4320
4319
|
*
|
|
4321
4320
|
* cdef inline void set_array_base(ndarray arr, object base) except *: # <<<<<<<<<<<<<<
|
|
@@ -4329,7 +4328,7 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a
|
|
|
4329
4328
|
const char *__pyx_filename = NULL;
|
|
4330
4329
|
int __pyx_clineno = 0;
|
|
4331
4330
|
|
|
4332
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4331
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1011
|
|
4333
4332
|
*
|
|
4334
4333
|
* cdef inline void set_array_base(ndarray arr, object base) except *:
|
|
4335
4334
|
* Py_INCREF(base) # important to do this before stealing the reference below! # <<<<<<<<<<<<<<
|
|
@@ -4338,7 +4337,7 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a
|
|
|
4338
4337
|
*/
|
|
4339
4338
|
Py_INCREF(__pyx_v_base);
|
|
4340
4339
|
|
|
4341
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4340
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1012
|
|
4342
4341
|
* cdef inline void set_array_base(ndarray arr, object base) except *:
|
|
4343
4342
|
* Py_INCREF(base) # important to do this before stealing the reference below!
|
|
4344
4343
|
* PyArray_SetBaseObject(arr, base) # <<<<<<<<<<<<<<
|
|
@@ -4347,7 +4346,7 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a
|
|
|
4347
4346
|
*/
|
|
4348
4347
|
__pyx_t_1 = PyArray_SetBaseObject(__pyx_v_arr, __pyx_v_base); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(1, 1012, __pyx_L1_error)
|
|
4349
4348
|
|
|
4350
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4349
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1010
|
|
4351
4350
|
* int _import_umath() except -1
|
|
4352
4351
|
*
|
|
4353
4352
|
* cdef inline void set_array_base(ndarray arr, object base) except *: # <<<<<<<<<<<<<<
|
|
@@ -4362,7 +4361,7 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a
|
|
|
4362
4361
|
__pyx_L0:;
|
|
4363
4362
|
}
|
|
4364
4363
|
|
|
4365
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4364
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1014
|
|
4366
4365
|
* PyArray_SetBaseObject(arr, base)
|
|
4367
4366
|
*
|
|
4368
4367
|
* cdef inline object get_array_base(ndarray arr): # <<<<<<<<<<<<<<
|
|
@@ -4377,7 +4376,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
|
|
|
4377
4376
|
int __pyx_t_1;
|
|
4378
4377
|
__Pyx_RefNannySetupContext("get_array_base", 0);
|
|
4379
4378
|
|
|
4380
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4379
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1015
|
|
4381
4380
|
*
|
|
4382
4381
|
* cdef inline object get_array_base(ndarray arr):
|
|
4383
4382
|
* base = PyArray_BASE(arr) # <<<<<<<<<<<<<<
|
|
@@ -4386,7 +4385,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
|
|
|
4386
4385
|
*/
|
|
4387
4386
|
__pyx_v_base = PyArray_BASE(__pyx_v_arr);
|
|
4388
4387
|
|
|
4389
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4388
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1016
|
|
4390
4389
|
* cdef inline object get_array_base(ndarray arr):
|
|
4391
4390
|
* base = PyArray_BASE(arr)
|
|
4392
4391
|
* if base is NULL: # <<<<<<<<<<<<<<
|
|
@@ -4396,7 +4395,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
|
|
|
4396
4395
|
__pyx_t_1 = (__pyx_v_base == NULL);
|
|
4397
4396
|
if (__pyx_t_1) {
|
|
4398
4397
|
|
|
4399
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4398
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1017
|
|
4400
4399
|
* base = PyArray_BASE(arr)
|
|
4401
4400
|
* if base is NULL:
|
|
4402
4401
|
* return None # <<<<<<<<<<<<<<
|
|
@@ -4407,7 +4406,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
|
|
|
4407
4406
|
__pyx_r = Py_None; __Pyx_INCREF(Py_None);
|
|
4408
4407
|
goto __pyx_L0;
|
|
4409
4408
|
|
|
4410
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4409
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1016
|
|
4411
4410
|
* cdef inline object get_array_base(ndarray arr):
|
|
4412
4411
|
* base = PyArray_BASE(arr)
|
|
4413
4412
|
* if base is NULL: # <<<<<<<<<<<<<<
|
|
@@ -4416,7 +4415,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
|
|
|
4416
4415
|
*/
|
|
4417
4416
|
}
|
|
4418
4417
|
|
|
4419
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4418
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1018
|
|
4420
4419
|
* if base is NULL:
|
|
4421
4420
|
* return None
|
|
4422
4421
|
* return <object>base # <<<<<<<<<<<<<<
|
|
@@ -4428,7 +4427,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
|
|
|
4428
4427
|
__pyx_r = ((PyObject *)__pyx_v_base);
|
|
4429
4428
|
goto __pyx_L0;
|
|
4430
4429
|
|
|
4431
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4430
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1014
|
|
4432
4431
|
* PyArray_SetBaseObject(arr, base)
|
|
4433
4432
|
*
|
|
4434
4433
|
* cdef inline object get_array_base(ndarray arr): # <<<<<<<<<<<<<<
|
|
@@ -4443,7 +4442,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
|
|
|
4443
4442
|
return __pyx_r;
|
|
4444
4443
|
}
|
|
4445
4444
|
|
|
4446
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4445
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1022
|
|
4447
4446
|
* # Versions of the import_* functions which are more suitable for
|
|
4448
4447
|
* # Cython code.
|
|
4449
4448
|
* cdef inline int import_array() except -1: # <<<<<<<<<<<<<<
|
|
@@ -4470,7 +4469,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
|
|
|
4470
4469
|
int __pyx_clineno = 0;
|
|
4471
4470
|
__Pyx_RefNannySetupContext("import_array", 0);
|
|
4472
4471
|
|
|
4473
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4472
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1023
|
|
4474
4473
|
* # Cython code.
|
|
4475
4474
|
* cdef inline int import_array() except -1:
|
|
4476
4475
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -4486,7 +4485,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
|
|
|
4486
4485
|
__Pyx_XGOTREF(__pyx_t_3);
|
|
4487
4486
|
/*try:*/ {
|
|
4488
4487
|
|
|
4489
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4488
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1024
|
|
4490
4489
|
* cdef inline int import_array() except -1:
|
|
4491
4490
|
* try:
|
|
4492
4491
|
* __pyx_import_array() # <<<<<<<<<<<<<<
|
|
@@ -4495,7 +4494,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
|
|
|
4495
4494
|
*/
|
|
4496
4495
|
__pyx_t_4 = _import_array(); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(1, 1024, __pyx_L3_error)
|
|
4497
4496
|
|
|
4498
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4497
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1023
|
|
4499
4498
|
* # Cython code.
|
|
4500
4499
|
* cdef inline int import_array() except -1:
|
|
4501
4500
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -4509,7 +4508,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
|
|
|
4509
4508
|
goto __pyx_L8_try_end;
|
|
4510
4509
|
__pyx_L3_error:;
|
|
4511
4510
|
|
|
4512
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4511
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1025
|
|
4513
4512
|
* try:
|
|
4514
4513
|
* __pyx_import_array()
|
|
4515
4514
|
* except Exception: # <<<<<<<<<<<<<<
|
|
@@ -4524,7 +4523,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
|
|
|
4524
4523
|
__Pyx_XGOTREF(__pyx_t_6);
|
|
4525
4524
|
__Pyx_XGOTREF(__pyx_t_7);
|
|
4526
4525
|
|
|
4527
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4526
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1026
|
|
4528
4527
|
* __pyx_import_array()
|
|
4529
4528
|
* except Exception:
|
|
4530
4529
|
* raise ImportError("numpy._core.multiarray failed to import") # <<<<<<<<<<<<<<
|
|
@@ -4549,7 +4548,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
|
|
|
4549
4548
|
}
|
|
4550
4549
|
goto __pyx_L5_except_error;
|
|
4551
4550
|
|
|
4552
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4551
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1023
|
|
4553
4552
|
* # Cython code.
|
|
4554
4553
|
* cdef inline int import_array() except -1:
|
|
4555
4554
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -4565,7 +4564,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
|
|
|
4565
4564
|
__pyx_L8_try_end:;
|
|
4566
4565
|
}
|
|
4567
4566
|
|
|
4568
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4567
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1022
|
|
4569
4568
|
* # Versions of the import_* functions which are more suitable for
|
|
4570
4569
|
* # Cython code.
|
|
4571
4570
|
* cdef inline int import_array() except -1: # <<<<<<<<<<<<<<
|
|
@@ -4590,7 +4589,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
|
|
|
4590
4589
|
return __pyx_r;
|
|
4591
4590
|
}
|
|
4592
4591
|
|
|
4593
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4592
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1028
|
|
4594
4593
|
* raise ImportError("numpy._core.multiarray failed to import")
|
|
4595
4594
|
*
|
|
4596
4595
|
* cdef inline int import_umath() except -1: # <<<<<<<<<<<<<<
|
|
@@ -4617,7 +4616,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
|
|
|
4617
4616
|
int __pyx_clineno = 0;
|
|
4618
4617
|
__Pyx_RefNannySetupContext("import_umath", 0);
|
|
4619
4618
|
|
|
4620
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4619
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1029
|
|
4621
4620
|
*
|
|
4622
4621
|
* cdef inline int import_umath() except -1:
|
|
4623
4622
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -4633,7 +4632,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
|
|
|
4633
4632
|
__Pyx_XGOTREF(__pyx_t_3);
|
|
4634
4633
|
/*try:*/ {
|
|
4635
4634
|
|
|
4636
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4635
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1030
|
|
4637
4636
|
* cdef inline int import_umath() except -1:
|
|
4638
4637
|
* try:
|
|
4639
4638
|
* _import_umath() # <<<<<<<<<<<<<<
|
|
@@ -4642,7 +4641,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
|
|
|
4642
4641
|
*/
|
|
4643
4642
|
__pyx_t_4 = _import_umath(); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(1, 1030, __pyx_L3_error)
|
|
4644
4643
|
|
|
4645
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4644
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1029
|
|
4646
4645
|
*
|
|
4647
4646
|
* cdef inline int import_umath() except -1:
|
|
4648
4647
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -4656,7 +4655,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
|
|
|
4656
4655
|
goto __pyx_L8_try_end;
|
|
4657
4656
|
__pyx_L3_error:;
|
|
4658
4657
|
|
|
4659
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4658
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1031
|
|
4660
4659
|
* try:
|
|
4661
4660
|
* _import_umath()
|
|
4662
4661
|
* except Exception: # <<<<<<<<<<<<<<
|
|
@@ -4671,7 +4670,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
|
|
|
4671
4670
|
__Pyx_XGOTREF(__pyx_t_6);
|
|
4672
4671
|
__Pyx_XGOTREF(__pyx_t_7);
|
|
4673
4672
|
|
|
4674
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4673
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1032
|
|
4675
4674
|
* _import_umath()
|
|
4676
4675
|
* except Exception:
|
|
4677
4676
|
* raise ImportError("numpy._core.umath failed to import") # <<<<<<<<<<<<<<
|
|
@@ -4696,7 +4695,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
|
|
|
4696
4695
|
}
|
|
4697
4696
|
goto __pyx_L5_except_error;
|
|
4698
4697
|
|
|
4699
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4698
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1029
|
|
4700
4699
|
*
|
|
4701
4700
|
* cdef inline int import_umath() except -1:
|
|
4702
4701
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -4712,7 +4711,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
|
|
|
4712
4711
|
__pyx_L8_try_end:;
|
|
4713
4712
|
}
|
|
4714
4713
|
|
|
4715
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4714
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1028
|
|
4716
4715
|
* raise ImportError("numpy._core.multiarray failed to import")
|
|
4717
4716
|
*
|
|
4718
4717
|
* cdef inline int import_umath() except -1: # <<<<<<<<<<<<<<
|
|
@@ -4737,7 +4736,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
|
|
|
4737
4736
|
return __pyx_r;
|
|
4738
4737
|
}
|
|
4739
4738
|
|
|
4740
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4739
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1034
|
|
4741
4740
|
* raise ImportError("numpy._core.umath failed to import")
|
|
4742
4741
|
*
|
|
4743
4742
|
* cdef inline int import_ufunc() except -1: # <<<<<<<<<<<<<<
|
|
@@ -4764,7 +4763,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
4764
4763
|
int __pyx_clineno = 0;
|
|
4765
4764
|
__Pyx_RefNannySetupContext("import_ufunc", 0);
|
|
4766
4765
|
|
|
4767
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4766
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1035
|
|
4768
4767
|
*
|
|
4769
4768
|
* cdef inline int import_ufunc() except -1:
|
|
4770
4769
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -4780,7 +4779,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
4780
4779
|
__Pyx_XGOTREF(__pyx_t_3);
|
|
4781
4780
|
/*try:*/ {
|
|
4782
4781
|
|
|
4783
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4782
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1036
|
|
4784
4783
|
* cdef inline int import_ufunc() except -1:
|
|
4785
4784
|
* try:
|
|
4786
4785
|
* _import_umath() # <<<<<<<<<<<<<<
|
|
@@ -4789,7 +4788,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
4789
4788
|
*/
|
|
4790
4789
|
__pyx_t_4 = _import_umath(); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(1, 1036, __pyx_L3_error)
|
|
4791
4790
|
|
|
4792
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4791
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1035
|
|
4793
4792
|
*
|
|
4794
4793
|
* cdef inline int import_ufunc() except -1:
|
|
4795
4794
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -4803,7 +4802,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
4803
4802
|
goto __pyx_L8_try_end;
|
|
4804
4803
|
__pyx_L3_error:;
|
|
4805
4804
|
|
|
4806
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4805
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1037
|
|
4807
4806
|
* try:
|
|
4808
4807
|
* _import_umath()
|
|
4809
4808
|
* except Exception: # <<<<<<<<<<<<<<
|
|
@@ -4818,7 +4817,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
4818
4817
|
__Pyx_XGOTREF(__pyx_t_6);
|
|
4819
4818
|
__Pyx_XGOTREF(__pyx_t_7);
|
|
4820
4819
|
|
|
4821
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4820
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1038
|
|
4822
4821
|
* _import_umath()
|
|
4823
4822
|
* except Exception:
|
|
4824
4823
|
* raise ImportError("numpy._core.umath failed to import") # <<<<<<<<<<<<<<
|
|
@@ -4843,7 +4842,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
4843
4842
|
}
|
|
4844
4843
|
goto __pyx_L5_except_error;
|
|
4845
4844
|
|
|
4846
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4845
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1035
|
|
4847
4846
|
*
|
|
4848
4847
|
* cdef inline int import_ufunc() except -1:
|
|
4849
4848
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -4859,7 +4858,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
4859
4858
|
__pyx_L8_try_end:;
|
|
4860
4859
|
}
|
|
4861
4860
|
|
|
4862
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4861
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1034
|
|
4863
4862
|
* raise ImportError("numpy._core.umath failed to import")
|
|
4864
4863
|
*
|
|
4865
4864
|
* cdef inline int import_ufunc() except -1: # <<<<<<<<<<<<<<
|
|
@@ -4884,7 +4883,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
4884
4883
|
return __pyx_r;
|
|
4885
4884
|
}
|
|
4886
4885
|
|
|
4887
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4886
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1041
|
|
4888
4887
|
*
|
|
4889
4888
|
*
|
|
4890
4889
|
* cdef inline bint is_timedelta64_object(object obj) noexcept: # <<<<<<<<<<<<<<
|
|
@@ -4895,7 +4894,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
4895
4894
|
static CYTHON_INLINE int __pyx_f_5numpy_is_timedelta64_object(PyObject *__pyx_v_obj) {
|
|
4896
4895
|
int __pyx_r;
|
|
4897
4896
|
|
|
4898
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4897
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1053
|
|
4899
4898
|
* bool
|
|
4900
4899
|
* """
|
|
4901
4900
|
* return PyObject_TypeCheck(obj, &PyTimedeltaArrType_Type) # <<<<<<<<<<<<<<
|
|
@@ -4905,7 +4904,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_timedelta64_object(PyObject *__pyx_v_
|
|
|
4905
4904
|
__pyx_r = PyObject_TypeCheck(__pyx_v_obj, (&PyTimedeltaArrType_Type));
|
|
4906
4905
|
goto __pyx_L0;
|
|
4907
4906
|
|
|
4908
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4907
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1041
|
|
4909
4908
|
*
|
|
4910
4909
|
*
|
|
4911
4910
|
* cdef inline bint is_timedelta64_object(object obj) noexcept: # <<<<<<<<<<<<<<
|
|
@@ -4918,7 +4917,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_timedelta64_object(PyObject *__pyx_v_
|
|
|
4918
4917
|
return __pyx_r;
|
|
4919
4918
|
}
|
|
4920
4919
|
|
|
4921
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4920
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1056
|
|
4922
4921
|
*
|
|
4923
4922
|
*
|
|
4924
4923
|
* cdef inline bint is_datetime64_object(object obj) noexcept: # <<<<<<<<<<<<<<
|
|
@@ -4929,7 +4928,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_timedelta64_object(PyObject *__pyx_v_
|
|
|
4929
4928
|
static CYTHON_INLINE int __pyx_f_5numpy_is_datetime64_object(PyObject *__pyx_v_obj) {
|
|
4930
4929
|
int __pyx_r;
|
|
4931
4930
|
|
|
4932
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4931
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1068
|
|
4933
4932
|
* bool
|
|
4934
4933
|
* """
|
|
4935
4934
|
* return PyObject_TypeCheck(obj, &PyDatetimeArrType_Type) # <<<<<<<<<<<<<<
|
|
@@ -4939,7 +4938,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_datetime64_object(PyObject *__pyx_v_o
|
|
|
4939
4938
|
__pyx_r = PyObject_TypeCheck(__pyx_v_obj, (&PyDatetimeArrType_Type));
|
|
4940
4939
|
goto __pyx_L0;
|
|
4941
4940
|
|
|
4942
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4941
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1056
|
|
4943
4942
|
*
|
|
4944
4943
|
*
|
|
4945
4944
|
* cdef inline bint is_datetime64_object(object obj) noexcept: # <<<<<<<<<<<<<<
|
|
@@ -4952,7 +4951,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_datetime64_object(PyObject *__pyx_v_o
|
|
|
4952
4951
|
return __pyx_r;
|
|
4953
4952
|
}
|
|
4954
4953
|
|
|
4955
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4954
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1071
|
|
4956
4955
|
*
|
|
4957
4956
|
*
|
|
4958
4957
|
* cdef inline npy_datetime get_datetime64_value(object obj) noexcept nogil: # <<<<<<<<<<<<<<
|
|
@@ -4963,7 +4962,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_datetime64_object(PyObject *__pyx_v_o
|
|
|
4963
4962
|
static CYTHON_INLINE npy_datetime __pyx_f_5numpy_get_datetime64_value(PyObject *__pyx_v_obj) {
|
|
4964
4963
|
npy_datetime __pyx_r;
|
|
4965
4964
|
|
|
4966
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4965
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1078
|
|
4967
4966
|
* also needed. That can be found using `get_datetime64_unit`.
|
|
4968
4967
|
* """
|
|
4969
4968
|
* return (<PyDatetimeScalarObject*>obj).obval # <<<<<<<<<<<<<<
|
|
@@ -4973,7 +4972,7 @@ static CYTHON_INLINE npy_datetime __pyx_f_5numpy_get_datetime64_value(PyObject *
|
|
|
4973
4972
|
__pyx_r = ((PyDatetimeScalarObject *)__pyx_v_obj)->obval;
|
|
4974
4973
|
goto __pyx_L0;
|
|
4975
4974
|
|
|
4976
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4975
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1071
|
|
4977
4976
|
*
|
|
4978
4977
|
*
|
|
4979
4978
|
* cdef inline npy_datetime get_datetime64_value(object obj) noexcept nogil: # <<<<<<<<<<<<<<
|
|
@@ -4986,7 +4985,7 @@ static CYTHON_INLINE npy_datetime __pyx_f_5numpy_get_datetime64_value(PyObject *
|
|
|
4986
4985
|
return __pyx_r;
|
|
4987
4986
|
}
|
|
4988
4987
|
|
|
4989
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4988
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1081
|
|
4990
4989
|
*
|
|
4991
4990
|
*
|
|
4992
4991
|
* cdef inline npy_timedelta get_timedelta64_value(object obj) noexcept nogil: # <<<<<<<<<<<<<<
|
|
@@ -4997,7 +4996,7 @@ static CYTHON_INLINE npy_datetime __pyx_f_5numpy_get_datetime64_value(PyObject *
|
|
|
4997
4996
|
static CYTHON_INLINE npy_timedelta __pyx_f_5numpy_get_timedelta64_value(PyObject *__pyx_v_obj) {
|
|
4998
4997
|
npy_timedelta __pyx_r;
|
|
4999
4998
|
|
|
5000
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4999
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1085
|
|
5001
5000
|
* returns the int64 value underlying scalar numpy timedelta64 object
|
|
5002
5001
|
* """
|
|
5003
5002
|
* return (<PyTimedeltaScalarObject*>obj).obval # <<<<<<<<<<<<<<
|
|
@@ -5007,7 +5006,7 @@ static CYTHON_INLINE npy_timedelta __pyx_f_5numpy_get_timedelta64_value(PyObject
|
|
|
5007
5006
|
__pyx_r = ((PyTimedeltaScalarObject *)__pyx_v_obj)->obval;
|
|
5008
5007
|
goto __pyx_L0;
|
|
5009
5008
|
|
|
5010
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
5009
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1081
|
|
5011
5010
|
*
|
|
5012
5011
|
*
|
|
5013
5012
|
* cdef inline npy_timedelta get_timedelta64_value(object obj) noexcept nogil: # <<<<<<<<<<<<<<
|
|
@@ -5020,7 +5019,7 @@ static CYTHON_INLINE npy_timedelta __pyx_f_5numpy_get_timedelta64_value(PyObject
|
|
|
5020
5019
|
return __pyx_r;
|
|
5021
5020
|
}
|
|
5022
5021
|
|
|
5023
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
5022
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1088
|
|
5024
5023
|
*
|
|
5025
5024
|
*
|
|
5026
5025
|
* cdef inline NPY_DATETIMEUNIT get_datetime64_unit(object obj) noexcept nogil: # <<<<<<<<<<<<<<
|
|
@@ -5031,7 +5030,7 @@ static CYTHON_INLINE npy_timedelta __pyx_f_5numpy_get_timedelta64_value(PyObject
|
|
|
5031
5030
|
static CYTHON_INLINE NPY_DATETIMEUNIT __pyx_f_5numpy_get_datetime64_unit(PyObject *__pyx_v_obj) {
|
|
5032
5031
|
NPY_DATETIMEUNIT __pyx_r;
|
|
5033
5032
|
|
|
5034
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
5033
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1092
|
|
5035
5034
|
* returns the unit part of the dtype for a numpy datetime64 object.
|
|
5036
5035
|
* """
|
|
5037
5036
|
* return <NPY_DATETIMEUNIT>(<PyDatetimeScalarObject*>obj).obmeta.base # <<<<<<<<<<<<<<
|
|
@@ -5041,7 +5040,7 @@ static CYTHON_INLINE NPY_DATETIMEUNIT __pyx_f_5numpy_get_datetime64_unit(PyObjec
|
|
|
5041
5040
|
__pyx_r = ((NPY_DATETIMEUNIT)((PyDatetimeScalarObject *)__pyx_v_obj)->obmeta.base);
|
|
5042
5041
|
goto __pyx_L0;
|
|
5043
5042
|
|
|
5044
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
5043
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-j_2gb50v/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1088
|
|
5045
5044
|
*
|
|
5046
5045
|
*
|
|
5047
5046
|
* cdef inline NPY_DATETIMEUNIT get_datetime64_unit(object obj) noexcept nogil: # <<<<<<<<<<<<<<
|
|
@@ -5054,7 +5053,7 @@ static CYTHON_INLINE NPY_DATETIMEUNIT __pyx_f_5numpy_get_datetime64_unit(PyObjec
|
|
|
5054
5053
|
return __pyx_r;
|
|
5055
5054
|
}
|
|
5056
5055
|
|
|
5057
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":
|
|
5056
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":8
|
|
5058
5057
|
* from libc.stdint cimport int32_t
|
|
5059
5058
|
*
|
|
5060
5059
|
* def seqdss(seqdata): # <<<<<<<<<<<<<<
|
|
@@ -5101,32 +5100,32 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
5101
5100
|
{
|
|
5102
5101
|
PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_seqdata,0};
|
|
5103
5102
|
const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
|
|
5104
|
-
if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0,
|
|
5103
|
+
if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 8, __pyx_L3_error)
|
|
5105
5104
|
if (__pyx_kwds_len > 0) {
|
|
5106
5105
|
switch (__pyx_nargs) {
|
|
5107
5106
|
case 1:
|
|
5108
5107
|
values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
|
|
5109
|
-
if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0,
|
|
5108
|
+
if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 8, __pyx_L3_error)
|
|
5110
5109
|
CYTHON_FALLTHROUGH;
|
|
5111
5110
|
case 0: break;
|
|
5112
5111
|
default: goto __pyx_L5_argtuple_error;
|
|
5113
5112
|
}
|
|
5114
5113
|
const Py_ssize_t kwd_pos_args = __pyx_nargs;
|
|
5115
|
-
if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "seqdss", 0) < 0) __PYX_ERR(0,
|
|
5114
|
+
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)
|
|
5116
5115
|
for (Py_ssize_t i = __pyx_nargs; i < 1; i++) {
|
|
5117
|
-
if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("seqdss", 1, 1, 1, i); __PYX_ERR(0,
|
|
5116
|
+
if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("seqdss", 1, 1, 1, i); __PYX_ERR(0, 8, __pyx_L3_error) }
|
|
5118
5117
|
}
|
|
5119
5118
|
} else if (unlikely(__pyx_nargs != 1)) {
|
|
5120
5119
|
goto __pyx_L5_argtuple_error;
|
|
5121
5120
|
} else {
|
|
5122
5121
|
values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
|
|
5123
|
-
if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0,
|
|
5122
|
+
if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 8, __pyx_L3_error)
|
|
5124
5123
|
}
|
|
5125
5124
|
__pyx_v_seqdata = values[0];
|
|
5126
5125
|
}
|
|
5127
5126
|
goto __pyx_L6_skip;
|
|
5128
5127
|
__pyx_L5_argtuple_error:;
|
|
5129
|
-
__Pyx_RaiseArgtupleInvalid("seqdss", 1, 1, 1, __pyx_nargs); __PYX_ERR(0,
|
|
5128
|
+
__Pyx_RaiseArgtupleInvalid("seqdss", 1, 1, 1, __pyx_nargs); __PYX_ERR(0, 8, __pyx_L3_error)
|
|
5130
5129
|
__pyx_L6_skip:;
|
|
5131
5130
|
goto __pyx_L4_argument_unpacking_done;
|
|
5132
5131
|
__pyx_L3_error:;
|
|
@@ -5148,7 +5147,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
5148
5147
|
}
|
|
5149
5148
|
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 */
|
|
5150
5149
|
|
|
5151
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":
|
|
5150
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":26
|
|
5152
5151
|
*
|
|
5153
5152
|
* cdef list groups = [row[boundary & (row >= 0)] for row, boundary in zip(ffill, boundaries)]
|
|
5154
5153
|
* cdef int max_groups = max(len(g) for g in groups) # <<<<<<<<<<<<<<
|
|
@@ -5168,7 +5167,7 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdss_6seq
|
|
|
5168
5167
|
if (unlikely(!__pyx_cur_scope)) {
|
|
5169
5168
|
__pyx_cur_scope = ((struct __pyx_obj_8sequenzo_22dissimilarity_measures_5utils_6seqdss___pyx_scope_struct__genexpr *)Py_None);
|
|
5170
5169
|
__Pyx_INCREF(Py_None);
|
|
5171
|
-
__PYX_ERR(0,
|
|
5170
|
+
__PYX_ERR(0, 26, __pyx_L1_error)
|
|
5172
5171
|
} else {
|
|
5173
5172
|
__Pyx_GOTREF((PyObject *)__pyx_cur_scope);
|
|
5174
5173
|
}
|
|
@@ -5176,7 +5175,7 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdss_6seq
|
|
|
5176
5175
|
__Pyx_INCREF(__pyx_cur_scope->__pyx_genexpr_arg_0);
|
|
5177
5176
|
__Pyx_GIVEREF(__pyx_cur_scope->__pyx_genexpr_arg_0);
|
|
5178
5177
|
{
|
|
5179
|
-
__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,
|
|
5178
|
+
__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)
|
|
5180
5179
|
__Pyx_DECREF(__pyx_cur_scope);
|
|
5181
5180
|
__Pyx_RefNannyFinishContext();
|
|
5182
5181
|
return (PyObject *) gen;
|
|
@@ -5215,29 +5214,29 @@ static PyObject *__pyx_gb_8sequenzo_22dissimilarity_measures_5utils_6seqdss_6seq
|
|
|
5215
5214
|
__pyx_L3_first_run:;
|
|
5216
5215
|
if (unlikely(__pyx_sent_value != Py_None)) {
|
|
5217
5216
|
if (unlikely(__pyx_sent_value)) PyErr_SetString(PyExc_TypeError, "can't send non-None value to a just-started generator");
|
|
5218
|
-
__PYX_ERR(0,
|
|
5217
|
+
__PYX_ERR(0, 26, __pyx_L1_error)
|
|
5219
5218
|
}
|
|
5220
|
-
if (unlikely(!__pyx_cur_scope->__pyx_genexpr_arg_0)) { __Pyx_RaiseUnboundLocalError(".0"); __PYX_ERR(0,
|
|
5219
|
+
if (unlikely(!__pyx_cur_scope->__pyx_genexpr_arg_0)) { __Pyx_RaiseUnboundLocalError(".0"); __PYX_ERR(0, 26, __pyx_L1_error) }
|
|
5221
5220
|
__pyx_t_1 = __pyx_cur_scope->__pyx_genexpr_arg_0; __Pyx_INCREF(__pyx_t_1);
|
|
5222
5221
|
__pyx_t_2 = 0;
|
|
5223
5222
|
for (;;) {
|
|
5224
5223
|
{
|
|
5225
5224
|
Py_ssize_t __pyx_temp = __Pyx_PyList_GET_SIZE(__pyx_t_1);
|
|
5226
5225
|
#if !CYTHON_ASSUME_SAFE_SIZE
|
|
5227
|
-
if (unlikely((__pyx_temp < 0))) __PYX_ERR(0,
|
|
5226
|
+
if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 26, __pyx_L1_error)
|
|
5228
5227
|
#endif
|
|
5229
5228
|
if (__pyx_t_2 >= __pyx_temp) break;
|
|
5230
5229
|
}
|
|
5231
5230
|
__pyx_t_3 = __Pyx_PyList_GetItemRef(__pyx_t_1, __pyx_t_2);
|
|
5232
5231
|
++__pyx_t_2;
|
|
5233
|
-
if (unlikely(!__pyx_t_3)) __PYX_ERR(0,
|
|
5232
|
+
if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 26, __pyx_L1_error)
|
|
5234
5233
|
__Pyx_GOTREF(__pyx_t_3);
|
|
5235
5234
|
__Pyx_XGOTREF(__pyx_cur_scope->__pyx_v_g);
|
|
5236
5235
|
__Pyx_XDECREF_SET(__pyx_cur_scope->__pyx_v_g, __pyx_t_3);
|
|
5237
5236
|
__Pyx_GIVEREF(__pyx_t_3);
|
|
5238
5237
|
__pyx_t_3 = 0;
|
|
5239
|
-
__pyx_t_4 = PyObject_Length(__pyx_cur_scope->__pyx_v_g); if (unlikely(__pyx_t_4 == ((Py_ssize_t)-1))) __PYX_ERR(0,
|
|
5240
|
-
__pyx_t_3 = PyLong_FromSsize_t(__pyx_t_4); if (unlikely(!__pyx_t_3)) __PYX_ERR(0,
|
|
5238
|
+
__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)
|
|
5239
|
+
__pyx_t_3 = PyLong_FromSsize_t(__pyx_t_4); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 26, __pyx_L1_error)
|
|
5241
5240
|
__Pyx_GOTREF(__pyx_t_3);
|
|
5242
5241
|
__pyx_r = __pyx_t_3;
|
|
5243
5242
|
__pyx_t_3 = 0;
|
|
@@ -5255,7 +5254,7 @@ static PyObject *__pyx_gb_8sequenzo_22dissimilarity_measures_5utils_6seqdss_6seq
|
|
|
5255
5254
|
__pyx_cur_scope->__pyx_t_0 = 0;
|
|
5256
5255
|
__Pyx_XGOTREF(__pyx_t_1);
|
|
5257
5256
|
__pyx_t_2 = __pyx_cur_scope->__pyx_t_1;
|
|
5258
|
-
if (unlikely(!__pyx_sent_value)) __PYX_ERR(0,
|
|
5257
|
+
if (unlikely(!__pyx_sent_value)) __PYX_ERR(0, 26, __pyx_L1_error)
|
|
5259
5258
|
}
|
|
5260
5259
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
5261
5260
|
CYTHON_MAYBE_UNUSED_VAR(__pyx_cur_scope);
|
|
@@ -5281,7 +5280,7 @@ static PyObject *__pyx_gb_8sequenzo_22dissimilarity_measures_5utils_6seqdss_6seq
|
|
|
5281
5280
|
return __pyx_r;
|
|
5282
5281
|
}
|
|
5283
5282
|
|
|
5284
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":
|
|
5283
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":8
|
|
5285
5284
|
* from libc.stdint cimport int32_t
|
|
5286
5285
|
*
|
|
5287
5286
|
* def seqdss(seqdata): # <<<<<<<<<<<<<<
|
|
@@ -5354,21 +5353,21 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdss_seqd
|
|
|
5354
5353
|
__pyx_pybuffernd_result.data = NULL;
|
|
5355
5354
|
__pyx_pybuffernd_result.rcbuffer = &__pyx_pybuffer_result;
|
|
5356
5355
|
|
|
5357
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":
|
|
5356
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":9
|
|
5358
5357
|
*
|
|
5359
5358
|
* def seqdss(seqdata):
|
|
5360
5359
|
* if not isinstance(seqdata, SequenceData): # <<<<<<<<<<<<<<
|
|
5361
5360
|
* raise ValueError("[!] data is NOT a sequence object, see SequenceData to create one.")
|
|
5362
5361
|
*
|
|
5363
5362
|
*/
|
|
5364
|
-
__Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_SequenceData); if (unlikely(!__pyx_t_1)) __PYX_ERR(0,
|
|
5363
|
+
__Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_SequenceData); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 9, __pyx_L1_error)
|
|
5365
5364
|
__Pyx_GOTREF(__pyx_t_1);
|
|
5366
|
-
__pyx_t_2 = PyObject_IsInstance(__pyx_v_seqdata, __pyx_t_1); if (unlikely(__pyx_t_2 == ((int)-1))) __PYX_ERR(0,
|
|
5365
|
+
__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)
|
|
5367
5366
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
5368
5367
|
__pyx_t_3 = (!__pyx_t_2);
|
|
5369
5368
|
if (unlikely(__pyx_t_3)) {
|
|
5370
5369
|
|
|
5371
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":
|
|
5370
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":10
|
|
5372
5371
|
* def seqdss(seqdata):
|
|
5373
5372
|
* if not isinstance(seqdata, SequenceData):
|
|
5374
5373
|
* raise ValueError("[!] data is NOT a sequence object, see SequenceData to create one.") # <<<<<<<<<<<<<<
|
|
@@ -5384,14 +5383,14 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdss_seqd
|
|
|
5384
5383
|
__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));
|
|
5385
5384
|
__Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
|
|
5386
5385
|
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
|
|
5387
|
-
if (unlikely(!__pyx_t_1)) __PYX_ERR(0,
|
|
5386
|
+
if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 10, __pyx_L1_error)
|
|
5388
5387
|
__Pyx_GOTREF(__pyx_t_1);
|
|
5389
5388
|
}
|
|
5390
5389
|
__Pyx_Raise(__pyx_t_1, 0, 0, 0);
|
|
5391
5390
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
5392
|
-
__PYX_ERR(0,
|
|
5391
|
+
__PYX_ERR(0, 10, __pyx_L1_error)
|
|
5393
5392
|
|
|
5394
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":
|
|
5393
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":9
|
|
5395
5394
|
*
|
|
5396
5395
|
* def seqdss(seqdata):
|
|
5397
5396
|
* if not isinstance(seqdata, SequenceData): # <<<<<<<<<<<<<<
|
|
@@ -5400,49 +5399,49 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdss_seqd
|
|
|
5400
5399
|
*/
|
|
5401
5400
|
}
|
|
5402
5401
|
|
|
5403
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":
|
|
5402
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":12
|
|
5404
5403
|
* raise ValueError("[!] data is NOT a sequence object, see SequenceData to create one.")
|
|
5405
5404
|
*
|
|
5406
5405
|
* cdef cnp.ndarray[int32_t, ndim=2] seqdatanum = seqdata.values.astype(np.int32, copy=False) # <<<<<<<<<<<<<<
|
|
5407
5406
|
* cdef int n = seqdatanum.shape[0], m = seqdatanum.shape[1]
|
|
5408
5407
|
* cdef int i, j
|
|
5409
5408
|
*/
|
|
5410
|
-
__pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_seqdata, __pyx_mstate_global->__pyx_n_u_values); if (unlikely(!__pyx_t_4)) __PYX_ERR(0,
|
|
5409
|
+
__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)
|
|
5411
5410
|
__Pyx_GOTREF(__pyx_t_4);
|
|
5412
5411
|
__pyx_t_5 = __pyx_t_4;
|
|
5413
5412
|
__Pyx_INCREF(__pyx_t_5);
|
|
5414
|
-
__Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_np); if (unlikely(!__pyx_t_7)) __PYX_ERR(0,
|
|
5413
|
+
__Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_np); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 12, __pyx_L1_error)
|
|
5415
5414
|
__Pyx_GOTREF(__pyx_t_7);
|
|
5416
|
-
__pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_int32); if (unlikely(!__pyx_t_8)) __PYX_ERR(0,
|
|
5415
|
+
__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)
|
|
5417
5416
|
__Pyx_GOTREF(__pyx_t_8);
|
|
5418
5417
|
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
|
|
5419
5418
|
__pyx_t_6 = 0;
|
|
5420
5419
|
{
|
|
5421
5420
|
PyObject *__pyx_callargs[2 + ((CYTHON_VECTORCALL) ? 1 : 0)] = {__pyx_t_5, __pyx_t_8};
|
|
5422
|
-
__pyx_t_7 = __Pyx_MakeVectorcallBuilderKwds(1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0,
|
|
5421
|
+
__pyx_t_7 = __Pyx_MakeVectorcallBuilderKwds(1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 12, __pyx_L1_error)
|
|
5423
5422
|
__Pyx_GOTREF(__pyx_t_7);
|
|
5424
|
-
if (__Pyx_VectorcallBuilder_AddArg(__pyx_mstate_global->__pyx_n_u_copy, Py_False, __pyx_t_7, __pyx_callargs+2, 0) < 0) __PYX_ERR(0,
|
|
5423
|
+
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)
|
|
5425
5424
|
__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);
|
|
5426
5425
|
__Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
|
|
5427
5426
|
__Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
|
|
5428
5427
|
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
|
|
5429
5428
|
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
|
|
5430
|
-
if (unlikely(!__pyx_t_1)) __PYX_ERR(0,
|
|
5429
|
+
if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 12, __pyx_L1_error)
|
|
5431
5430
|
__Pyx_GOTREF(__pyx_t_1);
|
|
5432
5431
|
}
|
|
5433
|
-
if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_mstate_global->__pyx_ptype_5numpy_ndarray))))) __PYX_ERR(0,
|
|
5432
|
+
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)
|
|
5434
5433
|
{
|
|
5435
5434
|
__Pyx_BufFmt_StackElem __pyx_stack[1];
|
|
5436
5435
|
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)) {
|
|
5437
5436
|
__pyx_v_seqdatanum = ((PyArrayObject *)Py_None); __Pyx_INCREF(Py_None); __pyx_pybuffernd_seqdatanum.rcbuffer->pybuffer.buf = NULL;
|
|
5438
|
-
__PYX_ERR(0,
|
|
5437
|
+
__PYX_ERR(0, 12, __pyx_L1_error)
|
|
5439
5438
|
} 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];
|
|
5440
5439
|
}
|
|
5441
5440
|
}
|
|
5442
5441
|
__pyx_v_seqdatanum = ((PyArrayObject *)__pyx_t_1);
|
|
5443
5442
|
__pyx_t_1 = 0;
|
|
5444
5443
|
|
|
5445
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":
|
|
5444
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":13
|
|
5446
5445
|
*
|
|
5447
5446
|
* cdef cnp.ndarray[int32_t, ndim=2] seqdatanum = seqdata.values.astype(np.int32, copy=False)
|
|
5448
5447
|
* cdef int n = seqdatanum.shape[0], m = seqdatanum.shape[1] # <<<<<<<<<<<<<<
|
|
@@ -5452,7 +5451,7 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdss_seqd
|
|
|
5452
5451
|
__pyx_v_n = (__pyx_f_5numpy_7ndarray_5shape_shape(((PyArrayObject *)__pyx_v_seqdatanum))[0]);
|
|
5453
5452
|
__pyx_v_m = (__pyx_f_5numpy_7ndarray_5shape_shape(((PyArrayObject *)__pyx_v_seqdatanum))[1]);
|
|
5454
5453
|
|
|
5455
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":
|
|
5454
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":16
|
|
5456
5455
|
* cdef int i, j
|
|
5457
5456
|
*
|
|
5458
5457
|
* cdef cnp.ndarray[int32_t, ndim=2] ffill = seqdatanum # <<<<<<<<<<<<<<
|
|
@@ -5463,14 +5462,14 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdss_seqd
|
|
|
5463
5462
|
__Pyx_BufFmt_StackElem __pyx_stack[1];
|
|
5464
5463
|
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)) {
|
|
5465
5464
|
__pyx_v_ffill = ((PyArrayObject *)Py_None); __Pyx_INCREF(Py_None); __pyx_pybuffernd_ffill.rcbuffer->pybuffer.buf = NULL;
|
|
5466
|
-
__PYX_ERR(0,
|
|
5465
|
+
__PYX_ERR(0, 16, __pyx_L1_error)
|
|
5467
5466
|
} 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];
|
|
5468
5467
|
}
|
|
5469
5468
|
}
|
|
5470
5469
|
__Pyx_INCREF((PyObject *)__pyx_v_seqdatanum);
|
|
5471
5470
|
__pyx_v_ffill = ((PyArrayObject *)__pyx_v_seqdatanum);
|
|
5472
5471
|
|
|
5473
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":
|
|
5472
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":17
|
|
5474
5473
|
*
|
|
5475
5474
|
* cdef cnp.ndarray[int32_t, ndim=2] ffill = seqdatanum
|
|
5476
5475
|
* cdef cnp.ndarray[char, ndim=2] boundaries = np.ones((n, 1), dtype=bool) # Fixed here # <<<<<<<<<<<<<<
|
|
@@ -5478,20 +5477,20 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdss_seqd
|
|
|
5478
5477
|
* for j in range(1, m):
|
|
5479
5478
|
*/
|
|
5480
5479
|
__pyx_t_4 = NULL;
|
|
5481
|
-
__Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_np); if (unlikely(!__pyx_t_7)) __PYX_ERR(0,
|
|
5480
|
+
__Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_np); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 17, __pyx_L1_error)
|
|
5482
5481
|
__Pyx_GOTREF(__pyx_t_7);
|
|
5483
|
-
__pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_ones); if (unlikely(!__pyx_t_8)) __PYX_ERR(0,
|
|
5482
|
+
__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)
|
|
5484
5483
|
__Pyx_GOTREF(__pyx_t_8);
|
|
5485
5484
|
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
|
|
5486
|
-
__pyx_t_7 = __Pyx_PyLong_From_int(__pyx_v_n); if (unlikely(!__pyx_t_7)) __PYX_ERR(0,
|
|
5485
|
+
__pyx_t_7 = __Pyx_PyLong_From_int(__pyx_v_n); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 17, __pyx_L1_error)
|
|
5487
5486
|
__Pyx_GOTREF(__pyx_t_7);
|
|
5488
|
-
__pyx_t_5 = PyTuple_New(2); if (unlikely(!__pyx_t_5)) __PYX_ERR(0,
|
|
5487
|
+
__pyx_t_5 = PyTuple_New(2); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 17, __pyx_L1_error)
|
|
5489
5488
|
__Pyx_GOTREF(__pyx_t_5);
|
|
5490
5489
|
__Pyx_GIVEREF(__pyx_t_7);
|
|
5491
|
-
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_7) != (0)) __PYX_ERR(0,
|
|
5490
|
+
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_7) != (0)) __PYX_ERR(0, 17, __pyx_L1_error);
|
|
5492
5491
|
__Pyx_INCREF(__pyx_mstate_global->__pyx_int_1);
|
|
5493
5492
|
__Pyx_GIVEREF(__pyx_mstate_global->__pyx_int_1);
|
|
5494
|
-
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_mstate_global->__pyx_int_1) != (0)) __PYX_ERR(0,
|
|
5493
|
+
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_mstate_global->__pyx_int_1) != (0)) __PYX_ERR(0, 17, __pyx_L1_error);
|
|
5495
5494
|
__pyx_t_7 = 0;
|
|
5496
5495
|
__pyx_t_6 = 1;
|
|
5497
5496
|
#if CYTHON_UNPACK_METHODS
|
|
@@ -5507,30 +5506,30 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdss_seqd
|
|
|
5507
5506
|
#endif
|
|
5508
5507
|
{
|
|
5509
5508
|
PyObject *__pyx_callargs[2 + ((CYTHON_VECTORCALL) ? 1 : 0)] = {__pyx_t_4, __pyx_t_5};
|
|
5510
|
-
__pyx_t_7 = __Pyx_MakeVectorcallBuilderKwds(1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0,
|
|
5509
|
+
__pyx_t_7 = __Pyx_MakeVectorcallBuilderKwds(1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 17, __pyx_L1_error)
|
|
5511
5510
|
__Pyx_GOTREF(__pyx_t_7);
|
|
5512
|
-
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,
|
|
5511
|
+
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)
|
|
5513
5512
|
__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);
|
|
5514
5513
|
__Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
|
|
5515
5514
|
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
|
|
5516
5515
|
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
|
|
5517
5516
|
__Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
|
|
5518
|
-
if (unlikely(!__pyx_t_1)) __PYX_ERR(0,
|
|
5517
|
+
if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 17, __pyx_L1_error)
|
|
5519
5518
|
__Pyx_GOTREF(__pyx_t_1);
|
|
5520
5519
|
}
|
|
5521
|
-
if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_mstate_global->__pyx_ptype_5numpy_ndarray))))) __PYX_ERR(0,
|
|
5520
|
+
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)
|
|
5522
5521
|
{
|
|
5523
5522
|
__Pyx_BufFmt_StackElem __pyx_stack[1];
|
|
5524
5523
|
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)) {
|
|
5525
5524
|
__pyx_v_boundaries = ((PyArrayObject *)Py_None); __Pyx_INCREF(Py_None); __pyx_pybuffernd_boundaries.rcbuffer->pybuffer.buf = NULL;
|
|
5526
|
-
__PYX_ERR(0,
|
|
5525
|
+
__PYX_ERR(0, 17, __pyx_L1_error)
|
|
5527
5526
|
} 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];
|
|
5528
5527
|
}
|
|
5529
5528
|
}
|
|
5530
5529
|
__pyx_v_boundaries = ((PyArrayObject *)__pyx_t_1);
|
|
5531
5530
|
__pyx_t_1 = 0;
|
|
5532
5531
|
|
|
5533
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":
|
|
5532
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":19
|
|
5534
5533
|
* cdef cnp.ndarray[char, ndim=2] boundaries = np.ones((n, 1), dtype=bool) # Fixed here
|
|
5535
5534
|
*
|
|
5536
5535
|
* for j in range(1, m): # <<<<<<<<<<<<<<
|
|
@@ -5542,67 +5541,67 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdss_seqd
|
|
|
5542
5541
|
for (__pyx_t_11 = 1; __pyx_t_11 < __pyx_t_10; __pyx_t_11+=1) {
|
|
5543
5542
|
__pyx_v_j = __pyx_t_11;
|
|
5544
5543
|
|
|
5545
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":
|
|
5544
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":20
|
|
5546
5545
|
*
|
|
5547
5546
|
* for j in range(1, m):
|
|
5548
5547
|
* mask = (ffill[:, j] < 0) # <<<<<<<<<<<<<<
|
|
5549
5548
|
* ffill[mask, j] = ffill[mask, j - 1]
|
|
5550
5549
|
*
|
|
5551
5550
|
*/
|
|
5552
|
-
__pyx_t_1 = __Pyx_PyLong_From_int(__pyx_v_j); if (unlikely(!__pyx_t_1)) __PYX_ERR(0,
|
|
5551
|
+
__pyx_t_1 = __Pyx_PyLong_From_int(__pyx_v_j); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 20, __pyx_L1_error)
|
|
5553
5552
|
__Pyx_GOTREF(__pyx_t_1);
|
|
5554
|
-
__pyx_t_8 = PyTuple_New(2); if (unlikely(!__pyx_t_8)) __PYX_ERR(0,
|
|
5553
|
+
__pyx_t_8 = PyTuple_New(2); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 20, __pyx_L1_error)
|
|
5555
5554
|
__Pyx_GOTREF(__pyx_t_8);
|
|
5556
5555
|
__Pyx_INCREF(__pyx_mstate_global->__pyx_slice[0]);
|
|
5557
5556
|
__Pyx_GIVEREF(__pyx_mstate_global->__pyx_slice[0]);
|
|
5558
|
-
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_8, 0, __pyx_mstate_global->__pyx_slice[0]) != (0)) __PYX_ERR(0,
|
|
5557
|
+
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_8, 0, __pyx_mstate_global->__pyx_slice[0]) != (0)) __PYX_ERR(0, 20, __pyx_L1_error);
|
|
5559
5558
|
__Pyx_GIVEREF(__pyx_t_1);
|
|
5560
|
-
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_8, 1, __pyx_t_1) != (0)) __PYX_ERR(0,
|
|
5559
|
+
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_8, 1, __pyx_t_1) != (0)) __PYX_ERR(0, 20, __pyx_L1_error);
|
|
5561
5560
|
__pyx_t_1 = 0;
|
|
5562
|
-
__pyx_t_1 = __Pyx_PyObject_GetItem(((PyObject *)__pyx_v_ffill), __pyx_t_8); if (unlikely(!__pyx_t_1)) __PYX_ERR(0,
|
|
5561
|
+
__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)
|
|
5563
5562
|
__Pyx_GOTREF(__pyx_t_1);
|
|
5564
5563
|
__Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
|
|
5565
|
-
__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,
|
|
5564
|
+
__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)
|
|
5566
5565
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
5567
5566
|
__Pyx_XDECREF_SET(__pyx_v_mask, __pyx_t_8);
|
|
5568
5567
|
__pyx_t_8 = 0;
|
|
5569
5568
|
|
|
5570
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":
|
|
5569
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":21
|
|
5571
5570
|
* for j in range(1, m):
|
|
5572
5571
|
* mask = (ffill[:, j] < 0)
|
|
5573
5572
|
* ffill[mask, j] = ffill[mask, j - 1] # <<<<<<<<<<<<<<
|
|
5574
5573
|
*
|
|
5575
5574
|
* boundaries = np.concatenate([boundaries, ffill[:, 1:] != ffill[:, :-1]], axis=1)
|
|
5576
5575
|
*/
|
|
5577
|
-
__pyx_t_8 = __Pyx_PyLong_From_long((__pyx_v_j - 1)); if (unlikely(!__pyx_t_8)) __PYX_ERR(0,
|
|
5576
|
+
__pyx_t_8 = __Pyx_PyLong_From_long((__pyx_v_j - 1)); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 21, __pyx_L1_error)
|
|
5578
5577
|
__Pyx_GOTREF(__pyx_t_8);
|
|
5579
|
-
__pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0,
|
|
5578
|
+
__pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 21, __pyx_L1_error)
|
|
5580
5579
|
__Pyx_GOTREF(__pyx_t_1);
|
|
5581
5580
|
__Pyx_INCREF(__pyx_v_mask);
|
|
5582
5581
|
__Pyx_GIVEREF(__pyx_v_mask);
|
|
5583
|
-
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_mask) != (0)) __PYX_ERR(0,
|
|
5582
|
+
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_mask) != (0)) __PYX_ERR(0, 21, __pyx_L1_error);
|
|
5584
5583
|
__Pyx_GIVEREF(__pyx_t_8);
|
|
5585
|
-
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_t_8) != (0)) __PYX_ERR(0,
|
|
5584
|
+
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_t_8) != (0)) __PYX_ERR(0, 21, __pyx_L1_error);
|
|
5586
5585
|
__pyx_t_8 = 0;
|
|
5587
|
-
__pyx_t_8 = __Pyx_PyObject_GetItem(((PyObject *)__pyx_v_ffill), __pyx_t_1); if (unlikely(!__pyx_t_8)) __PYX_ERR(0,
|
|
5586
|
+
__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)
|
|
5588
5587
|
__Pyx_GOTREF(__pyx_t_8);
|
|
5589
5588
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
5590
|
-
__pyx_t_1 = __Pyx_PyLong_From_int(__pyx_v_j); if (unlikely(!__pyx_t_1)) __PYX_ERR(0,
|
|
5589
|
+
__pyx_t_1 = __Pyx_PyLong_From_int(__pyx_v_j); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 21, __pyx_L1_error)
|
|
5591
5590
|
__Pyx_GOTREF(__pyx_t_1);
|
|
5592
|
-
__pyx_t_7 = PyTuple_New(2); if (unlikely(!__pyx_t_7)) __PYX_ERR(0,
|
|
5591
|
+
__pyx_t_7 = PyTuple_New(2); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 21, __pyx_L1_error)
|
|
5593
5592
|
__Pyx_GOTREF(__pyx_t_7);
|
|
5594
5593
|
__Pyx_INCREF(__pyx_v_mask);
|
|
5595
5594
|
__Pyx_GIVEREF(__pyx_v_mask);
|
|
5596
|
-
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_7, 0, __pyx_v_mask) != (0)) __PYX_ERR(0,
|
|
5595
|
+
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_7, 0, __pyx_v_mask) != (0)) __PYX_ERR(0, 21, __pyx_L1_error);
|
|
5597
5596
|
__Pyx_GIVEREF(__pyx_t_1);
|
|
5598
|
-
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_7, 1, __pyx_t_1) != (0)) __PYX_ERR(0,
|
|
5597
|
+
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_7, 1, __pyx_t_1) != (0)) __PYX_ERR(0, 21, __pyx_L1_error);
|
|
5599
5598
|
__pyx_t_1 = 0;
|
|
5600
|
-
if (unlikely((PyObject_SetItem(((PyObject *)__pyx_v_ffill), __pyx_t_7, __pyx_t_8) < 0))) __PYX_ERR(0,
|
|
5599
|
+
if (unlikely((PyObject_SetItem(((PyObject *)__pyx_v_ffill), __pyx_t_7, __pyx_t_8) < 0))) __PYX_ERR(0, 21, __pyx_L1_error)
|
|
5601
5600
|
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
|
|
5602
5601
|
__Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
|
|
5603
5602
|
}
|
|
5604
5603
|
|
|
5605
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":
|
|
5604
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":23
|
|
5606
5605
|
* ffill[mask, j] = ffill[mask, j - 1]
|
|
5607
5606
|
*
|
|
5608
5607
|
* boundaries = np.concatenate([boundaries, ffill[:, 1:] != ffill[:, :-1]], axis=1) # <<<<<<<<<<<<<<
|
|
@@ -5610,25 +5609,25 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdss_seqd
|
|
|
5610
5609
|
* cdef list groups = [row[boundary & (row >= 0)] for row, boundary in zip(ffill, boundaries)]
|
|
5611
5610
|
*/
|
|
5612
5611
|
__pyx_t_7 = NULL;
|
|
5613
|
-
__Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_np); if (unlikely(!__pyx_t_1)) __PYX_ERR(0,
|
|
5612
|
+
__Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_np); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 23, __pyx_L1_error)
|
|
5614
5613
|
__Pyx_GOTREF(__pyx_t_1);
|
|
5615
|
-
__pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_concatenate); if (unlikely(!__pyx_t_5)) __PYX_ERR(0,
|
|
5614
|
+
__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)
|
|
5616
5615
|
__Pyx_GOTREF(__pyx_t_5);
|
|
5617
5616
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
5618
|
-
__pyx_t_1 = __Pyx_PyObject_GetItem(((PyObject *)__pyx_v_ffill), __pyx_mstate_global->__pyx_tuple[0]); if (unlikely(!__pyx_t_1)) __PYX_ERR(0,
|
|
5617
|
+
__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)
|
|
5619
5618
|
__Pyx_GOTREF(__pyx_t_1);
|
|
5620
|
-
__pyx_t_4 = __Pyx_PyObject_GetItem(((PyObject *)__pyx_v_ffill), __pyx_mstate_global->__pyx_tuple[1]); if (unlikely(!__pyx_t_4)) __PYX_ERR(0,
|
|
5619
|
+
__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)
|
|
5621
5620
|
__Pyx_GOTREF(__pyx_t_4);
|
|
5622
|
-
__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,
|
|
5621
|
+
__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)
|
|
5623
5622
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
5624
5623
|
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
|
|
5625
|
-
__pyx_t_4 = PyList_New(2); if (unlikely(!__pyx_t_4)) __PYX_ERR(0,
|
|
5624
|
+
__pyx_t_4 = PyList_New(2); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 23, __pyx_L1_error)
|
|
5626
5625
|
__Pyx_GOTREF(__pyx_t_4);
|
|
5627
5626
|
__Pyx_INCREF((PyObject *)__pyx_v_boundaries);
|
|
5628
5627
|
__Pyx_GIVEREF((PyObject *)__pyx_v_boundaries);
|
|
5629
|
-
if (__Pyx_PyList_SET_ITEM(__pyx_t_4, 0, ((PyObject *)__pyx_v_boundaries)) != (0)) __PYX_ERR(0,
|
|
5628
|
+
if (__Pyx_PyList_SET_ITEM(__pyx_t_4, 0, ((PyObject *)__pyx_v_boundaries)) != (0)) __PYX_ERR(0, 23, __pyx_L1_error);
|
|
5630
5629
|
__Pyx_GIVEREF(__pyx_t_12);
|
|
5631
|
-
if (__Pyx_PyList_SET_ITEM(__pyx_t_4, 1, __pyx_t_12) != (0)) __PYX_ERR(0,
|
|
5630
|
+
if (__Pyx_PyList_SET_ITEM(__pyx_t_4, 1, __pyx_t_12) != (0)) __PYX_ERR(0, 23, __pyx_L1_error);
|
|
5632
5631
|
__pyx_t_12 = 0;
|
|
5633
5632
|
__pyx_t_6 = 1;
|
|
5634
5633
|
#if CYTHON_UNPACK_METHODS
|
|
@@ -5644,18 +5643,18 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdss_seqd
|
|
|
5644
5643
|
#endif
|
|
5645
5644
|
{
|
|
5646
5645
|
PyObject *__pyx_callargs[2 + ((CYTHON_VECTORCALL) ? 1 : 0)] = {__pyx_t_7, __pyx_t_4};
|
|
5647
|
-
__pyx_t_12 = __Pyx_MakeVectorcallBuilderKwds(1); if (unlikely(!__pyx_t_12)) __PYX_ERR(0,
|
|
5646
|
+
__pyx_t_12 = __Pyx_MakeVectorcallBuilderKwds(1); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 23, __pyx_L1_error)
|
|
5648
5647
|
__Pyx_GOTREF(__pyx_t_12);
|
|
5649
|
-
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,
|
|
5648
|
+
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)
|
|
5650
5649
|
__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);
|
|
5651
5650
|
__Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;
|
|
5652
5651
|
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
|
|
5653
5652
|
__Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0;
|
|
5654
5653
|
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
|
|
5655
|
-
if (unlikely(!__pyx_t_8)) __PYX_ERR(0,
|
|
5654
|
+
if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 23, __pyx_L1_error)
|
|
5656
5655
|
__Pyx_GOTREF(__pyx_t_8);
|
|
5657
5656
|
}
|
|
5658
|
-
if (!(likely(((__pyx_t_8) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_8, __pyx_mstate_global->__pyx_ptype_5numpy_ndarray))))) __PYX_ERR(0,
|
|
5657
|
+
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)
|
|
5659
5658
|
{
|
|
5660
5659
|
__Pyx_BufFmt_StackElem __pyx_stack[1];
|
|
5661
5660
|
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_boundaries.rcbuffer->pybuffer);
|
|
@@ -5671,12 +5670,12 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdss_seqd
|
|
|
5671
5670
|
__pyx_t_13 = __pyx_t_14 = __pyx_t_15 = 0;
|
|
5672
5671
|
}
|
|
5673
5672
|
__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];
|
|
5674
|
-
if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0,
|
|
5673
|
+
if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 23, __pyx_L1_error)
|
|
5675
5674
|
}
|
|
5676
5675
|
__Pyx_DECREF_SET(__pyx_v_boundaries, ((PyArrayObject *)__pyx_t_8));
|
|
5677
5676
|
__pyx_t_8 = 0;
|
|
5678
5677
|
|
|
5679
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":
|
|
5678
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":25
|
|
5680
5679
|
* boundaries = np.concatenate([boundaries, ffill[:, 1:] != ffill[:, :-1]], axis=1)
|
|
5681
5680
|
*
|
|
5682
5681
|
* cdef list groups = [row[boundary & (row >= 0)] for row, boundary in zip(ffill, boundaries)] # <<<<<<<<<<<<<<
|
|
@@ -5684,7 +5683,7 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdss_seqd
|
|
|
5684
5683
|
*
|
|
5685
5684
|
*/
|
|
5686
5685
|
{ /* enter inner scope */
|
|
5687
|
-
__pyx_t_8 = PyList_New(0); if (unlikely(!__pyx_t_8)) __PYX_ERR(0,
|
|
5686
|
+
__pyx_t_8 = PyList_New(0); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 25, __pyx_L8_error)
|
|
5688
5687
|
__Pyx_GOTREF(__pyx_t_8);
|
|
5689
5688
|
__pyx_t_12 = NULL;
|
|
5690
5689
|
__Pyx_INCREF(__pyx_builtin_zip);
|
|
@@ -5695,7 +5694,7 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdss_seqd
|
|
|
5695
5694
|
__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));
|
|
5696
5695
|
__Pyx_XDECREF(__pyx_t_12); __pyx_t_12 = 0;
|
|
5697
5696
|
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
|
|
5698
|
-
if (unlikely(!__pyx_t_5)) __PYX_ERR(0,
|
|
5697
|
+
if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 25, __pyx_L8_error)
|
|
5699
5698
|
__Pyx_GOTREF(__pyx_t_5);
|
|
5700
5699
|
}
|
|
5701
5700
|
if (likely(PyList_CheckExact(__pyx_t_5)) || PyTuple_CheckExact(__pyx_t_5)) {
|
|
@@ -5703,9 +5702,9 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdss_seqd
|
|
|
5703
5702
|
__pyx_t_16 = 0;
|
|
5704
5703
|
__pyx_t_17 = NULL;
|
|
5705
5704
|
} else {
|
|
5706
|
-
__pyx_t_16 = -1; __pyx_t_4 = PyObject_GetIter(__pyx_t_5); if (unlikely(!__pyx_t_4)) __PYX_ERR(0,
|
|
5705
|
+
__pyx_t_16 = -1; __pyx_t_4 = PyObject_GetIter(__pyx_t_5); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 25, __pyx_L8_error)
|
|
5707
5706
|
__Pyx_GOTREF(__pyx_t_4);
|
|
5708
|
-
__pyx_t_17 = (CYTHON_COMPILING_IN_LIMITED_API) ? PyIter_Next : __Pyx_PyObject_GetIterNextFunc(__pyx_t_4); if (unlikely(!__pyx_t_17)) __PYX_ERR(0,
|
|
5707
|
+
__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)
|
|
5709
5708
|
}
|
|
5710
5709
|
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
|
|
5711
5710
|
for (;;) {
|
|
@@ -5714,7 +5713,7 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdss_seqd
|
|
|
5714
5713
|
{
|
|
5715
5714
|
Py_ssize_t __pyx_temp = __Pyx_PyList_GET_SIZE(__pyx_t_4);
|
|
5716
5715
|
#if !CYTHON_ASSUME_SAFE_SIZE
|
|
5717
|
-
if (unlikely((__pyx_temp < 0))) __PYX_ERR(0,
|
|
5716
|
+
if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 25, __pyx_L8_error)
|
|
5718
5717
|
#endif
|
|
5719
5718
|
if (__pyx_t_16 >= __pyx_temp) break;
|
|
5720
5719
|
}
|
|
@@ -5724,7 +5723,7 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdss_seqd
|
|
|
5724
5723
|
{
|
|
5725
5724
|
Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_4);
|
|
5726
5725
|
#if !CYTHON_ASSUME_SAFE_SIZE
|
|
5727
|
-
if (unlikely((__pyx_temp < 0))) __PYX_ERR(0,
|
|
5726
|
+
if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 25, __pyx_L8_error)
|
|
5728
5727
|
#endif
|
|
5729
5728
|
if (__pyx_t_16 >= __pyx_temp) break;
|
|
5730
5729
|
}
|
|
@@ -5735,13 +5734,13 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdss_seqd
|
|
|
5735
5734
|
#endif
|
|
5736
5735
|
++__pyx_t_16;
|
|
5737
5736
|
}
|
|
5738
|
-
if (unlikely(!__pyx_t_5)) __PYX_ERR(0,
|
|
5737
|
+
if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 25, __pyx_L8_error)
|
|
5739
5738
|
} else {
|
|
5740
5739
|
__pyx_t_5 = __pyx_t_17(__pyx_t_4);
|
|
5741
5740
|
if (unlikely(!__pyx_t_5)) {
|
|
5742
5741
|
PyObject* exc_type = PyErr_Occurred();
|
|
5743
5742
|
if (exc_type) {
|
|
5744
|
-
if (unlikely(!__Pyx_PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) __PYX_ERR(0,
|
|
5743
|
+
if (unlikely(!__Pyx_PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) __PYX_ERR(0, 25, __pyx_L8_error)
|
|
5745
5744
|
PyErr_Clear();
|
|
5746
5745
|
}
|
|
5747
5746
|
break;
|
|
@@ -5754,7 +5753,7 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdss_seqd
|
|
|
5754
5753
|
if (unlikely(size != 2)) {
|
|
5755
5754
|
if (size > 2) __Pyx_RaiseTooManyValuesError(2);
|
|
5756
5755
|
else if (size >= 0) __Pyx_RaiseNeedMoreValuesError(size);
|
|
5757
|
-
__PYX_ERR(0,
|
|
5756
|
+
__PYX_ERR(0, 25, __pyx_L8_error)
|
|
5758
5757
|
}
|
|
5759
5758
|
#if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
|
|
5760
5759
|
if (likely(PyTuple_CheckExact(sequence))) {
|
|
@@ -5764,22 +5763,22 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdss_seqd
|
|
|
5764
5763
|
__Pyx_INCREF(__pyx_t_7);
|
|
5765
5764
|
} else {
|
|
5766
5765
|
__pyx_t_12 = __Pyx_PyList_GetItemRef(sequence, 0);
|
|
5767
|
-
if (unlikely(!__pyx_t_12)) __PYX_ERR(0,
|
|
5766
|
+
if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 25, __pyx_L8_error)
|
|
5768
5767
|
__Pyx_XGOTREF(__pyx_t_12);
|
|
5769
5768
|
__pyx_t_7 = __Pyx_PyList_GetItemRef(sequence, 1);
|
|
5770
|
-
if (unlikely(!__pyx_t_7)) __PYX_ERR(0,
|
|
5769
|
+
if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 25, __pyx_L8_error)
|
|
5771
5770
|
__Pyx_XGOTREF(__pyx_t_7);
|
|
5772
5771
|
}
|
|
5773
5772
|
#else
|
|
5774
|
-
__pyx_t_12 = __Pyx_PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_12)) __PYX_ERR(0,
|
|
5773
|
+
__pyx_t_12 = __Pyx_PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 25, __pyx_L8_error)
|
|
5775
5774
|
__Pyx_GOTREF(__pyx_t_12);
|
|
5776
|
-
__pyx_t_7 = __Pyx_PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0,
|
|
5775
|
+
__pyx_t_7 = __Pyx_PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 25, __pyx_L8_error)
|
|
5777
5776
|
__Pyx_GOTREF(__pyx_t_7);
|
|
5778
5777
|
#endif
|
|
5779
5778
|
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
|
|
5780
5779
|
} else {
|
|
5781
5780
|
Py_ssize_t index = -1;
|
|
5782
|
-
__pyx_t_1 = PyObject_GetIter(__pyx_t_5); if (unlikely(!__pyx_t_1)) __PYX_ERR(0,
|
|
5781
|
+
__pyx_t_1 = PyObject_GetIter(__pyx_t_5); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 25, __pyx_L8_error)
|
|
5783
5782
|
__Pyx_GOTREF(__pyx_t_1);
|
|
5784
5783
|
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
|
|
5785
5784
|
__pyx_t_18 = (CYTHON_COMPILING_IN_LIMITED_API) ? PyIter_Next : __Pyx_PyObject_GetIterNextFunc(__pyx_t_1);
|
|
@@ -5787,7 +5786,7 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdss_seqd
|
|
|
5787
5786
|
__Pyx_GOTREF(__pyx_t_12);
|
|
5788
5787
|
index = 1; __pyx_t_7 = __pyx_t_18(__pyx_t_1); if (unlikely(!__pyx_t_7)) goto __pyx_L11_unpacking_failed;
|
|
5789
5788
|
__Pyx_GOTREF(__pyx_t_7);
|
|
5790
|
-
if (__Pyx_IternextUnpackEndCheck(__pyx_t_18(__pyx_t_1), 2) < 0) __PYX_ERR(0,
|
|
5789
|
+
if (__Pyx_IternextUnpackEndCheck(__pyx_t_18(__pyx_t_1), 2) < 0) __PYX_ERR(0, 25, __pyx_L8_error)
|
|
5791
5790
|
__pyx_t_18 = NULL;
|
|
5792
5791
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
5793
5792
|
goto __pyx_L12_unpacking_done;
|
|
@@ -5795,21 +5794,21 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdss_seqd
|
|
|
5795
5794
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
5796
5795
|
__pyx_t_18 = NULL;
|
|
5797
5796
|
if (__Pyx_IterFinish() == 0) __Pyx_RaiseNeedMoreValuesError(index);
|
|
5798
|
-
__PYX_ERR(0,
|
|
5797
|
+
__PYX_ERR(0, 25, __pyx_L8_error)
|
|
5799
5798
|
__pyx_L12_unpacking_done:;
|
|
5800
5799
|
}
|
|
5801
5800
|
__Pyx_XDECREF_SET(__pyx_7genexpr__pyx_v_row, __pyx_t_12);
|
|
5802
5801
|
__pyx_t_12 = 0;
|
|
5803
5802
|
__Pyx_XDECREF_SET(__pyx_7genexpr__pyx_v_boundary, __pyx_t_7);
|
|
5804
5803
|
__pyx_t_7 = 0;
|
|
5805
|
-
__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,
|
|
5806
|
-
__pyx_t_7 = PyNumber_And(__pyx_7genexpr__pyx_v_boundary, __pyx_t_5); if (unlikely(!__pyx_t_7)) __PYX_ERR(0,
|
|
5804
|
+
__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)
|
|
5805
|
+
__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)
|
|
5807
5806
|
__Pyx_GOTREF(__pyx_t_7);
|
|
5808
5807
|
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
|
|
5809
|
-
__pyx_t_5 = __Pyx_PyObject_GetItem(__pyx_7genexpr__pyx_v_row, __pyx_t_7); if (unlikely(!__pyx_t_5)) __PYX_ERR(0,
|
|
5808
|
+
__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)
|
|
5810
5809
|
__Pyx_GOTREF(__pyx_t_5);
|
|
5811
5810
|
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
|
|
5812
|
-
if (unlikely(__Pyx_ListComp_Append(__pyx_t_8, (PyObject*)__pyx_t_5))) __PYX_ERR(0,
|
|
5811
|
+
if (unlikely(__Pyx_ListComp_Append(__pyx_t_8, (PyObject*)__pyx_t_5))) __PYX_ERR(0, 25, __pyx_L8_error)
|
|
5813
5812
|
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
|
|
5814
5813
|
}
|
|
5815
5814
|
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
|
|
@@ -5825,7 +5824,7 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdss_seqd
|
|
|
5825
5824
|
__pyx_v_groups = ((PyObject*)__pyx_t_8);
|
|
5826
5825
|
__pyx_t_8 = 0;
|
|
5827
5826
|
|
|
5828
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":
|
|
5827
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":26
|
|
5829
5828
|
*
|
|
5830
5829
|
* cdef list groups = [row[boundary & (row >= 0)] for row, boundary in zip(ffill, boundaries)]
|
|
5831
5830
|
* cdef int max_groups = max(len(g) for g in groups) # <<<<<<<<<<<<<<
|
|
@@ -5835,7 +5834,7 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdss_seqd
|
|
|
5835
5834
|
__pyx_t_4 = NULL;
|
|
5836
5835
|
__Pyx_INCREF(__pyx_builtin_max);
|
|
5837
5836
|
__pyx_t_5 = __pyx_builtin_max;
|
|
5838
|
-
__pyx_t_7 = __pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdss_6seqdss_genexpr(NULL, __pyx_v_groups); if (unlikely(!__pyx_t_7)) __PYX_ERR(0,
|
|
5837
|
+
__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)
|
|
5839
5838
|
__Pyx_GOTREF(__pyx_t_7);
|
|
5840
5839
|
__pyx_t_6 = 1;
|
|
5841
5840
|
{
|
|
@@ -5844,14 +5843,14 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdss_seqd
|
|
|
5844
5843
|
__Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
|
|
5845
5844
|
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
|
|
5846
5845
|
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
|
|
5847
|
-
if (unlikely(!__pyx_t_8)) __PYX_ERR(0,
|
|
5846
|
+
if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 26, __pyx_L1_error)
|
|
5848
5847
|
__Pyx_GOTREF(__pyx_t_8);
|
|
5849
5848
|
}
|
|
5850
|
-
__pyx_t_9 = __Pyx_PyLong_As_int(__pyx_t_8); if (unlikely((__pyx_t_9 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0,
|
|
5849
|
+
__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)
|
|
5851
5850
|
__Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
|
|
5852
5851
|
__pyx_v_max_groups = __pyx_t_9;
|
|
5853
5852
|
|
|
5854
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":
|
|
5853
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":29
|
|
5855
5854
|
*
|
|
5856
5855
|
* # int32np.nanint32
|
|
5857
5856
|
* cdef cnp.ndarray[int32_t, ndim=2] result = np.full((n, max_groups), -999, dtype=np.int32) # <<<<<<<<<<<<<<
|
|
@@ -5859,26 +5858,26 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdss_seqd
|
|
|
5859
5858
|
* for i in range(n):
|
|
5860
5859
|
*/
|
|
5861
5860
|
__pyx_t_5 = NULL;
|
|
5862
|
-
__Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_np); if (unlikely(!__pyx_t_7)) __PYX_ERR(0,
|
|
5861
|
+
__Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_np); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 29, __pyx_L1_error)
|
|
5863
5862
|
__Pyx_GOTREF(__pyx_t_7);
|
|
5864
|
-
__pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_full); if (unlikely(!__pyx_t_4)) __PYX_ERR(0,
|
|
5863
|
+
__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)
|
|
5865
5864
|
__Pyx_GOTREF(__pyx_t_4);
|
|
5866
5865
|
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
|
|
5867
|
-
__pyx_t_7 = __Pyx_PyLong_From_int(__pyx_v_n); if (unlikely(!__pyx_t_7)) __PYX_ERR(0,
|
|
5866
|
+
__pyx_t_7 = __Pyx_PyLong_From_int(__pyx_v_n); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 29, __pyx_L1_error)
|
|
5868
5867
|
__Pyx_GOTREF(__pyx_t_7);
|
|
5869
|
-
__pyx_t_12 = __Pyx_PyLong_From_int(__pyx_v_max_groups); if (unlikely(!__pyx_t_12)) __PYX_ERR(0,
|
|
5868
|
+
__pyx_t_12 = __Pyx_PyLong_From_int(__pyx_v_max_groups); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 29, __pyx_L1_error)
|
|
5870
5869
|
__Pyx_GOTREF(__pyx_t_12);
|
|
5871
|
-
__pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0,
|
|
5870
|
+
__pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 29, __pyx_L1_error)
|
|
5872
5871
|
__Pyx_GOTREF(__pyx_t_1);
|
|
5873
5872
|
__Pyx_GIVEREF(__pyx_t_7);
|
|
5874
|
-
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_t_7) != (0)) __PYX_ERR(0,
|
|
5873
|
+
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_t_7) != (0)) __PYX_ERR(0, 29, __pyx_L1_error);
|
|
5875
5874
|
__Pyx_GIVEREF(__pyx_t_12);
|
|
5876
|
-
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_t_12) != (0)) __PYX_ERR(0,
|
|
5875
|
+
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_t_12) != (0)) __PYX_ERR(0, 29, __pyx_L1_error);
|
|
5877
5876
|
__pyx_t_7 = 0;
|
|
5878
5877
|
__pyx_t_12 = 0;
|
|
5879
|
-
__Pyx_GetModuleGlobalName(__pyx_t_12, __pyx_mstate_global->__pyx_n_u_np); if (unlikely(!__pyx_t_12)) __PYX_ERR(0,
|
|
5878
|
+
__Pyx_GetModuleGlobalName(__pyx_t_12, __pyx_mstate_global->__pyx_n_u_np); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 29, __pyx_L1_error)
|
|
5880
5879
|
__Pyx_GOTREF(__pyx_t_12);
|
|
5881
|
-
__pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_12, __pyx_mstate_global->__pyx_n_u_int32); if (unlikely(!__pyx_t_7)) __PYX_ERR(0,
|
|
5880
|
+
__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)
|
|
5882
5881
|
__Pyx_GOTREF(__pyx_t_7);
|
|
5883
5882
|
__Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0;
|
|
5884
5883
|
__pyx_t_6 = 1;
|
|
@@ -5895,31 +5894,31 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdss_seqd
|
|
|
5895
5894
|
#endif
|
|
5896
5895
|
{
|
|
5897
5896
|
PyObject *__pyx_callargs[3 + ((CYTHON_VECTORCALL) ? 1 : 0)] = {__pyx_t_5, __pyx_t_1, __pyx_mstate_global->__pyx_int_neg_999};
|
|
5898
|
-
__pyx_t_12 = __Pyx_MakeVectorcallBuilderKwds(1); if (unlikely(!__pyx_t_12)) __PYX_ERR(0,
|
|
5897
|
+
__pyx_t_12 = __Pyx_MakeVectorcallBuilderKwds(1); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 29, __pyx_L1_error)
|
|
5899
5898
|
__Pyx_GOTREF(__pyx_t_12);
|
|
5900
|
-
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,
|
|
5899
|
+
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)
|
|
5901
5900
|
__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);
|
|
5902
5901
|
__Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
|
|
5903
5902
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
5904
5903
|
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
|
|
5905
5904
|
__Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0;
|
|
5906
5905
|
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
|
|
5907
|
-
if (unlikely(!__pyx_t_8)) __PYX_ERR(0,
|
|
5906
|
+
if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 29, __pyx_L1_error)
|
|
5908
5907
|
__Pyx_GOTREF(__pyx_t_8);
|
|
5909
5908
|
}
|
|
5910
|
-
if (!(likely(((__pyx_t_8) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_8, __pyx_mstate_global->__pyx_ptype_5numpy_ndarray))))) __PYX_ERR(0,
|
|
5909
|
+
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)
|
|
5911
5910
|
{
|
|
5912
5911
|
__Pyx_BufFmt_StackElem __pyx_stack[1];
|
|
5913
5912
|
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)) {
|
|
5914
5913
|
__pyx_v_result = ((PyArrayObject *)Py_None); __Pyx_INCREF(Py_None); __pyx_pybuffernd_result.rcbuffer->pybuffer.buf = NULL;
|
|
5915
|
-
__PYX_ERR(0,
|
|
5914
|
+
__PYX_ERR(0, 29, __pyx_L1_error)
|
|
5916
5915
|
} 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];
|
|
5917
5916
|
}
|
|
5918
5917
|
}
|
|
5919
5918
|
__pyx_v_result = ((PyArrayObject *)__pyx_t_8);
|
|
5920
5919
|
__pyx_t_8 = 0;
|
|
5921
5920
|
|
|
5922
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":
|
|
5921
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":31
|
|
5923
5922
|
* cdef cnp.ndarray[int32_t, ndim=2] result = np.full((n, max_groups), -999, dtype=np.int32)
|
|
5924
5923
|
*
|
|
5925
5924
|
* for i in range(n): # <<<<<<<<<<<<<<
|
|
@@ -5931,46 +5930,46 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdss_seqd
|
|
|
5931
5930
|
for (__pyx_t_11 = 0; __pyx_t_11 < __pyx_t_10; __pyx_t_11+=1) {
|
|
5932
5931
|
__pyx_v_i = __pyx_t_11;
|
|
5933
5932
|
|
|
5934
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":
|
|
5933
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":32
|
|
5935
5934
|
*
|
|
5936
5935
|
* for i in range(n):
|
|
5937
5936
|
* g = groups[i] # <<<<<<<<<<<<<<
|
|
5938
5937
|
* result[i, :len(g)] = g
|
|
5939
5938
|
*
|
|
5940
5939
|
*/
|
|
5941
|
-
__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,
|
|
5940
|
+
__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)
|
|
5942
5941
|
__Pyx_GOTREF(__pyx_t_8);
|
|
5943
5942
|
__Pyx_XDECREF_SET(__pyx_v_g, __pyx_t_8);
|
|
5944
5943
|
__pyx_t_8 = 0;
|
|
5945
5944
|
|
|
5946
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":
|
|
5945
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":33
|
|
5947
5946
|
* for i in range(n):
|
|
5948
5947
|
* g = groups[i]
|
|
5949
5948
|
* result[i, :len(g)] = g # <<<<<<<<<<<<<<
|
|
5950
5949
|
*
|
|
5951
5950
|
* return result
|
|
5952
5951
|
*/
|
|
5953
|
-
__pyx_t_8 = __Pyx_PyLong_From_int(__pyx_v_i); if (unlikely(!__pyx_t_8)) __PYX_ERR(0,
|
|
5952
|
+
__pyx_t_8 = __Pyx_PyLong_From_int(__pyx_v_i); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 33, __pyx_L1_error)
|
|
5954
5953
|
__Pyx_GOTREF(__pyx_t_8);
|
|
5955
|
-
__pyx_t_16 = PyObject_Length(__pyx_v_g); if (unlikely(__pyx_t_16 == ((Py_ssize_t)-1))) __PYX_ERR(0,
|
|
5956
|
-
__pyx_t_4 = PyLong_FromSsize_t(__pyx_t_16); if (unlikely(!__pyx_t_4)) __PYX_ERR(0,
|
|
5954
|
+
__pyx_t_16 = PyObject_Length(__pyx_v_g); if (unlikely(__pyx_t_16 == ((Py_ssize_t)-1))) __PYX_ERR(0, 33, __pyx_L1_error)
|
|
5955
|
+
__pyx_t_4 = PyLong_FromSsize_t(__pyx_t_16); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 33, __pyx_L1_error)
|
|
5957
5956
|
__Pyx_GOTREF(__pyx_t_4);
|
|
5958
|
-
__pyx_t_12 = PySlice_New(Py_None, __pyx_t_4, Py_None); if (unlikely(!__pyx_t_12)) __PYX_ERR(0,
|
|
5957
|
+
__pyx_t_12 = PySlice_New(Py_None, __pyx_t_4, Py_None); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 33, __pyx_L1_error)
|
|
5959
5958
|
__Pyx_GOTREF(__pyx_t_12);
|
|
5960
5959
|
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
|
|
5961
|
-
__pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) __PYX_ERR(0,
|
|
5960
|
+
__pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 33, __pyx_L1_error)
|
|
5962
5961
|
__Pyx_GOTREF(__pyx_t_4);
|
|
5963
5962
|
__Pyx_GIVEREF(__pyx_t_8);
|
|
5964
|
-
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_8) != (0)) __PYX_ERR(0,
|
|
5963
|
+
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_8) != (0)) __PYX_ERR(0, 33, __pyx_L1_error);
|
|
5965
5964
|
__Pyx_GIVEREF(__pyx_t_12);
|
|
5966
|
-
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 1, __pyx_t_12) != (0)) __PYX_ERR(0,
|
|
5965
|
+
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 1, __pyx_t_12) != (0)) __PYX_ERR(0, 33, __pyx_L1_error);
|
|
5967
5966
|
__pyx_t_8 = 0;
|
|
5968
5967
|
__pyx_t_12 = 0;
|
|
5969
|
-
if (unlikely((PyObject_SetItem(((PyObject *)__pyx_v_result), __pyx_t_4, __pyx_v_g) < 0))) __PYX_ERR(0,
|
|
5968
|
+
if (unlikely((PyObject_SetItem(((PyObject *)__pyx_v_result), __pyx_t_4, __pyx_v_g) < 0))) __PYX_ERR(0, 33, __pyx_L1_error)
|
|
5970
5969
|
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
|
|
5971
5970
|
}
|
|
5972
5971
|
|
|
5973
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":
|
|
5972
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":35
|
|
5974
5973
|
* result[i, :len(g)] = g
|
|
5975
5974
|
*
|
|
5976
5975
|
* return result # <<<<<<<<<<<<<<
|
|
@@ -5980,7 +5979,7 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdss_seqd
|
|
|
5980
5979
|
__pyx_r = ((PyObject *)__pyx_v_result);
|
|
5981
5980
|
goto __pyx_L0;
|
|
5982
5981
|
|
|
5983
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":
|
|
5982
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":8
|
|
5984
5983
|
* from libc.stdint cimport int32_t
|
|
5985
5984
|
*
|
|
5986
5985
|
* def seqdss(seqdata): # <<<<<<<<<<<<<<
|
|
@@ -6248,15 +6247,15 @@ static int __Pyx_modinit_type_init_code(__pyx_mstatetype *__pyx_mstate) {
|
|
|
6248
6247
|
__Pyx_RefNannySetupContext("__Pyx_modinit_type_init_code", 0);
|
|
6249
6248
|
/*--- Type init code ---*/
|
|
6250
6249
|
#if CYTHON_USE_TYPE_SPECS
|
|
6251
|
-
__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,
|
|
6252
|
-
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,
|
|
6250
|
+
__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)
|
|
6251
|
+
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)
|
|
6253
6252
|
#else
|
|
6254
6253
|
__pyx_mstate->__pyx_ptype_8sequenzo_22dissimilarity_measures_5utils_6seqdss___pyx_scope_struct__genexpr = &__pyx_type_8sequenzo_22dissimilarity_measures_5utils_6seqdss___pyx_scope_struct__genexpr;
|
|
6255
6254
|
#endif
|
|
6256
6255
|
#if !CYTHON_COMPILING_IN_LIMITED_API
|
|
6257
6256
|
#endif
|
|
6258
6257
|
#if !CYTHON_USE_TYPE_SPECS
|
|
6259
|
-
if (__Pyx_PyType_Ready(__pyx_mstate->__pyx_ptype_8sequenzo_22dissimilarity_measures_5utils_6seqdss___pyx_scope_struct__genexpr) < 0) __PYX_ERR(0,
|
|
6258
|
+
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)
|
|
6260
6259
|
#endif
|
|
6261
6260
|
#if !CYTHON_COMPILING_IN_LIMITED_API
|
|
6262
6261
|
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)) {
|
|
@@ -6738,50 +6737,51 @@ __Pyx_RefNannySetupContext("PyInit_seqdss", 0);
|
|
|
6738
6737
|
(void)__Pyx_modinit_function_import_code(__pyx_mstate);
|
|
6739
6738
|
/*--- Execution code ---*/
|
|
6740
6739
|
|
|
6741
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":
|
|
6740
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":2
|
|
6741
|
+
* # cython: np_import_array=True
|
|
6742
6742
|
* import numpy as np # <<<<<<<<<<<<<<
|
|
6743
6743
|
* cimport numpy as cnp
|
|
6744
|
-
*
|
|
6744
|
+
*
|
|
6745
6745
|
*/
|
|
6746
|
-
__pyx_t_2 = __Pyx_ImportDottedModule(__pyx_mstate_global->__pyx_n_u_numpy, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(0,
|
|
6746
|
+
__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)
|
|
6747
6747
|
__Pyx_GOTREF(__pyx_t_2);
|
|
6748
|
-
if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_np, __pyx_t_2) < 0) __PYX_ERR(0,
|
|
6748
|
+
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)
|
|
6749
6749
|
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
|
|
6750
6750
|
|
|
6751
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":
|
|
6752
|
-
* import numpy as np
|
|
6751
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":5
|
|
6753
6752
|
* cimport numpy as cnp
|
|
6753
|
+
*
|
|
6754
6754
|
* from sequenzo.define_sequence_data import SequenceData # <<<<<<<<<<<<<<
|
|
6755
6755
|
* from libc.stdint cimport int32_t
|
|
6756
6756
|
*
|
|
6757
6757
|
*/
|
|
6758
|
-
__pyx_t_2 = __Pyx_PyList_Pack(1, __pyx_mstate_global->__pyx_n_u_SequenceData); if (unlikely(!__pyx_t_2)) __PYX_ERR(0,
|
|
6758
|
+
__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)
|
|
6759
6759
|
__Pyx_GOTREF(__pyx_t_2);
|
|
6760
|
-
__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,
|
|
6760
|
+
__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)
|
|
6761
6761
|
__Pyx_GOTREF(__pyx_t_3);
|
|
6762
6762
|
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
|
|
6763
|
-
__pyx_t_2 = __Pyx_ImportFrom(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_SequenceData); if (unlikely(!__pyx_t_2)) __PYX_ERR(0,
|
|
6763
|
+
__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)
|
|
6764
6764
|
__Pyx_GOTREF(__pyx_t_2);
|
|
6765
|
-
if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_SequenceData, __pyx_t_2) < 0) __PYX_ERR(0,
|
|
6765
|
+
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)
|
|
6766
6766
|
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
|
|
6767
6767
|
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
|
|
6768
6768
|
|
|
6769
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":
|
|
6769
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":8
|
|
6770
6770
|
* from libc.stdint cimport int32_t
|
|
6771
6771
|
*
|
|
6772
6772
|
* def seqdss(seqdata): # <<<<<<<<<<<<<<
|
|
6773
6773
|
* if not isinstance(seqdata, SequenceData):
|
|
6774
6774
|
* raise ValueError("[!] data is NOT a sequence object, see SequenceData to create one.")
|
|
6775
6775
|
*/
|
|
6776
|
-
__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,
|
|
6776
|
+
__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)
|
|
6777
6777
|
__Pyx_GOTREF(__pyx_t_3);
|
|
6778
|
-
if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_seqdss, __pyx_t_3) < 0) __PYX_ERR(0,
|
|
6778
|
+
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)
|
|
6779
6779
|
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
|
|
6780
6780
|
|
|
6781
6781
|
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":1
|
|
6782
|
-
*
|
|
6782
|
+
* # cython: np_import_array=True # <<<<<<<<<<<<<<
|
|
6783
|
+
* import numpy as np
|
|
6783
6784
|
* cimport numpy as cnp
|
|
6784
|
-
* from sequenzo.define_sequence_data import SequenceData
|
|
6785
6785
|
*/
|
|
6786
6786
|
__pyx_t_3 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
6787
6787
|
__Pyx_GOTREF(__pyx_t_3);
|
|
@@ -6922,10 +6922,10 @@ static int __Pyx_InitStrings(__Pyx_StringTabEntry const *t, PyObject **target, c
|
|
|
6922
6922
|
|
|
6923
6923
|
static int __Pyx_InitCachedBuiltins(__pyx_mstatetype *__pyx_mstate) {
|
|
6924
6924
|
CYTHON_UNUSED_VAR(__pyx_mstate);
|
|
6925
|
-
__pyx_builtin_ValueError = __Pyx_GetBuiltinName(__pyx_mstate->__pyx_n_u_ValueError); if (!__pyx_builtin_ValueError) __PYX_ERR(0,
|
|
6926
|
-
__pyx_builtin_range = __Pyx_GetBuiltinName(__pyx_mstate->__pyx_n_u_range); if (!__pyx_builtin_range) __PYX_ERR(0,
|
|
6927
|
-
__pyx_builtin_max = __Pyx_GetBuiltinName(__pyx_mstate->__pyx_n_u_max); if (!__pyx_builtin_max) __PYX_ERR(0,
|
|
6928
|
-
__pyx_builtin_zip = __Pyx_GetBuiltinName(__pyx_mstate->__pyx_n_u_zip); if (!__pyx_builtin_zip) __PYX_ERR(0,
|
|
6925
|
+
__pyx_builtin_ValueError = __Pyx_GetBuiltinName(__pyx_mstate->__pyx_n_u_ValueError); if (!__pyx_builtin_ValueError) __PYX_ERR(0, 10, __pyx_L1_error)
|
|
6926
|
+
__pyx_builtin_range = __Pyx_GetBuiltinName(__pyx_mstate->__pyx_n_u_range); if (!__pyx_builtin_range) __PYX_ERR(0, 19, __pyx_L1_error)
|
|
6927
|
+
__pyx_builtin_max = __Pyx_GetBuiltinName(__pyx_mstate->__pyx_n_u_max); if (!__pyx_builtin_max) __PYX_ERR(0, 26, __pyx_L1_error)
|
|
6928
|
+
__pyx_builtin_zip = __Pyx_GetBuiltinName(__pyx_mstate->__pyx_n_u_zip); if (!__pyx_builtin_zip) __PYX_ERR(0, 25, __pyx_L1_error)
|
|
6929
6929
|
__pyx_builtin_ImportError = __Pyx_GetBuiltinName(__pyx_mstate->__pyx_n_u_ImportError); if (!__pyx_builtin_ImportError) __PYX_ERR(1, 1026, __pyx_L1_error)
|
|
6930
6930
|
return 0;
|
|
6931
6931
|
__pyx_L1_error:;
|
|
@@ -6938,34 +6938,34 @@ static int __Pyx_InitCachedConstants(__pyx_mstatetype *__pyx_mstate) {
|
|
|
6938
6938
|
CYTHON_UNUSED_VAR(__pyx_mstate);
|
|
6939
6939
|
__Pyx_RefNannySetupContext("__Pyx_InitCachedConstants", 0);
|
|
6940
6940
|
|
|
6941
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":
|
|
6941
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":20
|
|
6942
6942
|
*
|
|
6943
6943
|
* for j in range(1, m):
|
|
6944
6944
|
* mask = (ffill[:, j] < 0) # <<<<<<<<<<<<<<
|
|
6945
6945
|
* ffill[mask, j] = ffill[mask, j - 1]
|
|
6946
6946
|
*
|
|
6947
6947
|
*/
|
|
6948
|
-
__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,
|
|
6948
|
+
__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)
|
|
6949
6949
|
__Pyx_GOTREF(__pyx_mstate_global->__pyx_slice[0]);
|
|
6950
6950
|
__Pyx_GIVEREF(__pyx_mstate_global->__pyx_slice[0]);
|
|
6951
6951
|
|
|
6952
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":
|
|
6952
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdss.pyx":23
|
|
6953
6953
|
* ffill[mask, j] = ffill[mask, j - 1]
|
|
6954
6954
|
*
|
|
6955
6955
|
* boundaries = np.concatenate([boundaries, ffill[:, 1:] != ffill[:, :-1]], axis=1) # <<<<<<<<<<<<<<
|
|
6956
6956
|
*
|
|
6957
6957
|
* cdef list groups = [row[boundary & (row >= 0)] for row, boundary in zip(ffill, boundaries)]
|
|
6958
6958
|
*/
|
|
6959
|
-
__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,
|
|
6959
|
+
__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)
|
|
6960
6960
|
__Pyx_GOTREF(__pyx_mstate_global->__pyx_slice[1]);
|
|
6961
6961
|
__Pyx_GIVEREF(__pyx_mstate_global->__pyx_slice[1]);
|
|
6962
|
-
__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,
|
|
6962
|
+
__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)
|
|
6963
6963
|
__Pyx_GOTREF(__pyx_mstate_global->__pyx_tuple[0]);
|
|
6964
6964
|
__Pyx_GIVEREF(__pyx_mstate_global->__pyx_tuple[0]);
|
|
6965
|
-
__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,
|
|
6965
|
+
__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)
|
|
6966
6966
|
__Pyx_GOTREF(__pyx_mstate_global->__pyx_slice[2]);
|
|
6967
6967
|
__Pyx_GIVEREF(__pyx_mstate_global->__pyx_slice[2]);
|
|
6968
|
-
__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,
|
|
6968
|
+
__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)
|
|
6969
6969
|
__Pyx_GOTREF(__pyx_mstate_global->__pyx_tuple[1]);
|
|
6970
6970
|
__Pyx_GIVEREF(__pyx_mstate_global->__pyx_tuple[1]);
|
|
6971
6971
|
__Pyx_RefNannyFinishContext();
|
|
@@ -7015,12 +7015,12 @@ static int __Pyx_CreateCodeObjects(__pyx_mstatetype *__pyx_mstate) {
|
|
|
7015
7015
|
PyObject* tuple_dedup_map = PyDict_New();
|
|
7016
7016
|
if (unlikely(!tuple_dedup_map)) return -1;
|
|
7017
7017
|
{
|
|
7018
|
-
const __Pyx_PyCode_New_function_description descr = {0, 0, 0, 1, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS|CO_GENERATOR),
|
|
7018
|
+
const __Pyx_PyCode_New_function_description descr = {0, 0, 0, 1, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS|CO_GENERATOR), 26, 2};
|
|
7019
7019
|
PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_g};
|
|
7020
7020
|
__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;
|
|
7021
7021
|
}
|
|
7022
7022
|
{
|
|
7023
|
-
const __Pyx_PyCode_New_function_description descr = {1, 0, 0, 17, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS),
|
|
7023
|
+
const __Pyx_PyCode_New_function_description descr = {1, 0, 0, 17, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 8, 275};
|
|
7024
7024
|
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};
|
|
7025
7025
|
__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;
|
|
7026
7026
|
}
|