Skip to content

Commit

Permalink
sort samples section by name and lane
Browse files Browse the repository at this point in the history
  • Loading branch information
kedhammar committed Aug 27, 2024
1 parent 52664a9 commit 5b0ca7b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/generate_aviti_run_manifest.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ def get_samples_section(process: Process) -> str:
all_rows.extend(lane_rows)

df = pd.DataFrame(all_rows)
df.sort_values(by=["SampleName", "Lane"], inplace=True)

samples_section = f"[SAMPLES]\n{df.to_csv(index=None, header=True)}"

Expand Down

0 comments on commit 5b0ca7b

Please sign in to comment.