Open prjemian opened 5 years ago
Compare output from both tools.
specfile
exampleIn [2]: import suitcase.specfile
In [7]: suitcase.specfile.export(db[-1].documents(), '')
Out[7]: {'stream_data': [PosixPath('/tmp/e4dc5edf-3260-4d4f-9b56-18d4a4ce2f13.spec')]}
e4dc5edf-3260-4d4f-9b56-18d4a4ce2f13.spec.txt
apstools.filewriters.SpecWriterCallback
exampleIn [10]: APS_utils.replay(db[-1], specwriter.receiver)
In [13]: specwriter.spec_filename
Out[13]: '/tmp/20190809-093704.dat'
Compare this suitcase with the
apstools.filewriters.SpecWriterCallback
Eventually, I see features from the apstools folded into specfile but perhaps these remain as two separate instances with SpecWriterCallback getting improvements from specfile.