scilens 0.3.11__py3-none-any.whl → 0.3.13__py3-none-any.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.
- scilens/components/compare_folders.py +2 -2
- {scilens-0.3.11.dist-info → scilens-0.3.13.dist-info}/METADATA +1 -1
- {scilens-0.3.11.dist-info → scilens-0.3.13.dist-info}/RECORD +5 -5
- {scilens-0.3.11.dist-info → scilens-0.3.13.dist-info}/WHEEL +0 -0
- {scilens-0.3.11.dist-info → scilens-0.3.13.dist-info}/entry_points.txt +0 -0
|
@@ -7,7 +7,7 @@ import logging,os
|
|
|
7
7
|
from scilens.run.task_context import TaskContext
|
|
8
8
|
from scilens.components.compare_2_files import Compare2Files
|
|
9
9
|
def list_dir(path,filename_match_ignore,recursive,exclude_filepaths=_C):
|
|
10
|
-
H=exclude_filepaths;G=filename_match_ignore;F='rel_path';E='filename_clean';A=path
|
|
10
|
+
H=exclude_filepaths;G=filename_match_ignore;F='rel_path';E='filename_clean';A=path;A=os.path.normpath(A)
|
|
11
11
|
if recursive:
|
|
12
12
|
B=[]
|
|
13
13
|
for(C,K,J)in os.walk(A):
|
|
@@ -16,7 +16,7 @@ def list_dir(path,filename_match_ignore,recursive,exclude_filepaths=_C):
|
|
|
16
16
|
else:B={B.replace(str(G),''):B for B in os.listdir(A)if os.path.isfile(os.path.join(A,B))};D={B:{_A:os.path.join(A,C),E:B,F:''}for(B,C)in B.items()}
|
|
17
17
|
return{B:A for(B,A)in D.items()if A[_A]not in H}if H else D
|
|
18
18
|
class CompareFolders:
|
|
19
|
-
def __init__(A,context):B=context;A.context=B;C=B.config.compare.sources;A.cfg=C;A.
|
|
19
|
+
def __init__(A,context):B=context;A.context=B;C=B.config.compare.sources;A.cfg=C;A.test_base=os.path.join(B.working_dir,C.test_folder_relative_path);A.ref_base=os.path.join(B.working_dir,C.reference_folder_relative_path);A.test=A.test_base;A.ref=A.ref_base
|
|
20
20
|
def compute_list_filenames(A):
|
|
21
21
|
N='reference';I='filename_match_ignore';C='dict_files';logging.info(f"Comparing folders content: test vs reference");logging.debug(f"Comparing folders content: {A.test} vs {A.ref}")
|
|
22
22
|
if A.test==A.ref:logging.warning(f"Test and reference folders are the same: {A.test}. No comparison will be done.");return[]
|
|
@@ -11,7 +11,7 @@ scilens/components/analyse_folder.py,sha256=yqc-dscKaHLZJCYeXGak2v0c3F2aeX0E11AF
|
|
|
11
11
|
scilens/components/compare_2_files.py,sha256=jbZNLbRj3x8TxUADM5QC2u_TGl4I7u5OdaEMh-gMBUk,1713
|
|
12
12
|
scilens/components/compare_errors.py,sha256=vGb4DWP89HMIeBm0dZU2nt-ksppAs_37xtCHaPd0w5Y,1640
|
|
13
13
|
scilens/components/compare_floats.py,sha256=yYJZ_QpAZUhP1uwNtGshXQLIzKtki9ifCN3hd9AFj2U,5916
|
|
14
|
-
scilens/components/compare_folders.py,sha256=
|
|
14
|
+
scilens/components/compare_folders.py,sha256=s7cgo2JhZi8F7tt3lGbPhkaO2726Lz3c4LYGP2HbWtA,2773
|
|
15
15
|
scilens/components/compare_models.py,sha256=SCPd747h_nd4ewZsqLB6CFr27v6q99NELJb-gpkdj0o,918
|
|
16
16
|
scilens/components/executor.py,sha256=PLeKolzPd4wPX8e6DdfOb0uHGky3DxTcKN9QtB6oe3Q,3712
|
|
17
17
|
scilens/components/file_reader.py,sha256=7SbKCqb4Co_pqAKX3wweYhqAcVkU7BDlT903sLd76Kc,1407
|
|
@@ -105,7 +105,7 @@ scilens/utils/template.py,sha256=9dlXX3nmfzDRUwzPJOkoxk15UXivZ2SW-McdCwokFa4,443
|
|
|
105
105
|
scilens/utils/time_tracker.py,sha256=DdVBoMpVLXrX0qZZXyLm4g38EwDVLlRcBqcpNex1mYY,545
|
|
106
106
|
scilens/utils/vectors.py,sha256=4N2BZSC5n3HgZqPujDGF5NdjVmSL1rOHb_qw4OoABQY,103
|
|
107
107
|
scilens/utils/web.py,sha256=MAFWpIFOKz7QhqDoFh-Qwstvc76KpcxstSgHFT8FOL4,901
|
|
108
|
-
scilens-0.3.
|
|
109
|
-
scilens-0.3.
|
|
110
|
-
scilens-0.3.
|
|
111
|
-
scilens-0.3.
|
|
108
|
+
scilens-0.3.13.dist-info/METADATA,sha256=U2VI8vou4zNMseQ0f53-VOO13m5NL4vsJwzqJ_oUEaA,1368
|
|
109
|
+
scilens-0.3.13.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
|
110
|
+
scilens-0.3.13.dist-info/entry_points.txt,sha256=DaKGgxUEUv34GJAoXtta6ecL37ercejep9sCSSRQK2s,48
|
|
111
|
+
scilens-0.3.13.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|