feat: add CLI options for custom CSV separator and normalize-to-one branch normalization

This commit is contained in:
2026-07-06 17:32:56 +03:00
parent 1b4d418b5f
commit 6dc1e3924d
5 changed files with 78 additions and 11 deletions
+3 -3
View File
@@ -460,8 +460,8 @@ class TestMultiBranchCSVExport:
import pandas as pd
# Read CSV (skip comment headers, use tab delimiter)
df = pd.read_csv(csv_path, comment="#", sep='\t')
# Read CSV (skip comment headers, use comma delimiter by default)
df = pd.read_csv(csv_path, comment="#", sep=',')
# Should have total spectrum column
assert "total_spectrum" in df.columns
@@ -500,7 +500,7 @@ class TestMultiBranchCSVExport:
import pandas as pd
df = pd.read_csv(csv_path, comment="#", sep='\t')
df = pd.read_csv(csv_path, comment="#", sep=',')
assert "total_spectrum" in df.columns
assert "branch_1_spectrum" in df.columns