Skip to content

json flag ignored with tblite #979

Open
@TimoSommer

Description

@TimoSommer

If I call xtb with tblite (--tblite), the json flag (--json) is ignored and there will be no output json file written. Same thing if the command to write the json is given via an xtb.inp file.

To Reproduce
Please run the following two commands with a sample xyz file and compare the output:
xtb --json molecule.xyz --> correctly writes file xtbout.json
xtb --json --tblite molecule.xyz --> no output json file

Expected behaviour
I would expect that the file xtbout.json is part of the output, since both the xtb module and the independent tblite module support the --json flag. The json files of the xtb module and the tblite module look quite different, but I would expect at least one of them.

Additional context
xtb version: 6.6.1
tblite version: 0.3.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions