Skip to content

Commit

Permalink
Merge de58e09 into ac508a4
Browse files Browse the repository at this point in the history
  • Loading branch information
juhuntenburg committed Jul 13, 2021
2 parents ac508a4 + de58e09 commit 203bb4c
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions alyx/data/transfers.py
Original file line number Diff line number Diff line change
Expand Up @@ -674,12 +674,9 @@ def _ls_globus(file_record, add_uuid=False):
'/' + ds.name + " doesnt exist on server - skipping")
continue
ls_server = _ls_globus(fr_server, add_uuid=True)
# if the file is not found on the remote server, reset the exists flag to False and skip
# if the file is not found on the remote server, do nothing
if ls_server == [] or ls_server is None:
logger.warning(fr_server.relative_path + " not found on server - skipping,"
"setting exists=False")
fr_server.exists = False
fr_server.save()
logger.warning(fr_server.relative_path + " not found on server - skipping,")
continue
fr_local = ds.file_records.filter(data_repository__globus_is_personal=True)
for frloc in fr_local:
Expand Down

0 comments on commit 203bb4c

Please sign in to comment.