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

Remove FMUX and JMU related code #196

Merged
merged 5 commits into from
Aug 18, 2023
Merged
Show file tree
Hide file tree
Changes from 2 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: 1 addition & 3 deletions src/common/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ def get_unit_name(class_name, unit_type='FMU'):
The name of the model.

unit_type --
PeterMeisrimelModelon marked this conversation as resolved.
Show resolved Hide resolved
The unit type. Possible values: FMU, FMUX.
The unit type. Possible values: FMU (other values have been removed).
Default: 'FMU'

Returns::
Expand All @@ -458,8 +458,6 @@ def get_unit_name(class_name, unit_type='FMU'):
"""
if unit_type == 'FMU':
return class_name.replace('.','_')+'.fmu'
elif unit_type == 'FMUX':
return class_name.replace('.','_')+'.fmux'
else:
raise Exception("The unit type %s is unknown" %unit_type)

Expand Down
Loading