Commit 39109911 authored by Mathieu Giraud's avatar Mathieu Giraud
Browse files

core/output.{h,cpp}: VidjilOuput, with_clones option

see #3861
parent da83fb01
...@@ -129,10 +129,11 @@ CloneOutput* SampleOutput::getClone(junction junction) ...@@ -129,10 +129,11 @@ CloneOutput* SampleOutput::getClone(junction junction)
// .vidjil json output // .vidjil json output
void SampleOutputVidjil::out(ostream &s) void SampleOutputVidjil::out(ostream &s, bool with_clones)
{ {
json j_clones; json j_clones;
if (with_clones)
for (auto it: clones) for (auto it: clones)
j_clones.push_back(it.second->toJson()); j_clones.push_back(it.second->toJson());
......
...@@ -69,7 +69,7 @@ public: ...@@ -69,7 +69,7 @@ public:
class SampleOutputVidjil : public SampleOutput class SampleOutputVidjil : public SampleOutput
{ {
public: public:
void out(ostream &s); void out(ostream &s, bool with_clones=true);
}; };
// AIRR // AIRR
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment