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

341 create a way #384

Merged
merged 19 commits into from
Jun 11, 2024
Merged

341 create a way #384

merged 19 commits into from
Jun 11, 2024

Conversation

hughes036
Copy link
Collaborator

@hughes036 hughes036 commented Jun 7, 2024

Objective

Allow users to find out where their experiments_home directory is, and to change it.

Changes

  • UserSettings.display_change_user_experiments_home - open a dialog displaying the current value, and allow the user to select a new one.
  • UserSettings.prompt_for_user_experiments_home is void, takes care of persisting the choice internally.

Testing

Manual. Lmk if you think this calls for unit testing, currently I am feeling ok without it.

TODO

  • Unit testing
  • Bug - dir selection dialog closes unexpectedly with /Users/chrishu/.pyenv/versions/3.10.4/lib/python3.10/multiprocessing/resource_tracker.py:224: UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown warnings.warn('resource_tracker: There appear to be %d '

Copy link
Collaborator

@saeliddp saeliddp left a comment

Choose a reason for hiding this comment

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

Looks good, left a few things to consider

Copy link
Collaborator

@yrkim98 yrkim98 left a comment

Choose a reason for hiding this comment

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

lgtm (but see dialog box comment)

@saeliddp saeliddp mentioned this pull request Jun 11, 2024
@hughes036 hughes036 merged commit c47adb0 into main Jun 11, 2024
3 checks passed
@hughes036 hughes036 deleted the 341-create-a-way- branch June 11, 2024 22:03
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