-
Notifications
You must be signed in to change notification settings - Fork 4
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 images based on scene descriptions #27
Conversation
…lambda * 'master' of https://github.com/berkeley-stat159/project-lambda: Setup infrustructure to access data through linked raw directory and data_path.json Fixed markdown for data/README.md Fixed markdown for data/README.md Added instructions for data_path.py
ss = scene_slicer.SceneSlicer(1, "") | ||
ss.generate_scene_desc_dict() | ||
for i in ss.scene_desc: | ||
len(ss.scene_desc[i]) == 2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what does this line accomplish? The boolean expression is not being used
Please make sure all files are yapf formatted |
Travis CI is failing bc you are referencing files that are not in the repo. You should create data files specific for testing, and refactor functions so that when u need a file, it's passed in to just the function where its being used that way you can modularly test it |
Split images based on scene descriptions
[[5, 4], [4, 3]]]]) | ||
img = nib.Nifti1Image(data, affine=np.diag([1, 1, 1, 1])) | ||
nib.save(img, 'test_data.nii') | ||
with open('scene.csv', 'w') as csvfile: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be scenes.csv, same on line 23
No description provided.