mirror of
https://gitea.psi.ch/APOG/acsmnode.git
synced 2025-06-27 20:11:09 +02:00
Fix bug. Saved flags from apps were not associated with right parent variable.
This commit is contained in:
@ -588,7 +588,7 @@ def clear_flag_mode_title(relayoutData, fig, data):
|
|||||||
return dash.no_update, dash.no_update, dash.no_update
|
return dash.no_update, dash.no_update, dash.no_update
|
||||||
|
|
||||||
def extract_number(s):
|
def extract_number(s):
|
||||||
return int(s[1:])-1 if s[1:].isdigit() else 0
|
return int(s[1:]) if s[1:].isdigit() else 0
|
||||||
|
|
||||||
@callback(Output('tbl', 'data'),
|
@callback(Output('tbl', 'data'),
|
||||||
Input('commit-flag-button','n_clicks'),
|
Input('commit-flag-button','n_clicks'),
|
||||||
|
@ -9,7 +9,7 @@ import numpy as np
|
|||||||
import pandas as pd
|
import pandas as pd
|
||||||
import dima.utils.g5505_utils as utils
|
import dima.utils.g5505_utils as utils
|
||||||
|
|
||||||
UPLOAD_DIRECTORY = 'data_products/'
|
UPLOAD_DIRECTORY = 'data/'
|
||||||
|
|
||||||
flags_dict = {
|
flags_dict = {
|
||||||
"000" : {"flag_label": 'V', "flag_description": "Valid measurement"},
|
"000" : {"flag_label": 'V', "flag_description": "Valid measurement"},
|
||||||
|
Reference in New Issue
Block a user