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

Compare md5 crhs #54

Merged
merged 15 commits into from
Mar 10, 2023
Merged

Compare md5 crhs #54

merged 15 commits into from
Mar 10, 2023

Conversation

bordin89
Copy link
Collaborator

@bordin89 bordin89 commented Mar 7, 2023

No description provided.

@bordin89 bordin89 requested a review from sillitoe March 7, 2023 15:16
bordin89 added 8 commits March 7, 2023 15:36
Replace file_stub with af_domain_id_str
Replace click.echo with LOG.debug to tidy output
Replace LOG.info with LOG.debug
Add flag for gzipped chains
Add option for status_log
Implement StatusLog writer
Fix issue with  boundaries as str
Add open function to deal with regular or gzip files
Add function write_status_log
Add click flag for gzipped cifs
@bordin89 bordin89 marked this pull request as ready for review March 10, 2023 15:06
@@ -235,6 +266,7 @@ def calculate_domain_id_post_tailchop(
af_domain_id: AFDomainID,
af_chain_mmcif_dir: Path,
cutoff_plddt_score: int,
gzipped_af_chains = bool,
Copy link
Contributor

Choose a reason for hiding this comment

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

no, this needs to be:

gzipped_af_chains: bool

or if you want to give it a default value, it should be

gzipped_af_chains: bool = True

Copy link
Contributor

Choose a reason for hiding this comment

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

adding the default value would match the existing functionality, but allow a different option - which is generally what you want to do

Copy link
Contributor

Choose a reason for hiding this comment

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

(note: this is currently working because the function bool evaluates to true)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Done

@bordin89 bordin89 merged commit 1a75a13 into main Mar 10, 2023
@bordin89 bordin89 deleted the compare-md5-crhs branch March 10, 2023 15:37
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