Programming Assignment: Brain Tumor Auto-Segmentation for Magnetic Resonance Imaging (MRI)

I keep getting that error below everytime once I submit the test :

Cell #6. Can’t compile the student’s code. Error: AssertionError(‘Not all tests were passed for get_sub_volume. Check your equations and avoid using global variables inside the function.’,

I replaced the needed codes with ‘‘NONE’; for all the exercises but Im still unable to pass that assessment for some reason..

Hope if someone can help with that. Thanks in advance

Please show us the outputs from running the test cells in the notebook that test the get_sub_volume function.

1 Like

Also note that there are a number of historical threads about this function on the forums. Just search for get_sub_volume to find all of them. Here’s one such thread that includes discussions that helped in a previous case of problems on this section.

2 Likes

Please post screenshot of test result or unittest results without posting any part of grade function codes here @AhmedFahmy97

Thank for responding. I hope that screenshot helps

did you go through post link @paulinpaloalto shared with 3.comment solutions