Skip to content

get checksums_from working#108

Merged
ltroussellier merged 2 commits into
mainfrom
checksums_from
Apr 14, 2026
Merged

get checksums_from working#108
ltroussellier merged 2 commits into
mainfrom
checksums_from

Conversation

@alaniwi
Copy link
Copy Markdown
Collaborator

@alaniwi alaniwi commented Apr 11, 2026

A couple of minor bugs were preventing the --checksum-from option in esgmapfile from working:

  • a class intended to be used with action= in argparse was being used with type= . (PR also corrects another similar bug, not directly related to checksumming.)
  • correct some wrong logic that was disabling output of checksum with --checksums-from was used. We want self.no_checksum set to False so that checksums are output. (They will only be computed for files that are not listed.)

Now tested and working.

PR also includes a minor tidyup of some nested if statements (replace with and)

@alaniwi
Copy link
Copy Markdown
Collaborator Author

alaniwi commented Apr 11, 2026

Test failures seem to be unrelated to the code changes.

@ltroussellier ltroussellier merged commit c6c5c86 into main Apr 14, 2026
5 of 15 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