Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError in RothC_Py.py due to incorrect os.chdir() argument #2

Open
lrodrin opened this issue Jan 20, 2025 · 0 comments
Open

TypeError in RothC_Py.py due to incorrect os.chdir() argument #2

lrodrin opened this issue Jan 20, 2025 · 0 comments

Comments

@lrodrin
Copy link

lrodrin commented Jan 20, 2025

Hi,

I noticed that os.chdir() function in RothC_Py.py is called with an incorrect argument, resulting in the following error:

TypeError: chdir: path should be string, bytes, os.PathLike or integer, not list

Problematic line:

os.chdir(["INPUT DIRECTORY PATH") # Change to path of RothC_input.dat

Suggested Fix:

os.chdir("INPUT DIRECTORY PATH") # Change to path of RothC_input.dat

Thank you for addressing this issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant