Browse Source

Merge branch 'shieldadaptions' of git.pranger.xyz:TEMPEST/tempest-py into shieldadaptions

refactoring
sp 11 months ago
parent
commit
baf37b8f8c
  1. 4
      syncscript.sh

4
syncscript.sh

@ -2,9 +2,9 @@
. ../env/bin/activate
commit_message="$(git log -1 --oneline | sed 's/\s/_/g')"
commit_message="$(git log -1 --pretty=format:"%s_%h" | sed 's/\s/_/g')"
git diff --quiet || commit_message="${commit_message}_dirty"
datetime="$(date +%Y%m%d_%H%M%S)"
datetime="$(date +%Y%-m-%dT%H:%M:%S)"
exp_name="${commit_message}-${datetime}"
experiment_log_dir="${2}/${exp_name}"

Loading…
Cancel
Save