cell-trajectory-steering / paper /search_transcript.py
yousefturk's picture
Upload folder using huggingface_hub
3c6e78c verified
Raw
History Blame Contribute Delete
646 Bytes
import os
log_path = r"C:\Users\youse\.gemini\antigravity\brain\c403afe2-a634-4891-8507-cf4589c88c49\.system_generated\logs\transcript.jsonl"
if not os.path.exists(log_path):
print(f"Log path does not exist: {log_path}")
else:
print(f"Reading log path: {log_path}")
count = 0
with open(log_path, "r", encoding="utf-8", errors="ignore") as f:
for line in f:
if "ssh " in line or "scp " in line or "165.245.136" in line:
print(f"Line: {line[:500]}...")
count += 1
if count > 20:
print("Truncated after 20 matches.")
break