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 directory path normalization #890

Merged
merged 24 commits into from
May 2, 2022

Conversation

mberr
Copy link
Member

@mberr mberr commented Apr 26, 2022

Fix #887

@mberr mberr changed the title Fix directory path normalization 🪛📁 Fix directory path normalization Apr 26, 2022
@mberr mberr requested a review from cthoyt April 26, 2022 11:23
def _cache_sub_directories(self) -> Iterable[str]:
"""Iterate over appropriate cache sub-directory."""
# TODO: use class-resolver normalize?
return self.__class__.__name__.lower()
Copy link
Member

Choose a reason for hiding this comment

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

this looks like a bug, this returns the string instead of yields it. why does this need to be a function? it's only used once

Copy link
Member Author

Choose a reason for hiding this comment

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

it is overridden by wk3l to share the cache between cn3l, wk3l15k and wk3l120k

@mberr
Copy link
Member Author

mberr commented Apr 30, 2022

cf. 78e2cff for fix to failing pipeline

@cthoyt
Copy link
Member

cthoyt commented May 1, 2022

@PyKEEN-bot test

@mberr
Copy link
Member Author

mberr commented May 2, 2022

@PyKEEN-bot test

@mberr mberr enabled auto-merge (squash) May 2, 2022 10:59
@mberr mberr merged commit c34d401 into master May 2, 2022
@mberr mberr deleted the fix-relative-path-logging-error branch May 2, 2022 11:12
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.

PipelineResult.save_to_directory's log call fails for relative pathlib.Path
3 participants