RoyAalekh commited on
Commit
1425c98
·
1 Parent(s): 7bf82f0

fixed the verion

Browse files
Files changed (2) hide show
  1. eda/config.py +5 -4
  2. pyproject.toml +1 -1
eda/config.py CHANGED
@@ -19,7 +19,7 @@ HEAR_FILE = DATA_DIR / "ISDMHack_Hear.csv"
19
  REPORTS_DIR = PROJECT_ROOT / "reports"
20
  FIGURES_DIR = REPORTS_DIR / "figures"
21
 
22
- VERSION = "v0.4.0"
23
  RUN_TS = datetime.now().strftime("%Y%m%d_%H%M%S")
24
 
25
  # These will be set by set_output_paths() when running from pipeline
@@ -82,6 +82,7 @@ def _get_hearings_parquet() -> Path:
82
  HEARINGS_CLEAN_PARQUET = _get_run_dir() / "hearings_clean.parquet"
83
  return HEARINGS_CLEAN_PARQUET
84
 
 
85
  # -------------------------------------------------------------------
86
  # Null tokens and canonicalisation
87
  # -------------------------------------------------------------------
@@ -105,7 +106,7 @@ def safe_write_figure(fig, filename: str) -> None:
105
  Args:
106
  fig: Plotly figure object
107
  filename: HTML filename (e.g., "1_case_type_distribution.html")
108
-
109
  Uses CDN for Plotly.js instead of embedding to reduce file size from ~3MB to ~50KB per file.
110
  """
111
  run_dir = _get_run_dir()
@@ -113,8 +114,8 @@ def safe_write_figure(fig, filename: str) -> None:
113
  try:
114
  fig.write_html(
115
  str(output_path),
116
- include_plotlyjs='cdn', # Use CDN instead of embedding full library
117
- config={'displayModeBar': True, 'displaylogo': False} # Cleaner UI
118
  )
119
  except Exception as e:
120
  raise RuntimeError(f"Failed to write {filename} to {output_path}: {e}")
 
19
  REPORTS_DIR = PROJECT_ROOT / "reports"
20
  FIGURES_DIR = REPORTS_DIR / "figures"
21
 
22
+ VERSION = "v1.0.0"
23
  RUN_TS = datetime.now().strftime("%Y%m%d_%H%M%S")
24
 
25
  # These will be set by set_output_paths() when running from pipeline
 
82
  HEARINGS_CLEAN_PARQUET = _get_run_dir() / "hearings_clean.parquet"
83
  return HEARINGS_CLEAN_PARQUET
84
 
85
+
86
  # -------------------------------------------------------------------
87
  # Null tokens and canonicalisation
88
  # -------------------------------------------------------------------
 
106
  Args:
107
  fig: Plotly figure object
108
  filename: HTML filename (e.g., "1_case_type_distribution.html")
109
+
110
  Uses CDN for Plotly.js instead of embedding to reduce file size from ~3MB to ~50KB per file.
111
  """
112
  run_dir = _get_run_dir()
 
114
  try:
115
  fig.write_html(
116
  str(output_path),
117
+ include_plotlyjs="cdn", # Use CDN instead of embedding full library
118
+ config={"displayModeBar": True, "displaylogo": False}, # Cleaner UI
119
  )
120
  except Exception as e:
121
  raise RuntimeError(f"Failed to write {filename} to {output_path}: {e}")
pyproject.toml CHANGED
@@ -3,7 +3,7 @@
3
  ########################################
4
  [project]
5
  name = "code4change-analysis"
6
- version = "0.1.0"
7
  description = "Court scheduling simulation + analytics"
8
  requires-python = ">=3.11"
9
  authors = [{ name = "Aalekh Roy" }]
 
3
  ########################################
4
  [project]
5
  name = "code4change-analysis"
6
+ version = "1.0.0"
7
  description = "Court scheduling simulation + analytics"
8
  requires-python = ">=3.11"
9
  authors = [{ name = "Aalekh Roy" }]