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

Py 3.8 support #88

Merged
merged 3 commits into from
Apr 11, 2024
Merged

Py 3.8 support #88

merged 3 commits into from
Apr 11, 2024

Conversation

bipinkrish
Copy link
Contributor

No description provided.

@@ -10,11 +8,11 @@
def find_missing_pose_files(directory: str):
all_files = os.listdir(directory)
mp4_files = [f for f in all_files if f.endswith(".mp4")]
pose_files = {f.removesuffix(".pose") for f in all_files if f.endswith(".pose")}
pose_files = {os.path.splitext(f)[0] for f in all_files if f.endswith(".pose")}
Copy link
Collaborator

Choose a reason for hiding this comment

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

can we please define and use a function called removesuffix? (for example)

def removesuffix(text, suffix):
if text.endswith(suffix):
    return text[:-len(suffix)]
else:
    return text

Copy link
Contributor Author

Choose a reason for hiding this comment

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

sure

@bipinkrish
Copy link
Contributor Author

@AmitMY please "Squash & Merge"

@AmitMY AmitMY merged commit 9cb50de into sign-language-processing:master Apr 11, 2024
2 checks passed
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