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

Flame: Fix typo in function #281

Merged
merged 1 commit into from
Mar 27, 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 client/ayon_core/hosts/flame/api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
reset_segment_selection,
get_segment_attributes,
get_clips_in_reels,
get_reformated_filename,
get_reformatted_filename,
get_frame_from_filename,
get_padding_from_filename,
maintained_object_duplication,
Expand Down Expand Up @@ -101,7 +101,7 @@
"reset_segment_selection",
"get_segment_attributes",
"get_clips_in_reels",
"get_reformated_filename",
"get_reformatted_filename",
"get_frame_from_filename",
"get_padding_from_filename",
"maintained_object_duplication",
Expand Down
4 changes: 2 additions & 2 deletions client/ayon_core/hosts/flame/api/lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ def get_clips_in_reels(project):
return output_clips


def get_reformated_filename(filename, padded=True):
def get_reformatted_filename(filename, padded=True):
"""
Return fixed python expression path

Expand All @@ -618,7 +618,7 @@ def get_reformated_filename(filename, padded=True):
type: string with reformatted path

Example:
get_reformated_filename("plate.1001.exr") > plate.%04d.exr
get_reformatted_filename("plate.1001.exr") > plate.%04d.exr

"""
found = FRAME_PATTERN.search(filename)
Expand Down
2 changes: 1 addition & 1 deletion client/ayon_core/hosts/flame/otio/flame_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ def create_otio_reference(clip_data, fps=None):

if not otio_ex_ref_item:
dirname, file_name = os.path.split(path)
file_name = utils.get_reformated_filename(file_name, padded=False)
file_name = utils.get_reformatted_filename(file_name, padded=False)
reformated_path = os.path.join(dirname, file_name)
# in case old OTIO or video file create `ExternalReference`
otio_ex_ref_item = otio.schema.ExternalReference(
Expand Down
4 changes: 2 additions & 2 deletions client/ayon_core/hosts/flame/otio/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def frames_to_seconds(frames, framerate):
return otio.opentime.to_seconds(rt)


def get_reformated_filename(filename, padded=True):
def get_reformatted_filename(filename, padded=True):
"""
Return fixed python expression path

Expand All @@ -32,7 +32,7 @@ def get_reformated_filename(filename, padded=True):
type: string with reformatted path

Example:
get_reformated_filename("plate.1001.exr") > plate.%04d.exr
get_reformatted_filename("plate.1001.exr") > plate.%04d.exr

"""
found = FRAME_PATTERN.search(filename)
Expand Down
Loading