Merge branch 'main' of https://gitlab.psi.ch/5505/dima
This commit is contained in:
@ -103,7 +103,8 @@ def created_at():
|
|||||||
now_tz_aware = now.astimezone()
|
now_tz_aware = now.astimezone()
|
||||||
tz = now_tz_aware.strftime('%z')
|
tz = now_tz_aware.strftime('%z')
|
||||||
#created_at = now_tz_aware.strftime('%Y-%m-%d_%H-%M-%S')+'_utcoffset_' + tz
|
#created_at = now_tz_aware.strftime('%Y-%m-%d_%H-%M-%S')+'_utcoffset_' + tz
|
||||||
created_at = now_tz_aware.strftime('%Y-%m-%d')+'_UTC-OFST_' + tz
|
#created_at = now_tz_aware.strftime('%Y-%m-%d')+'_UTC-OFST_' + tz
|
||||||
|
created_at = now_tz_aware.strftime('%Y-%m-%d %H:%M:%S') +'_UTC-OFST_' + tz
|
||||||
# Make created at timestamp with tz information
|
# Make created at timestamp with tz information
|
||||||
#created_at = now.isoformat()
|
#created_at = now.isoformat()
|
||||||
return created_at
|
return created_at
|
||||||
|
@ -525,7 +525,7 @@ def save_processed_dataframe_to_hdf5(df, annotator, output_filename): # src_hdf5
|
|||||||
|
|
||||||
# Prepare file dictionary
|
# Prepare file dictionary
|
||||||
file_dict = {
|
file_dict = {
|
||||||
'name': project_level_attributes['script_name'],
|
'name': project_level_attributes['processing_file'],
|
||||||
'attributes_dict': high_level_attributes,
|
'attributes_dict': high_level_attributes,
|
||||||
'datasets': [{
|
'datasets': [{
|
||||||
'name': "data_table",
|
'name': "data_table",
|
||||||
|
Reference in New Issue
Block a user