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

write the diff to disk #2612

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

write the diff to disk #2612

wants to merge 2 commits into from

Conversation

dermen
Copy link
Contributor

@dermen dermen commented Feb 21, 2024

always leaves a debug trail

@dermen dermen requested a review from phyy-nx February 21, 2024 15:42
Copy link

codecov bot commented Feb 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.34%. Comparing base (5dd0b6c) to head (6ebbaa9).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2612      +/-   ##
==========================================
- Coverage   78.34%   78.34%   -0.01%     
==========================================
  Files         611      611              
  Lines       75386    75393       +7     
  Branches    10767    10767              
==========================================
+ Hits        59062    59066       +4     
- Misses      14143    14145       +2     
- Partials     2181     2182       +1     

@dermen
Copy link
Contributor Author

dermen commented May 30, 2024

@phyy-nx , any chance we might merge this in to master ?

@phyy-nx
Copy link
Member

phyy-nx commented May 30, 2024

Hi, the phil params are shown in the log file for dials.stills_process, named dials.process.log. That happens here. Is this sufficient for the phil params?

The other bits you've added are os.cwd and the command line arguments. I'd argue os.cwd isn't that relevant because output.output_dir is more important, which is in the diff phil. The command line arguments are folded up into the diff phil as well, except for the image file arguments (in the variable all_paths). Those I could see printing out using logger.info either right before or right after the diff_phil is shown. Probably useful to do that.

Thoughts? My opinions aren't super strong here :)

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.

None yet

2 participants