-
Notifications
You must be signed in to change notification settings - Fork 22
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
Adds {journal} field to file options and tests it #65
Conversation
Without looking in detail, the items can be stored as name.pdf , or as name/original_name.pdf, to allow for attachments to be saved alongside (it's quite, but not entirely PDF-centric). |
...and the checksum function can only apply to a PDF, not to a directory |
@perrette -- Ok, ready for your perspective... with a significant caveat: The actual feature works, and the test to check is The bad thing is that the test suite runs What might get around this is generating an So, I think I need an opinion from the papers BDFL here. ;) |
@perrette -- just touching base here... |
Hello, just wanted to touch base here.... |
@perrette -- hello, just reaching out to see what your opinion here is... Thanks kindly! |
Hi @boyanpenkov , I am back doing some minor checks on papers, I'll look into it now. I merged perfect-undo into master, BTW. Can that PR be redirected towards master somehow? |
Oh, super -- thanks; do let me know. I'd be glad for an opinion here... |
state (this fixes an issue in tests for #65)
Ok so I did merge the PR into master. The only thing I changed was the tests: you had commented a bunch of things that were actually useful (testing the full renamed path). The issue I think you were trying to address (an error when checking the paths) came from an unwanted side-effect of modifying the file template that also inadvertedly modify the global default template, and so your journal modification was persistent throughout the rest of the code. I simply added a copy.deepcopy for the |
Oh, this is fantastic -- super; I'll take a look here (please bear with me -- very tied up with the end of my thesis here...). Yes, if memory served the root cause of the observation was that tests explicitly relied on the local settings file. I'll take a look here when I come up for air. (and yes, sorry about temporarily commenting out things that were useful that should ultimately be run, in my working copy). |
wip
dontmerge
closes #64
I am looking at adding the {journal} option here, and thing I have tracked though the entry mechanism there. however, when I run, I see the following error still:
@perrette -- am I missing something here? That thing is indeed a directory, which is the target for the PDFs I'd like to have.
I will end up testing this in
test_add.py
unless there are objections.