Skip to content

Commit

Permalink
Merge pull request #85 from punch-mission/save-tlm-filename-only
Browse files Browse the repository at this point in the history
save only the TLM filename instead of the whole path
  • Loading branch information
jmbhughes authored Nov 27, 2024
2 parents 67ef92e + 36a021c commit d0200c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion punchpipe/flows/level0.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def level0_ingest_raw_packets(pipeline_config_path: str | None = None, session=N
paths = detect_new_tlm_files(config, session=session)
for path in paths:
packets = parse_new_tlm_files(path)
new_tlm_file = TLMFiles(path=path, is_processed=True)
new_tlm_file = TLMFiles(path=os.path.basename(path), is_processed=True)
session.add(new_tlm_file)
session.commit()
update_tlm_database(packets, new_tlm_file.tlm_id)
Expand Down

0 comments on commit d0200c8

Please # to comment.