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

Require user to supply absolute path to input file #24

Merged
merged 5 commits into from
Jan 15, 2020
Merged

Conversation

Peter-Metz
Copy link
Collaborator

Previously, the input file for the Batch class was specified with a path relative to taxcrunch/multi_cruncher.py. For simplicity and consistency, the input data will now be specified with an absolute path to the file. For example:

CURRENT_PATH = os.path.abspath(os.path.dirname(__file__))
input_path = os.path.join(CURRENT_PATH, "example_input.csv")
b = Batch(input_path)

Documentation/tests are updated to reflect this change. Does not affect web app.

@Peter-Metz Peter-Metz merged commit 4247986 into master Jan 15, 2020
@Peter-Metz Peter-Metz deleted the batch_path branch March 19, 2020 13:53
Peter-Metz added a commit that referenced this pull request Mar 30, 2020
Require user to supply absolute path to input file
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

Successfully merging this pull request may close these issues.

1 participant