Skip to content

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

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()

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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