Skip to content

Instantly share code, notes, and snippets.

View cookpa's full-sized avatar

Philip Cook cookpa

  • PICSL, University of Pennsylvania
  • Pennsylvania
View GitHub Profile
@cookpa
cookpa / update_antsnetct_output.json
Created September 25, 2025 14:14
Script to update output file names from antsnetct < 0.6.0 to 0.6.0
#!/usr/bin/env python
from __future__ import annotations
import argparse
import re
import sys
from pathlib import Path
from typing import List, Optional, Tuple
RULES: List[Tuple[re.Pattern[str], str]] = [