You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently when calling upload_raw_session (which in turn calls upload_raw_behavioral_data, upload_raw_ephys_data, and upload_raw_videos), if a file already exists on the remote server, then the upload fails.
This is really annoying if someone is using bnd upload-session . <subject-name>, and e.g. behavior is uploaded nicely, then videos fail, because currently not the whole upload is reverted, so next time running the same command will complain that some files already exist on the server.
A potential solution is that if the uploader function detects that some files we want to upload are already on the server, then it compares the contents of the files, and if they are the same, then it's just skipped. If they are different, an error can be raised.
The text was updated successfully, but these errors were encountered:
Currently when calling
upload_raw_session
(which in turn callsupload_raw_behavioral_data
,upload_raw_ephys_data
, andupload_raw_videos
), if a file already exists on the remote server, then the upload fails.This is really annoying if someone is using
bnd upload-session . <subject-name>
, and e.g. behavior is uploaded nicely, then videos fail, because currently not the whole upload is reverted, so next time running the same command will complain that some files already exist on the server.A potential solution is that if the uploader function detects that some files we want to upload are already on the server, then it compares the contents of the files, and if they are the same, then it's just skipped. If they are different, an error can be raised.
The text was updated successfully, but these errors were encountered: