Skip to content

Commit

Permalink
Extend timestamp to HM:MM:SS as well
Browse files Browse the repository at this point in the history
  • Loading branch information
kkaris committed Dec 14, 2023
1 parent 90a5564 commit 9ac1576
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion indra/belief/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -873,7 +873,8 @@ def find_cycles(
if upload_to_s3:
from indra.util.aws import get_s3_client
s3 = get_s3_client(unsigned=False)
fname = f'indra-db/dumps/refinement_cycles_{dt.strftime("%Y%m%d")}'
fname = f'indra-db/dumps/refinement_cycles_' \
f'{dt.strftime("%Y%m%d%H%M%S")}'
s3.upload_file(fpath, 'bigmech', fname)
logger.debug(f'Cycles uploaded to {fname}')
else:
Expand Down

0 comments on commit 9ac1576

Please sign in to comment.