Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

json flag ignored with tblite #979

Open
TimoSommer opened this issue Mar 4, 2024 · 1 comment · May be fixed by #985
Open

json flag ignored with tblite #979

TimoSommer opened this issue Mar 4, 2024 · 1 comment · May be fixed by #985
Labels
enhancement New feature or request

Comments

@TimoSommer
Copy link

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

@TimoSommer TimoSommer added the unconfirmed This report has not yet been confirmed by the developers label Mar 4, 2024
@Albkat Albkat added enhancement New feature or request and removed unconfirmed This report has not yet been confirmed by the developers labels Mar 7, 2024
@Albkat
Copy link
Contributor

Albkat commented Mar 7, 2024

Hello, thanks for sharing, I can reproduce this.

@Albkat Albkat linked a pull request Mar 7, 2024 that will close this issue
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants