Skip to content

Commit

Permalink
Simplified file type conversion example in data.rst.
Browse files Browse the repository at this point in the history
  • Loading branch information
zakv committed Jun 26, 2020
1 parent 53985dc commit daf8c0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/data.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ If for whatever reason you want to convert files between the formats you can do

import mloop.utilities as mlu

saved_dict = mlu.get_dict_from_file('./M-LOOP_archives/controller_archive_2016-08-18_12-18.pkl','pkl')
mlu.save_dict_to_file(saved_dict,'./M-LOOP_archives/controller_archive_2016-08-18_12-18.mat','mat')
saved_dict = mlu.get_dict_from_file('./M-LOOP_archives/controller_archive_2016-08-18_12-18.pkl')
mlu.save_dict_to_file(saved_dict,'./M-LOOP_archives/controller_archive_2016-08-18_12-18.mat')

0 comments on commit daf8c0f

Please sign in to comment.