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

error converting engine fixed #34

Merged
merged 1 commit into from
Dec 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions machinery-system-structure/01_ConvertToProtobuf.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@
" for each_point in each_curve.points_per_kwh\n",
" ]\n",
" ),\n",
" emission_type=proto.EmissionType.Value(each_curve.emission_type.value),\n",
" emission_type=each_curve.emission.value,\n",
" )\n",
" for each_curve in emission_curves_feems\n",
" ]\n",
Expand Down Expand Up @@ -560,7 +560,7 @@
" f\"imcompatible type ({component.type}) for conversion.\"\n",
" )\n",
" shaftline_proto.subsystems.append(subsystem)\n",
" return shaftline_proto\n"
" return shaftline_proto"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion machinery-system-structure/MachSysS/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.6.9"
__version__ = "0.6.10"
2 changes: 1 addition & 1 deletion machinery-system-structure/MachSysS/convert_to_protobuf.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ def convert_emission_curves_to_protobuf(
for each_point in each_curve.points_per_kwh
]
),
emission_type=proto.EmissionType.Value(each_curve.emission_type.value),
emission_type=each_curve.emission.value,
)
for each_curve in emission_curves_feems
]
Expand Down
2 changes: 1 addition & 1 deletion machinery-system-structure/settings.ini
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ user = keviny
author = Kevin Koosup Yum
author_email = kevinkoosup.yum@sintef.no
copyright = SINTEF Ocean
version = 0.6.9
version = 0.6.10
min_python = 3.10
audience = Developers
language = English
Expand Down
Loading