mirror of
https://github.com/davidgiven/fluxengine.git
synced 2025-10-31 11:17:01 -07:00
Remove the visualiser integration from the reader.
This commit is contained in:
@@ -10,7 +10,6 @@
|
||||
#include "decoders/decoders.h"
|
||||
#include "sector.h"
|
||||
#include "sectorset.h"
|
||||
#include "visualiser.h"
|
||||
#include "record.h"
|
||||
#include "bytes.h"
|
||||
#include "decoders/rawbits.h"
|
||||
@@ -25,7 +24,6 @@ FlagGroup readerFlags
|
||||
&hardwareFluxSourceFlags,
|
||||
&sqliteFluxSinkFlags,
|
||||
&fluxmapReaderFlags,
|
||||
&visualiserFlags
|
||||
};
|
||||
|
||||
static DataSpecFlag source(
|
||||
@@ -43,11 +41,6 @@ static StringFlag destination(
|
||||
"write the raw magnetic flux to this file",
|
||||
"");
|
||||
|
||||
static StringFlag visualise(
|
||||
{ "--write-svg" },
|
||||
"write a visualisation of the disk to this file",
|
||||
"");
|
||||
|
||||
static SettableFlag justRead(
|
||||
{ "--just-read" },
|
||||
"just read the disk and do no further processing");
|
||||
@@ -299,9 +292,6 @@ void readDiskCommand(AbstractDecoder& decoder)
|
||||
std::cout << size << " bytes decoded." << std::endl;
|
||||
}
|
||||
|
||||
if (!visualise.get().empty())
|
||||
visualiseSectorsToFile(allSectors, visualise.get());
|
||||
|
||||
writeSectorsToFile(allSectors, outputSpec);
|
||||
if (failures)
|
||||
std::cerr << "Warning: some sectors could not be decoded." << std::endl;
|
||||
|
||||
Reference in New Issue
Block a user