dfnWorks icon indicating copy to clipboard operation
dfnWorks copied to clipboard

Some errors when running examples about version2.7

Open Beniuy opened this issue 1 year ago • 8 comments

Hello! Thank you very much for the software developed by your team, which has helped me a lot. I have the following problems during use. I run the example "user_polygon" in version 2.7 with native build, but it shows the error like this, image

Error 1 It runs successfully in version 2.6 with docker. I am sure that the parameter setting is the same. Error 2 I think the parameters have been defined in the file "driver.py",so there is no 'params.txt' might be true ? I can't understand the workflow in 'generator.py' as follows `if os.path.isfile("params.txt"):

    self.gather_dfn_gen_output()
    self.assign_hydraulic_properties()
    
    print('-' * 80)
    print("Generation Succeeded")
    print('-' * 80)
else:
    error = f"Error. Unable to find 'params.txt' in current directory {os.getcwd}.\n"
    sys.stderr.write(error)
    sys.exit(1)`

We look forward to your valuable comments! Yours sincerely

Beniuy avatar Mar 14 '23 07:03 Beniuy