Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
JOSSOUD Olivier
CFA Tools
Commits
0a93c1e7
Commit
0a93c1e7
authored
Apr 20, 2022
by
JOSSOUD Olivier
Browse files
Flow. Bug correction
parent
995d44b4
Pipeline
#172871
failed with stage
in 1 minute and 10 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
cfatools/processor/flow.py
cfatools/processor/flow.py
+2
-1
No files found.
cfatools/processor/flow.py
View file @
0a93c1e7
...
...
@@ -449,7 +449,8 @@ def add_melted_height(arrival_df: pd.DataFrame, encoder_df: pd.DataFrame, iceblo
starting_on_plexi
=
True
)
def
_get_melted_height_by_iceblock_
(
df
,
suffix
:
str
):
df
[
"melted_height_"
+
suffix
+
"_icbk"
]
=
df
[
"melted_height_"
+
suffix
]
-
df
.
iloc
[
0
][
"melted_height_"
+
suffix
]
first_valid_value
=
df
[
"melted_height_"
+
suffix
].
loc
[
df
[
"melted_height_"
+
suffix
].
first_valid_index
()]
df
[
"melted_height_"
+
suffix
+
"_icbk"
]
=
df
[
"melted_height_"
+
suffix
]
-
first_valid_value
return
df
# Set initial icbk_code to 0 to avoid removal of the first rows
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment