batplot 1.8.7__tar.gz → 1.8.8__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.
Files changed (83) hide show
  1. {batplot-1.8.7/batplot.egg-info → batplot-1.8.8}/PKG-INFO +1 -1
  2. {batplot-1.8.7 → batplot-1.8.8}/batplot/__init__.py +1 -1
  3. {batplot-1.8.7 → batplot-1.8.8}/batplot/batplot.py +11 -1
  4. {batplot-1.8.7 → batplot-1.8.8/batplot.egg-info}/PKG-INFO +1 -1
  5. {batplot-1.8.7 → batplot-1.8.8}/pyproject.toml +1 -1
  6. {batplot-1.8.7 → batplot-1.8.8}/LICENSE +0 -0
  7. {batplot-1.8.7 → batplot-1.8.8}/MANIFEST.in +0 -0
  8. {batplot-1.8.7 → batplot-1.8.8}/README.md +0 -0
  9. {batplot-1.8.7 → batplot-1.8.8}/USER_MANUAL.md +0 -0
  10. {batplot-1.8.7 → batplot-1.8.8}/batplot/args.py +0 -0
  11. {batplot-1.8.7 → batplot-1.8.8}/batplot/batch.py +0 -0
  12. {batplot-1.8.7 → batplot-1.8.8}/batplot/cif.py +0 -0
  13. {batplot-1.8.7 → batplot-1.8.8}/batplot/cli.py +0 -0
  14. {batplot-1.8.7 → batplot-1.8.8}/batplot/color_utils.py +0 -0
  15. {batplot-1.8.7 → batplot-1.8.8}/batplot/config.py +0 -0
  16. {batplot-1.8.7 → batplot-1.8.8}/batplot/converters.py +0 -0
  17. {batplot-1.8.7 → batplot-1.8.8}/batplot/cpc_interactive.py +0 -0
  18. {batplot-1.8.7 → batplot-1.8.8}/batplot/data/USER_MANUAL.md +0 -0
  19. {batplot-1.8.7 → batplot-1.8.8}/batplot/electrochem_interactive.py +0 -0
  20. {batplot-1.8.7 → batplot-1.8.8}/batplot/interactive.py +0 -0
  21. {batplot-1.8.7 → batplot-1.8.8}/batplot/manual.py +0 -0
  22. {batplot-1.8.7 → batplot-1.8.8}/batplot/modes.py +0 -0
  23. {batplot-1.8.7 → batplot-1.8.8}/batplot/operando.py +0 -0
  24. {batplot-1.8.7 → batplot-1.8.8}/batplot/operando_ec_interactive.py +0 -0
  25. {batplot-1.8.7 → batplot-1.8.8}/batplot/plotting.py +0 -0
  26. {batplot-1.8.7 → batplot-1.8.8}/batplot/readers.py +0 -0
  27. {batplot-1.8.7 → batplot-1.8.8}/batplot/session.py +0 -0
  28. {batplot-1.8.7 → batplot-1.8.8}/batplot/style.py +0 -0
  29. {batplot-1.8.7 → batplot-1.8.8}/batplot/ui.py +0 -0
  30. {batplot-1.8.7 → batplot-1.8.8}/batplot/utils.py +0 -0
  31. {batplot-1.8.7 → batplot-1.8.8}/batplot/version_check.py +0 -0
  32. {batplot-1.8.7 → batplot-1.8.8}/batplot.egg-info/SOURCES.txt +0 -0
  33. {batplot-1.8.7 → batplot-1.8.8}/batplot.egg-info/dependency_links.txt +0 -0
  34. {batplot-1.8.7 → batplot-1.8.8}/batplot.egg-info/entry_points.txt +0 -0
  35. {batplot-1.8.7 → batplot-1.8.8}/batplot.egg-info/requires.txt +0 -0
  36. {batplot-1.8.7 → batplot-1.8.8}/batplot.egg-info/top_level.txt +0 -0
  37. {batplot-1.8.7 → batplot-1.8.8}/batplot_backup_20251121_223043/__init__.py +0 -0
  38. {batplot-1.8.7 → batplot-1.8.8}/batplot_backup_20251121_223043/args.py +0 -0
  39. {batplot-1.8.7 → batplot-1.8.8}/batplot_backup_20251121_223043/batch.py +0 -0
  40. {batplot-1.8.7 → batplot-1.8.8}/batplot_backup_20251121_223043/batplot.py +0 -0
  41. {batplot-1.8.7 → batplot-1.8.8}/batplot_backup_20251121_223043/cif.py +0 -0
  42. {batplot-1.8.7 → batplot-1.8.8}/batplot_backup_20251121_223043/cli.py +0 -0
  43. {batplot-1.8.7 → batplot-1.8.8}/batplot_backup_20251121_223043/color_utils.py +0 -0
  44. {batplot-1.8.7 → batplot-1.8.8}/batplot_backup_20251121_223043/config.py +0 -0
  45. {batplot-1.8.7 → batplot-1.8.8}/batplot_backup_20251121_223043/converters.py +0 -0
  46. {batplot-1.8.7 → batplot-1.8.8}/batplot_backup_20251121_223043/cpc_interactive.py +0 -0
  47. {batplot-1.8.7 → batplot-1.8.8}/batplot_backup_20251121_223043/electrochem_interactive.py +0 -0
  48. {batplot-1.8.7 → batplot-1.8.8}/batplot_backup_20251121_223043/interactive.py +0 -0
  49. {batplot-1.8.7 → batplot-1.8.8}/batplot_backup_20251121_223043/modes.py +0 -0
  50. {batplot-1.8.7 → batplot-1.8.8}/batplot_backup_20251121_223043/operando.py +0 -0
  51. {batplot-1.8.7 → batplot-1.8.8}/batplot_backup_20251121_223043/operando_ec_interactive.py +0 -0
  52. {batplot-1.8.7 → batplot-1.8.8}/batplot_backup_20251121_223043/plotting.py +0 -0
  53. {batplot-1.8.7 → batplot-1.8.8}/batplot_backup_20251121_223043/readers.py +0 -0
  54. {batplot-1.8.7 → batplot-1.8.8}/batplot_backup_20251121_223043/session.py +0 -0
  55. {batplot-1.8.7 → batplot-1.8.8}/batplot_backup_20251121_223043/style.py +0 -0
  56. {batplot-1.8.7 → batplot-1.8.8}/batplot_backup_20251121_223043/ui.py +0 -0
  57. {batplot-1.8.7 → batplot-1.8.8}/batplot_backup_20251121_223043/utils.py +0 -0
  58. {batplot-1.8.7 → batplot-1.8.8}/batplot_backup_20251121_223043/version_check.py +0 -0
  59. {batplot-1.8.7 → batplot-1.8.8}/batplot_backup_20251221_101150/__init__.py +0 -0
  60. {batplot-1.8.7 → batplot-1.8.8}/batplot_backup_20251221_101150/args.py +0 -0
  61. {batplot-1.8.7 → batplot-1.8.8}/batplot_backup_20251221_101150/batch.py +0 -0
  62. {batplot-1.8.7 → batplot-1.8.8}/batplot_backup_20251221_101150/batplot.py +0 -0
  63. {batplot-1.8.7 → batplot-1.8.8}/batplot_backup_20251221_101150/cif.py +0 -0
  64. {batplot-1.8.7 → batplot-1.8.8}/batplot_backup_20251221_101150/cli.py +0 -0
  65. {batplot-1.8.7 → batplot-1.8.8}/batplot_backup_20251221_101150/color_utils.py +0 -0
  66. {batplot-1.8.7 → batplot-1.8.8}/batplot_backup_20251221_101150/config.py +0 -0
  67. {batplot-1.8.7 → batplot-1.8.8}/batplot_backup_20251221_101150/converters.py +0 -0
  68. {batplot-1.8.7 → batplot-1.8.8}/batplot_backup_20251221_101150/cpc_interactive.py +0 -0
  69. {batplot-1.8.7 → batplot-1.8.8}/batplot_backup_20251221_101150/electrochem_interactive.py +0 -0
  70. {batplot-1.8.7 → batplot-1.8.8}/batplot_backup_20251221_101150/interactive.py +0 -0
  71. {batplot-1.8.7 → batplot-1.8.8}/batplot_backup_20251221_101150/manual.py +0 -0
  72. {batplot-1.8.7 → batplot-1.8.8}/batplot_backup_20251221_101150/modes.py +0 -0
  73. {batplot-1.8.7 → batplot-1.8.8}/batplot_backup_20251221_101150/operando.py +0 -0
  74. {batplot-1.8.7 → batplot-1.8.8}/batplot_backup_20251221_101150/operando_ec_interactive.py +0 -0
  75. {batplot-1.8.7 → batplot-1.8.8}/batplot_backup_20251221_101150/plotting.py +0 -0
  76. {batplot-1.8.7 → batplot-1.8.8}/batplot_backup_20251221_101150/readers.py +0 -0
  77. {batplot-1.8.7 → batplot-1.8.8}/batplot_backup_20251221_101150/session.py +0 -0
  78. {batplot-1.8.7 → batplot-1.8.8}/batplot_backup_20251221_101150/style.py +0 -0
  79. {batplot-1.8.7 → batplot-1.8.8}/batplot_backup_20251221_101150/ui.py +0 -0
  80. {batplot-1.8.7 → batplot-1.8.8}/batplot_backup_20251221_101150/utils.py +0 -0
  81. {batplot-1.8.7 → batplot-1.8.8}/batplot_backup_20251221_101150/version_check.py +0 -0
  82. {batplot-1.8.7 → batplot-1.8.8}/setup.cfg +0 -0
  83. {batplot-1.8.7 → batplot-1.8.8}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: batplot
3
- Version: 1.8.7
3
+ Version: 1.8.8
4
4
  Summary: Interactive plotting tool for material science (1D plot) and electrochemistry (GC, CV, dQ/dV, CPC, operando) with batch processing
5
5
  Author-email: Tian Dai <tianda@uio.no>
6
6
  License: MIT License
@@ -1,5 +1,5 @@
1
1
  """batplot: Interactive plotting for battery data visualization."""
2
2
 
3
- __version__ = "1.8.7"
3
+ __version__ = "1.8.8"
4
4
 
5
5
  __all__ = ["__version__"]
@@ -2763,7 +2763,17 @@ def batplot_main() -> int:
2763
2763
  any_cif = any(f.lower().endswith(".cif") for f in args.files)
2764
2764
  non_cif_count = sum(0 if f.lower().endswith('.cif') else 1 for f in args.files)
2765
2765
  cif_only = any_cif and non_cif_count == 0
2766
- any_lambda = any(":" in f for f in args.files) or args.wl is not None
2766
+ # Check for wavelength parameters (file:wl), but exclude Windows drive letters (C:\...)
2767
+ def has_wavelength_param(f):
2768
+ if ":" not in f:
2769
+ return False
2770
+ # Check if it's a Windows path (single letter followed by :\ or :/)
2771
+ if len(f) >= 2 and f[1] == ':' and len(f[0]) == 1 and f[0].isalpha():
2772
+ # This is a Windows drive letter, check after the drive path
2773
+ # Look for additional colons beyond the drive letter
2774
+ return ":" in f[2:]
2775
+ return True
2776
+ any_lambda = any(has_wavelength_param(f) for f in args.files) or args.wl is not None
2767
2777
 
2768
2778
  # Incompatibilities (no mixing of fundamentally different axis domains)
2769
2779
  if sum(bool(x) for x in (any_gr, any_nor, any_chik, any_chir, (any_qye or any_lambda or any_cif))) > 1:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: batplot
3
- Version: 1.8.7
3
+ Version: 1.8.8
4
4
  Summary: Interactive plotting tool for material science (1D plot) and electrochemistry (GC, CV, dQ/dV, CPC, operando) with batch processing
5
5
  Author-email: Tian Dai <tianda@uio.no>
6
6
  License: MIT License
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "batplot"
7
- version = "1.8.7"
7
+ version = "1.8.8"
8
8
  description = "Interactive plotting tool for material science (1D plot) and electrochemistry (GC, CV, dQ/dV, CPC, operando) with batch processing"
9
9
  authors = [
10
10
  { name = "Tian Dai", email = "tianda@uio.no" }
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