Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/t 59 cpf naming #98

Draft
wants to merge 10 commits into
base: main
Choose a base branch
from
Draft

Fix/t 59 cpf naming #98

wants to merge 10 commits into from

Conversation

khalsz
Copy link
Collaborator

@khalsz khalsz commented Dec 9, 2024

No description provided.

src/api/models.py Show resolved Hide resolved
src/api/models.py Outdated Show resolved Hide resolved
src/api/models.py Outdated Show resolved Hide resolved
@samueljackson92
Copy link
Collaborator

Looking good, but I think we can do a bit more here.

@khalsz khalsz force-pushed the fix/T-59-CPF-Naming branch from 637c171 to 7d98858 Compare December 16, 2024 14:28
Copy link
Collaborator

@samueljackson92 samueljackson92 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good, A few comments.

src/api/models.py Outdated Show resolved Hide resolved
src/api/models.py Show resolved Hide resolved
src/api/models.py Outdated Show resolved Hide resolved
src/api/models.py Outdated Show resolved Hide resolved
src/api/models.py Outdated Show resolved Hide resolved

cpf_ne0ratio_ipmax: Optional[float] = Field(nullable=True)
cpf_ne0ratio_ipmax: Optional[float] = Field(
alias="thom_ne0_rat_line_avg_ne",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thom -> thomson

cpf_p21022: Optional[float] = Field(nullable=True)
cpf_p21022: Optional[float] = Field(
alias="mcs_tf_flattop_time",
description="(MCS Setup) Param mim421 - TF Flat Top set time (End of Flat Top) for MAST only",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

-> msc_tf_flat_top_value


cpf_p05030: Optional[float] = Field(nullable=True)
cpf_p05030: Optional[float] = Field(
alias="mcs_select_p3p_s",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe just mcs_select_p3p

src/api/models.py Outdated Show resolved Hide resolved
src/api/models.py Show resolved Hide resolved
@khalsz khalsz force-pushed the fix/T-59-CPF-Naming branch from 82c988a to 46e5cd4 Compare December 17, 2024 10:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants