-
-
Notifications
You must be signed in to change notification settings - Fork 976
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
Metadata Postprocessor does not output correct filename #865
Comments
Okay, so abbd8fb changed behavior that the metadata postprocessor depended on. In order to keep the changes, |
See PR #866 that fixes this bug |
Now, there's actually still a problem there, because output filenames get filenames that look like ... |
This prevents pathfmt.filename from potentially being empty.
Seems like some of the I think d5bfb0b is a simpler fix then your PR, but I might have "broken" something on your end by getting rid of a valid
Well, no. Why would it be necessary in all cases? (using |
Does d5bfb0b create ".metadata" files when this case hits, or does the name formatter end up removing that down the line?
I was wrong about "all cases"; none of the files I was testing had extensions, and so this issue happened with every file. That turned out to just be due to the test of tests.
I wasn't familiar with the |
I think I still am tentatively going to advocate for #866 because
|
See #866 (comment) |
I'm seeing some cases where the
pathfmt.filename
for metadata files is blank, leaving stray.json
files. Investigation ongoing.In
metadata.py
, the filename method is only replaced withself._filename = self._filename_custom
when there is aextension-format
option set in the postprocessor configuration, even though the method replacement is necessary in all cases.The text was updated successfully, but these errors were encountered: