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

split out generate_dataset operations #288

Open
robfitzgerald opened this issue Feb 17, 2025 · 0 comments · May be fixed by #290
Open

split out generate_dataset operations #288

robfitzgerald opened this issue Feb 17, 2025 · 0 comments · May be fixed by #290
Assignees
Labels
python Applies to the python code

Comments

@robfitzgerald
Copy link
Collaborator

i generated a dataset which completed most steps but failed on the last due to an SSL error (proxy settings):

the code to run just the model import is not a separate function, so i can't simply re-run that step. nor can i specify which steps i want to run as an argument for the generate_compass_dataset function. a refactor to separate phases out and make it possible to automatically find the next step to run or name it explicitly at generate_compass_dataset would make this easier:

generate_compass_dataset(g, "output_dir", phases=None) # default behavior

generate_compass_dataset(g, "output_dir", phases=["grade", "powertrain"])  # re-run a few phases

generate_compass_dataset(g, "output_dir", phases=["powertrain"])  # re-run just that last one
@robfitzgerald robfitzgerald added the python Applies to the python code label Feb 17, 2025
@robfitzgerald robfitzgerald self-assigned this Feb 17, 2025
@robfitzgerald robfitzgerald linked a pull request Feb 17, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
python Applies to the python code
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant