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

About hard-coded paths in .py files #80

Open
lccycc opened this issue Feb 25, 2020 · 1 comment
Open

About hard-coded paths in .py files #80

lccycc opened this issue Feb 25, 2020 · 1 comment

Comments

@lccycc
Copy link

lccycc commented Feb 25, 2020

Hi dear author,

I'm trying to run your amazing project on my laptop. Seems like there are a few codes that contains hard-coded local paths, for example, in FNNR-ABM-Primate/ABM/composite_30.py

directory = r'C:\Users\Judy\Desktop\Fertility Runs\3.5 GTGP New'

Shall I also modify all these paths, or they are not affecting the running?

Thanks!

@jrmak
Copy link
Owner

jrmak commented Jul 14, 2020

Hi! This is a few months later, but I am so sorry that I didn't respond earlier. Yes, if anything is hardcoded, you should be able to replace the directory listed at the beginning with a directory of your own based off your own results. In the case of composite_30.py, it should take a folder containing your 30 (or 2, or 10) different model run results that have 'human' and '.csv' in their name (that is, the model output for human-based data) and compile them into a single summary folder. Apologies for not commenting my code better.

For future reference, if anyone has a question about any of the code or documentation and I don't answer here, please feel free to email me. I've now made it public from my profile. Again, apologies for not answering sooner.

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

2 participants