浏览代码

[DATALAD] Recorded changes

julien colomb 2 年之前
父节点
当前提交
eca48fd09b
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      .scripts/datalad_sync.py

+ 3 - 0
.scripts/datalad_sync.py

@@ -28,8 +28,11 @@ if not commitmessage:
     commitmessage = print("commit on" , datetime.now())
 
 # sync
+print("update")
 dl.update(how='merge', recursive=True)
+print("save")
 dl.save(".", message=commitmessage, recursive=True)
+
 dl.push(".", to="origin", recursive=True)
 
 # Set dropping option