In the include/dawg/details/global.xmh file, it looks like there is not an XM macro to define the output format (it won't be shown if --help is passed as a command parameter).
In include/dawg/output.h it does not appear that the user can specify the output format via an input file unless the Output.File is specified (in which cause the format is dependent on the suffix of the output file path).
Suggested Change:
Add output format to the XMs in global.xmh
Possibly modify the output.h class' open method to allow a format to be explicitly set (maybe allow a default param (fmt = "aln")
Test that the format is set correctly for all cases
Additional Comments:
If the user specified conflicting formats which should be taking precedence? If the user specifies conflicting formats an error (or just a warning) could be sent out by DAWG via DAWG_MSG or DAWG_ERROR macro.
In the
include/dawg/details/global.xmh
file, it looks like there is not an XM macro to define the output format (it won't be shown if--help
is passed as a command parameter). Ininclude/dawg/output.h
it does not appear that the user can specify the output format via an input file unless theOutput.File
is specified (in which cause the format is dependent on the suffix of the output file path).Suggested Change:
global.xmh
output.h
class'open
method to allow a format to be explicitly set (maybe allow a default param (fmt = "aln"
)Additional Comments:
DAWG_MSG
orDAWG_ERROR
macro.