Skip to content

Commit e3bfb55

Browse files
committed
clean up summary to make it shorter
1 parent 79b78eb commit e3bfb55

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

app.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3427,6 +3427,9 @@ def get_file_summary(usi, usi2):
34273427
image_link = "/mspreview?usi={}".format(usi)
34283428
tbody.children[-1].children = html.A(dbc.Button("Image", color="primary", className="mr-1", size="sm"), href=image_link, target="_blank")
34293429

3430+
# Replacing USI with just filename
3431+
tbody.children[0].children = download._get_usi_display_filename(usi)
3432+
34303433
return [table]
34313434

34323435

tasks.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,13 @@ def task_collabsync(session_id, triggered_fields, full_params, synchronization_t
7070
for field in triggered_fields:
7171
try:
7272
field_value = field.split(".")[0]
73-
print(field_value)
73+
#print(field_value)
7474
existing_params[field_value] = full_params[field_value]
7575
except:
7676
pass
7777

78-
import json
79-
print(json.dumps(existing_params, indent=4))
78+
#import json
79+
#print(json.dumps(existing_params, indent=4))
8080
_sychronize_save_state(session_id, existing_params, redis_client, synchronization_token=synchronization_token)
8181

8282
@celery_instance.task(time_limit=60)

0 commit comments

Comments
 (0)