Skip to content

Set parse_arg option of pyscf.gto.mole.Mole.build to False #50

Open
@kwkbtr

Description

@kwkbtr

pyscf.gto.mole.Mole.build method has parse_arg option, which specifies whether pyscf should parse command line arguments or not:

https://sunqm.github.io/pyscf/gto.html#pyscf.gto.mole.Mole.build

The default value of the option is True and it sometimes results in a conflict with command line arguments parsed by a user script.
cf. pyscf/pyscf#470

I think the root problem is on pyscf side (they should set the default value to False), but I think it is good to specify the argument explicitly in OpenFermion-PySCF; for example here:

pyscf_molecule.build()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions