sciv 0.0.103__tar.gz → 0.0.104__tar.gz
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.
- {sciv-0.0.103 → sciv-0.0.104}/PKG-INFO +1 -1
- {sciv-0.0.103 → sciv-0.0.104}/pyproject.toml +1 -1
- {sciv-0.0.103 → sciv-0.0.104}/src/sciv/util/_core_.py +1 -6
- {sciv-0.0.103 → sciv-0.0.104}/.gitignore +0 -0
- {sciv-0.0.103 → sciv-0.0.104}/LICENSE +0 -0
- {sciv-0.0.103 → sciv-0.0.104}/MANIFEST.in +0 -0
- {sciv-0.0.103 → sciv-0.0.104}/README.en.md +0 -0
- {sciv-0.0.103 → sciv-0.0.104}/README.md +0 -0
- {sciv-0.0.103 → sciv-0.0.104}/requirements.txt +0 -0
- {sciv-0.0.103 → sciv-0.0.104}/src/sciv/__init__.py +0 -0
- {sciv-0.0.103 → sciv-0.0.104}/src/sciv/file/__init__.py +0 -0
- {sciv-0.0.103 → sciv-0.0.104}/src/sciv/file/_read_.py +0 -0
- {sciv-0.0.103 → sciv-0.0.104}/src/sciv/file/_write_.py +0 -0
- {sciv-0.0.103 → sciv-0.0.104}/src/sciv/model/__init__.py +0 -0
- {sciv-0.0.103 → sciv-0.0.104}/src/sciv/model/_core_.py +0 -0
- {sciv-0.0.103 → sciv-0.0.104}/src/sciv/plot/__init__.py +0 -0
- {sciv-0.0.103 → sciv-0.0.104}/src/sciv/plot/_bar_.py +0 -0
- {sciv-0.0.103 → sciv-0.0.104}/src/sciv/plot/_barcode_.py +0 -0
- {sciv-0.0.103 → sciv-0.0.104}/src/sciv/plot/_box_.py +0 -0
- {sciv-0.0.103 → sciv-0.0.104}/src/sciv/plot/_bubble_.py +0 -0
- {sciv-0.0.103 → sciv-0.0.104}/src/sciv/plot/_core_.py +0 -0
- {sciv-0.0.103 → sciv-0.0.104}/src/sciv/plot/_graph_.py +0 -0
- {sciv-0.0.103 → sciv-0.0.104}/src/sciv/plot/_heat_map_.py +0 -0
- {sciv-0.0.103 → sciv-0.0.104}/src/sciv/plot/_kde_.py +0 -0
- {sciv-0.0.103 → sciv-0.0.104}/src/sciv/plot/_line_.py +0 -0
- {sciv-0.0.103 → sciv-0.0.104}/src/sciv/plot/_pie_.py +0 -0
- {sciv-0.0.103 → sciv-0.0.104}/src/sciv/plot/_radar_.py +0 -0
- {sciv-0.0.103 → sciv-0.0.104}/src/sciv/plot/_scatter_.py +0 -0
- {sciv-0.0.103 → sciv-0.0.104}/src/sciv/plot/_venn_.py +0 -0
- {sciv-0.0.103 → sciv-0.0.104}/src/sciv/plot/_violin_.py +0 -0
- {sciv-0.0.103 → sciv-0.0.104}/src/sciv/preprocessing/__init__.py +0 -0
- {sciv-0.0.103 → sciv-0.0.104}/src/sciv/preprocessing/_anndata_.py +0 -0
- {sciv-0.0.103 → sciv-0.0.104}/src/sciv/preprocessing/_gencode_.py +0 -0
- {sciv-0.0.103 → sciv-0.0.104}/src/sciv/preprocessing/_gsea_.py +0 -0
- {sciv-0.0.103 → sciv-0.0.104}/src/sciv/preprocessing/_scanpy_.py +0 -0
- {sciv-0.0.103 → sciv-0.0.104}/src/sciv/preprocessing/_scvi_.py +0 -0
- {sciv-0.0.103 → sciv-0.0.104}/src/sciv/preprocessing/_snapatac_.py +0 -0
- {sciv-0.0.103 → sciv-0.0.104}/src/sciv/tool/__init__.py +0 -0
- {sciv-0.0.103 → sciv-0.0.104}/src/sciv/tool/_algorithm_.py +0 -0
- {sciv-0.0.103 → sciv-0.0.104}/src/sciv/tool/_matrix_.py +0 -0
- {sciv-0.0.103 → sciv-0.0.104}/src/sciv/tool/_random_walk_.py +0 -0
- {sciv-0.0.103 → sciv-0.0.104}/src/sciv/util/__init__.py +0 -0
- {sciv-0.0.103 → sciv-0.0.104}/src/sciv/util/_constant_.py +0 -0
- {sciv-0.0.103 → sciv-0.0.104}/tests/scivTest/__init__.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: sciv
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.104
|
|
4
4
|
Summary: Unveiling the pivotal cell types involved in variant function regulation at a single-cell resolution
|
|
5
5
|
Project-URL: github, https://github.com/YuZhengM/sciv
|
|
6
6
|
Author-email: Zheng-Min Yu <yuzmbio@163.com>
|
|
@@ -39,14 +39,12 @@ def log(name: str = None) -> Logger:
|
|
|
39
39
|
return Logger(name, log_path=os.path.join(ul.log_file_path, name), is_form_file=ul.is_form_log_file)
|
|
40
40
|
|
|
41
41
|
|
|
42
|
-
def track_with_memory(
|
|
42
|
+
def track_with_memory(interval: float = 60) -> Callable:
|
|
43
43
|
"""
|
|
44
44
|
Decorator: Records memory usage at fixed intervals during function execution and returns the result, elapsed time, and memory list.
|
|
45
45
|
|
|
46
46
|
Parameters
|
|
47
47
|
----------
|
|
48
|
-
is_monitor : bool, optional
|
|
49
|
-
Whether to enable memory monitoring, default is False.
|
|
50
48
|
interval : float, optional
|
|
51
49
|
Sampling interval (seconds), default is 60 seconds.
|
|
52
50
|
|
|
@@ -63,9 +61,6 @@ def track_with_memory(is_monitor: bool = False , interval: float = 60) -> Callab
|
|
|
63
61
|
@wraps(func)
|
|
64
62
|
def wrapper(*args, **kwargs) -> Union[Any, dict]:
|
|
65
63
|
|
|
66
|
-
if not is_monitor:
|
|
67
|
-
return func(*args, **kwargs)
|
|
68
|
-
|
|
69
64
|
process = psutil.Process(os.getpid())
|
|
70
65
|
|
|
71
66
|
stop_monitor = False
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|