ChaterJee 0.5.4__tar.gz → 0.5.5__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.
- {chaterjee-0.5.4 → chaterjee-0.5.5}/ChaterJee/ChaterJee.py +4 -5
- {chaterjee-0.5.4 → chaterjee-0.5.5}/ChaterJee.egg-info/PKG-INFO +1 -1
- {chaterjee-0.5.4 → chaterjee-0.5.5}/PKG-INFO +1 -1
- {chaterjee-0.5.4 → chaterjee-0.5.5}/setup.py +1 -1
- {chaterjee-0.5.4 → chaterjee-0.5.5}/ChaterJee/__init__.py +0 -0
- {chaterjee-0.5.4 → chaterjee-0.5.5}/ChaterJee.egg-info/SOURCES.txt +0 -0
- {chaterjee-0.5.4 → chaterjee-0.5.5}/ChaterJee.egg-info/dependency_links.txt +0 -0
- {chaterjee-0.5.4 → chaterjee-0.5.5}/ChaterJee.egg-info/requires.txt +0 -0
- {chaterjee-0.5.4 → chaterjee-0.5.5}/ChaterJee.egg-info/top_level.txt +0 -0
- {chaterjee-0.5.4 → chaterjee-0.5.5}/README.md +0 -0
- {chaterjee-0.5.4 → chaterjee-0.5.5}/setup.cfg +0 -0
@@ -440,7 +440,7 @@ class NoteLogs:
|
|
440
440
|
self.logIMAGE = None
|
441
441
|
self.logDICT = None
|
442
442
|
|
443
|
-
def write(self, jobNAME: str, logDIR: str = None, logSTRING: str = None, logFILE: str = 'log_file.out', logIMAGE: str = 'log_file.png'
|
443
|
+
def write(self, jobNAME: str, logDIR: str = None, logSTRING: str = None, logFILE: str = 'log_file.out', logIMAGE: str = 'log_file.png'):
|
444
444
|
if logDIR is None:
|
445
445
|
pwd = Path.cwd()
|
446
446
|
_logDIR = pwd / jobNAME
|
@@ -461,10 +461,9 @@ class NoteLogs:
|
|
461
461
|
self.logDIR = logDIR
|
462
462
|
self.logFILE = logFILE
|
463
463
|
self.logIMAGE = logIMAGE
|
464
|
-
self.logDICT = logDICT
|
465
464
|
self.save_job_JSON()
|
466
465
|
|
467
|
-
def save_job_JSON(self):
|
466
|
+
def save_job_JSON(self, logDICT: str = None):
|
468
467
|
_data = self.home / ".data"
|
469
468
|
_data.mkdir(exist_ok=True)
|
470
469
|
jobs_file = _data / "JOB_status.json"
|
@@ -484,8 +483,8 @@ class NoteLogs:
|
|
484
483
|
jobD["logFILE"] = self.logFILE
|
485
484
|
if self.logIMAGE is not None:
|
486
485
|
jobD["logIMAGE"] = self.logIMAGE
|
487
|
-
if
|
488
|
-
jobD["logDICT"] =
|
486
|
+
if logDICT is not None:
|
487
|
+
jobD["logDICT"] = logDICT
|
489
488
|
if len(jobD):
|
490
489
|
jobs[self.jobNAME] = jobD
|
491
490
|
with open(jobs_file, 'w') as ffw:
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|