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

refactor: simplify _check_file_exists and get_profile_version #562

Merged
merged 1 commit into from
Oct 20, 2021

Conversation

jenhagg
Copy link
Collaborator

@jenhagg jenhagg commented Oct 20, 2021

Purpose

Simplify existence check based on this discussion. Standardize behavior of get_profile_version based on discussion with Anna.

What the code is doing

See above

Testing

Manually tested each of the 4 branches in _check_file_exists.

Time estimate

5 min

@jenhagg jenhagg self-assigned this Oct 20, 2021
Copy link
Collaborator

@BainanXia BainanXia left a comment

Choose a reason for hiding this comment

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

Easier to read. Thanks!

@jenhagg jenhagg merged commit ee0bd1e into develop Oct 20, 2021
@jenhagg jenhagg deleted the jon/refactor branch October 20, 2021 22:58
@kasparm
Copy link
Contributor

kasparm commented Oct 21, 2021

Thanks for the quick integration of my feedback @jon-hagg

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.

3 participants