Skip to content

Commit 6a0dd8e

Browse files
committed
update checkbox_norwegian...
1 parent 6292d54 commit 6a0dd8e

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

app.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -310,10 +310,10 @@ def extract_number(text):
310310
id='checkbox_norwegian_share',
311311
label="divide volumes in crossboarder fields by Norwegian share "+\
312312
"and update the main table "+\
313-
'(applies to all columns measured in "Msm3","Mrm3" and "Bsm3",' +\
314-
' i.e. in-place, recoverable, storage and peak yearly production volumes).'+\
313+
'(applies to all columns measured in "Msm3","Mrm3", "Bsm3" and "Mt",' +\
314+
' i.e. in-place, recoverable, storage and peak yearly production volumes). '+\
315315
'Press the "update" button to update the current chart.',
316-
value=True),
316+
value=False),
317317
dbc.Checkbox(
318318
id='checkbox_corr',
319319
label="show linear trend and its R2 in the scatter plot",
@@ -957,7 +957,7 @@ def adjust_norwegian_share(norwegian_share, records, info_units):
957957
df = pd.DataFrame(data=records)
958958

959959
for k,v in info_units.items():
960-
if v['unit'] in ['Mrm3','Msm3','Bsm3']:
960+
if v['unit'] in ['Mrm3','Msm3','Bsm3','Mt']:
961961
if norwegian_share:
962962
print(f'{k} divided by Norwegian share (to show total volumes)')
963963
df[k] = df[k] / df['norwegian share']

0 commit comments

Comments
 (0)