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

Automating git bisect - part V #38

Open
dpshelio opened this issue Nov 17, 2022 · 0 comments
Open

Automating git bisect - part V #38

dpshelio opened this issue Nov 17, 2022 · 0 comments
Labels
week06 Documenting projects and findging bugs

Comments

@dpshelio
Copy link
Contributor

dpshelio commented Nov 17, 2022

Continuation from #37.

Now that you have created two arrays, can read and save them, compare expected values, and call external command from within Python.

Step 5

Bring what's needed from test_call_command.py to test_sagittal_brain.py so that when calling this script the following happens:

  1. a good input 20x20 array is created (input);
  2. an expected array with 20 elements is created (expected);
  3. the input array is saved as a csv file (brain_sample.csv);
  4. Charlene's code is executed from within this script (using subprocess);
  5. the output produced by Charlene's code (brain_average.csv) is read into output; and
  6. test that output and expected are equal.

run that script from the bash terminal.

React to this issue (#38) with a 🎉 when your team has completed this task.

@dpshelio dpshelio added the week06 Documenting projects and findging bugs label Nov 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
week06 Documenting projects and findging bugs
Projects
None yet
Development

No branches or pull requests

1 participant