SyneRBI / SIRF-Exercises

SIRF Training and demonstration material
http://www.ccpsynerbi.ac.uk
Apache License 2.0
17 stars 21 forks source link

BrainWeb notebook writes data in wrong path #194

Closed KrisThielemans closed 1 year ago

KrisThielemans commented 1 year ago

All (?) reading notebooks use

brainweb_sim_data_path = exercises_data_path('working_folder', 'Synergistic', 'BrainWeb')

but the BrainWeb notebook itself writes in

 path.join(exercises_data_path('Synergistic'), "Brainweb")

Note that cd_to_working_folder doesn't seem safe, as a user could have set it to somewhere else.

This could be done better after #121