From 420ab79f0ad6edbc58329be6f0b9d10019a8fdc0 Mon Sep 17 00:00:00 2001 From: Anton Korobeynikov Date: Mon, 13 May 2024 21:36:45 -0700 Subject: [PATCH] Do not include git revision / branch for the sake of stability --- .../paths/bidirectional_path_io/bidirectional_path_output.cpp | 4 +--- src/common/io/graph/gfa_writer.cpp | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/common/assembly_graph/paths/bidirectional_path_io/bidirectional_path_output.cpp b/src/common/assembly_graph/paths/bidirectional_path_io/bidirectional_path_output.cpp index b2d365761..4003de20e 100644 --- a/src/common/assembly_graph/paths/bidirectional_path_io/bidirectional_path_output.cpp +++ b/src/common/assembly_graph/paths/bidirectional_path_io/bidirectional_path_output.cpp @@ -145,9 +145,7 @@ void GFAPathWriter::WritePaths12(const std::vector &edges, void GFAPathWriter::WriteHeader() { os_ << "H\t" << "VN:Z:" << (version_ == Version::GFAv11 ? "1.1" : "1.2") << '\t' - << "sp:Z:" << version::flavour() << '-' << version::package() << '\t' - << "sg:Z:" << version::gitrev() << '\t' - << "sr:Z:" << version::refspec() << '\n'; + << "sp:Z:" << version::flavour() << '-' << version::package() << '\n'; } diff --git a/src/common/io/graph/gfa_writer.cpp b/src/common/io/graph/gfa_writer.cpp index f16557182..cdb61cf64 100644 --- a/src/common/io/graph/gfa_writer.cpp +++ b/src/common/io/graph/gfa_writer.cpp @@ -112,7 +112,5 @@ void GFAWriter::WriteVertexLinks(const VertexId &vertex, const Component &gc) { void GFAWriter::WriteHeader() { os_ << "H\t" - << "sp:Z:" << version::flavour() << '-' << version::package() << '\t' - << "sg:Z:" << version::gitrev() << '\t' - << "sr:Z:" << version::refspec() << '\n'; + << "sp:Z:" << version::flavour() << '-' << version::package() << '\n'; }