MCPcopy Create free account
hub / github.com/BirolLab/abyss / die

Function die

DataLayer/FastaWriter.cpp:13–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11using namespace std;
12
13static inline void die(const string& s)
14{
15 cerr << "error: writing to `" << s << "': "
16 << strerror(errno) << endl;
17 exit(EXIT_FAILURE);
18}
19
20FastaWriter::FastaWriter(const char* path, bool append)
21 : m_path(path), m_fileHandle(fopen(path, append ? "a" : "w"))

Callers 7

~FastaReaderMethod · 0.85
FastaWriterMethod · 0.85
~FastaWriterMethod · 0.85
WriteSequenceMethod · 0.85
isChasteMethod · 0.85
checkSeqQualMethod · 0.85
readMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected