Skip to content

dat.run() #57

@jousheinfo

Description

@jousheinfo

Hello,

I have a TOUGH input file, and I would like to run it through PyTOUGH to get the listing file. The code I have is the following:

from t2data import *
dat = t2data('file.inp')
dat.run(simulator = 'tough3_eco2m.exe')

I get the following Python error: :15: SyntaxWarning: invalid escape sequence '\P'

It kinda generates the listing file, but I get the following error:
TOUGH ERROR: Please check the name of the input file specified or rename input file to INFILE

I have the CO2TAB, executable and input files saved in the same folder. I tried to rename the input file, but I still get the same error. I kindly ask for your support, please. Thanks!.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions