batplot 1.7.20__tar.gz → 1.7.21__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.

Potentially problematic release.


This version of batplot might be problematic. Click here for more details.

Files changed (60) hide show
  1. {batplot-1.7.20/batplot.egg-info → batplot-1.7.21}/PKG-INFO +1 -1
  2. {batplot-1.7.20 → batplot-1.7.21}/batplot/__init__.py +1 -1
  3. {batplot-1.7.20 → batplot-1.7.21}/batplot/electrochem_interactive.py +8 -4
  4. {batplot-1.7.20 → batplot-1.7.21/batplot.egg-info}/PKG-INFO +1 -1
  5. {batplot-1.7.20 → batplot-1.7.21}/pyproject.toml +1 -1
  6. {batplot-1.7.20 → batplot-1.7.21}/LICENSE +0 -0
  7. {batplot-1.7.20 → batplot-1.7.21}/MANIFEST.in +0 -0
  8. {batplot-1.7.20 → batplot-1.7.21}/README.md +0 -0
  9. {batplot-1.7.20 → batplot-1.7.21}/USER_MANUAL.md +0 -0
  10. {batplot-1.7.20 → batplot-1.7.21}/batplot/args.py +0 -0
  11. {batplot-1.7.20 → batplot-1.7.21}/batplot/batch.py +0 -0
  12. {batplot-1.7.20 → batplot-1.7.21}/batplot/batplot.py +0 -0
  13. {batplot-1.7.20 → batplot-1.7.21}/batplot/cif.py +0 -0
  14. {batplot-1.7.20 → batplot-1.7.21}/batplot/cli.py +0 -0
  15. {batplot-1.7.20 → batplot-1.7.21}/batplot/color_utils.py +0 -0
  16. {batplot-1.7.20 → batplot-1.7.21}/batplot/config.py +0 -0
  17. {batplot-1.7.20 → batplot-1.7.21}/batplot/converters.py +0 -0
  18. {batplot-1.7.20 → batplot-1.7.21}/batplot/cpc_interactive.py +0 -0
  19. {batplot-1.7.20 → batplot-1.7.21}/batplot/data/USER_MANUAL.md +0 -0
  20. {batplot-1.7.20 → batplot-1.7.21}/batplot/interactive.py +0 -0
  21. {batplot-1.7.20 → batplot-1.7.21}/batplot/manual.py +0 -0
  22. {batplot-1.7.20 → batplot-1.7.21}/batplot/modes.py +0 -0
  23. {batplot-1.7.20 → batplot-1.7.21}/batplot/operando.py +0 -0
  24. {batplot-1.7.20 → batplot-1.7.21}/batplot/operando_ec_interactive.py +0 -0
  25. {batplot-1.7.20 → batplot-1.7.21}/batplot/plotting.py +0 -0
  26. {batplot-1.7.20 → batplot-1.7.21}/batplot/readers.py +0 -0
  27. {batplot-1.7.20 → batplot-1.7.21}/batplot/session.py +0 -0
  28. {batplot-1.7.20 → batplot-1.7.21}/batplot/style.py +0 -0
  29. {batplot-1.7.20 → batplot-1.7.21}/batplot/ui.py +0 -0
  30. {batplot-1.7.20 → batplot-1.7.21}/batplot/utils.py +0 -0
  31. {batplot-1.7.20 → batplot-1.7.21}/batplot/version_check.py +0 -0
  32. {batplot-1.7.20 → batplot-1.7.21}/batplot.egg-info/SOURCES.txt +0 -0
  33. {batplot-1.7.20 → batplot-1.7.21}/batplot.egg-info/dependency_links.txt +0 -0
  34. {batplot-1.7.20 → batplot-1.7.21}/batplot.egg-info/entry_points.txt +0 -0
  35. {batplot-1.7.20 → batplot-1.7.21}/batplot.egg-info/requires.txt +0 -0
  36. {batplot-1.7.20 → batplot-1.7.21}/batplot.egg-info/top_level.txt +0 -0
  37. {batplot-1.7.20 → batplot-1.7.21}/batplot_backup_20251121_223043/__init__.py +0 -0
  38. {batplot-1.7.20 → batplot-1.7.21}/batplot_backup_20251121_223043/args.py +0 -0
  39. {batplot-1.7.20 → batplot-1.7.21}/batplot_backup_20251121_223043/batch.py +0 -0
  40. {batplot-1.7.20 → batplot-1.7.21}/batplot_backup_20251121_223043/batplot.py +0 -0
  41. {batplot-1.7.20 → batplot-1.7.21}/batplot_backup_20251121_223043/cif.py +0 -0
  42. {batplot-1.7.20 → batplot-1.7.21}/batplot_backup_20251121_223043/cli.py +0 -0
  43. {batplot-1.7.20 → batplot-1.7.21}/batplot_backup_20251121_223043/color_utils.py +0 -0
  44. {batplot-1.7.20 → batplot-1.7.21}/batplot_backup_20251121_223043/config.py +0 -0
  45. {batplot-1.7.20 → batplot-1.7.21}/batplot_backup_20251121_223043/converters.py +0 -0
  46. {batplot-1.7.20 → batplot-1.7.21}/batplot_backup_20251121_223043/cpc_interactive.py +0 -0
  47. {batplot-1.7.20 → batplot-1.7.21}/batplot_backup_20251121_223043/electrochem_interactive.py +0 -0
  48. {batplot-1.7.20 → batplot-1.7.21}/batplot_backup_20251121_223043/interactive.py +0 -0
  49. {batplot-1.7.20 → batplot-1.7.21}/batplot_backup_20251121_223043/modes.py +0 -0
  50. {batplot-1.7.20 → batplot-1.7.21}/batplot_backup_20251121_223043/operando.py +0 -0
  51. {batplot-1.7.20 → batplot-1.7.21}/batplot_backup_20251121_223043/operando_ec_interactive.py +0 -0
  52. {batplot-1.7.20 → batplot-1.7.21}/batplot_backup_20251121_223043/plotting.py +0 -0
  53. {batplot-1.7.20 → batplot-1.7.21}/batplot_backup_20251121_223043/readers.py +0 -0
  54. {batplot-1.7.20 → batplot-1.7.21}/batplot_backup_20251121_223043/session.py +0 -0
  55. {batplot-1.7.20 → batplot-1.7.21}/batplot_backup_20251121_223043/style.py +0 -0
  56. {batplot-1.7.20 → batplot-1.7.21}/batplot_backup_20251121_223043/ui.py +0 -0
  57. {batplot-1.7.20 → batplot-1.7.21}/batplot_backup_20251121_223043/utils.py +0 -0
  58. {batplot-1.7.20 → batplot-1.7.21}/batplot_backup_20251121_223043/version_check.py +0 -0
  59. {batplot-1.7.20 → batplot-1.7.21}/setup.cfg +0 -0
  60. {batplot-1.7.20 → batplot-1.7.21}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: batplot
3
- Version: 1.7.20
3
+ Version: 1.7.21
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-Expression: MIT
@@ -1,5 +1,5 @@
1
1
  """batplot: Interactive plotting for battery data visualization."""
2
2
 
3
- __version__ = "1.7.20"
3
+ __version__ = "1.7.21"
4
4
 
5
5
  __all__ = ["__version__"]
@@ -3428,7 +3428,8 @@ def electrochem_interactive_menu(fig, ax, cycle_lines: Dict[int, Dict[str, Optio
3428
3428
  print("ΔV threshold must be positive.")
3429
3429
  continue
3430
3430
  break
3431
- if not delta_input or delta_input.lower() == 'q': # User quit at previous step
3431
+ # Only skip if user explicitly quit with 'q', not if they pressed Enter (empty = use default)
3432
+ if delta_input and delta_input.lower() == 'q': # User quit at previous step
3432
3433
  continue
3433
3434
  while True:
3434
3435
  window_input = input("Savitzky–Golay window (odd, default 9, 'q'=quit, 'e'=explain): ").strip()
@@ -3446,7 +3447,8 @@ def electrochem_interactive_menu(fig, ax, cycle_lines: Dict[int, Dict[str, Optio
3446
3447
  continue
3447
3448
  window = 9 if not window_input else int(window_input)
3448
3449
  break
3449
- if not window_input or window_input.lower() == 'q': # User quit at previous step
3450
+ # Only skip if user explicitly quit with 'q', not if they pressed Enter (empty = use default)
3451
+ if window_input and window_input.lower() == 'q': # User quit at previous step
3450
3452
  continue
3451
3453
  while True:
3452
3454
  poly_input = input("Polynomial order (default 3, 'q'=quit, 'e'=explain): ").strip()
@@ -3465,7 +3467,8 @@ def electrochem_interactive_menu(fig, ax, cycle_lines: Dict[int, Dict[str, Optio
3465
3467
  continue
3466
3468
  poly = 3 if not poly_input else int(poly_input)
3467
3469
  break
3468
- if not poly_input or poly_input.lower() == 'q': # User quit at previous step
3470
+ # Only skip if user explicitly quit with 'q', not if they pressed Enter (empty = use default)
3471
+ if poly_input and poly_input.lower() == 'q': # User quit at previous step
3469
3472
  continue
3470
3473
  except ValueError:
3471
3474
  print("Invalid number.")
@@ -3570,7 +3573,8 @@ def electrochem_interactive_menu(fig, ax, cycle_lines: Dict[int, Dict[str, Optio
3570
3573
  print("Threshold must be positive.")
3571
3574
  continue
3572
3575
  break
3573
- if not thresh_input or thresh_input.lower() == 'q': # User quit
3576
+ # Only skip if user explicitly quit with 'q', not if they pressed Enter (empty = use default)
3577
+ if thresh_input and thresh_input.lower() == 'q': # User quit
3574
3578
  continue
3575
3579
  push_state("smooth-outlier")
3576
3580
  filtered = 0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: batplot
3
- Version: 1.7.20
3
+ Version: 1.7.21
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-Expression: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "batplot"
7
- version = "1.7.20"
7
+ version = "1.7.21"
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