Skip to content

Cannot run crest using funsies #7

Open
@Leticia-maria

Description

@Leticia-maria

Hello, I have tried to run crest using funsies:

"""Generate a single conformer from a SMILES string."""
from __future__ import annotations

import argparse
import funsies as f
from funsies.types import Encoding

parser = argparse.ArgumentParser(
    description="Compute the spectrum of a molecule using the Vertical Gradient method."
)

parser.add_argument("-c", "--charge", help="charge", type=int, default=0)

args = parser.parse_args()


CHARGE = args.charge

xtbopt = "/home/leticia/Projects/SN1/xtbopt.xyz"
with f.Fun():
	crest_conf = f.shell("crest xtbopt.xyz", inp={"xtbopt.xyz": xtbopt}, out=["crest_best.xyz"], env={"OMP_NUM_THREADS": "40"})

But I got this error:

if you don't want it to be converted to json (and wrapped with "), 
you NEED to pass it as bytes (by .encode()-ing it first)

Important:

  • redis-server is working properly

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