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

runtime arguments causing error #102

Closed
binnympaul opened this issue Jan 22, 2020 · 1 comment · Fixed by #110
Closed

runtime arguments causing error #102

binnympaul opened this issue Jan 22, 2020 · 1 comment · Fixed by #110
Assignees
Labels

Comments

@binnympaul
Copy link
Collaborator

Following call results in error: python run_populationsim.py --config configs

Traceback (most recent call last):
File "run_populationsim.py", line 63, in
pipeline.run(models=steps, resume_after=resume_after)
File "C:\Users\binny.paul\Documents\Anaconda3\lib\site-packages\activitysim\core\pipeline.py", line 594, in run
run_model(model)
File "C:\Users\binny.paul\Documents\Anaconda3\lib\site-packages\activitysim\core\pipeline.py", line 471, in run_model
orca.run([step_name])
File "C:\Users\binny.paul\Documents\Anaconda3\lib\site-packages\activitysim\core\orca.py", line 2034, in run
step()
File "C:\Users\binny.paul\Documents\Anaconda3\lib\site-packages\activitysim\core\orca.py", line 843, in call
return self._func(**kwargs)
File "C:\Users\binny.paul\Documents\Anaconda3\lib\site-packages\populationsim\steps\setup_data_structures.py", line 317, in setup_data_structures
control_spec = read_control_spec(setting('control_file_name', 'controls.csv'), configs_dir)
File "C:\Users\binny.paul\Documents\Anaconda3\lib\site-packages\populationsim\steps\setup_data_structures.py", line 29, in read_control_spec
data_file_path = os.path.join(configs_dir, data_filename)
File "C:\Users\binny.paul\Documents\Anaconda3\lib\ntpath.py", line 76, in join
path = os.fspath(path)
TypeError: expected str, bytes or os.PathLike object, not list

@binnympaul
Copy link
Collaborator Author

binnympaul commented Feb 17, 2020

For now, just have the default folders in the root - "data", "config", "output" and do not pass the folder names as arguments

@blakerosenthal blakerosenthal mentioned this issue Feb 19, 2020
@blakerosenthal blakerosenthal linked a pull request Feb 19, 2020 that will close this issue
bstabler pushed a commit that referenced this issue Feb 21, 2020
* ActivitySim 0.9.2; Pandas 1.0

* Freeze ortools package below 7.5

* fix issue #103

* fix issue #102
bstabler added a commit that referenced this issue Feb 21, 2020
* Package updates (#109)

* ActivitySim 0.9.2; Pandas 1.0

* Freeze ortools package below 7.5

* Add info about zero-person households (#106)  

This addresses the documentation needs arising from #104

* Fixes (#110)

* ActivitySim 0.9.2; Pandas 1.0

* Freeze ortools package below 7.5

* fix issue #103

* fix issue #102

* Update setup.py (#112)

Co-authored-by: Blake <brosenthalpdx@gmail.com>
Co-authored-by: Greg Macfarlane <gregmacfarlane@gmail.com>
bstabler added a commit that referenced this issue May 12, 2020
* Package updates (#109)

* ActivitySim 0.9.2; Pandas 1.0

* Freeze ortools package below 7.5

* Add info about zero-person households (#106)

This addresses the documentation needs arising from #104

Co-authored-by: Ben Stabler <bstabler@users.noreply.github.com>

* Fixes (#110)

* ActivitySim 0.9.2; Pandas 1.0

* Freeze ortools package below 7.5

* fix issue #103

* fix issue #102

* Update setup.py (#112)

* Pypi cleanup (#114)

* pypi cleanup

* remove rst file

* Add validation notebook (#119)

Co-authored-by: Blake <blake.rosenthal@rsginc.com>
Co-authored-by: Greg Macfarlane <gregmacfarlane@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants