Fix bug with opening pickle files from a pickle created in another operating system (for Windows and Linux only) #29

Merged
g_gutierrez merged 1 commits from fix_multi_os_pickle_load_bug into main 2023-07-10 14:00:14 -04:00
Owner

When a pickle is created in Windows and you try to load it in Linux or when a pickle is created in Linux and you try to load it into Windows using

pickle.load(pickle_file_from_other_os)

The library errors out due to pathlib encoding the OS from the other operating system. By adding the conditionals, this issue is resolved between Linux and Windows.

When a pickle is created in Windows and you try to load it in Linux or when a pickle is created in Linux and you try to load it into Windows using ``` pickle.load(pickle_file_from_other_os) ``` The library errors out due to pathlib encoding the OS from the other operating system. By adding the conditionals, this issue is resolved between Linux and Windows.
k_wells added 1 commit 2023-07-07 22:23:26 -04:00
g_gutierrez merged commit 461d8d4ca0 into main 2023-07-10 14:00:14 -04:00
g_gutierrez deleted branch fix_multi_os_pickle_load_bug 2023-07-10 14:00:19 -04:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: CERC/hub#29
No description provided.