TSVZ 3.35__tar.gz → 3.36__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: TSVZ
3
- Version: 3.35
3
+ Version: 3.36
4
4
  Summary: An simple in memory wrapper around a TSV file to function as a database
5
5
  Home-page: https://github.com/yufei-pan/TSVZ
6
6
  Author: Yufei Pan
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: TSVZ
3
- Version: 3.35
3
+ Version: 3.36
4
4
  Summary: An simple in memory wrapper around a TSV file to function as a database
5
5
  Home-page: https://github.com/yufei-pan/TSVZ
6
6
  Author: Yufei Pan
@@ -26,10 +26,10 @@ if os.name == 'nt':
26
26
  elif os.name == 'posix':
27
27
  import fcntl
28
28
 
29
- version = '3.35'
29
+ version = '3.36'
30
30
  __version__ = version
31
31
  author = 'pan@zopyr.us'
32
- COMMIT_DATE = '2025-11-13'
32
+ COMMIT_DATE = '2026-02-02'
33
33
 
34
34
  DEFAULT_DELIMITER = '\t'
35
35
  DEFAULTS_INDICATOR_KEY = '#_defaults_#'
@@ -545,8 +545,9 @@ def read_last_valid_line(fileName, taskDic, correctColumnNum, verbose=False, tee
545
545
  )
546
546
  # If the line is valid, return it
547
547
  if lineCache:
548
- if storeOffset and any(lineCache):
549
- return lineCache
548
+ if storeOffset :
549
+ return file_size - processedSize + 1
550
+ return lineCache
550
551
 
551
552
  # Keep the last (possibly incomplete) line in buffer for the next read
552
553
  buffer = lines[0]
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes