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

basic fix avoiding writing to package files #394

Merged
merged 3 commits into from
Mar 27, 2024

Conversation

alessandrofelder
Copy link
Member

@alessandrofelder alessandrofelder commented Mar 26, 2024

Description

What is this PR

  • Bug fix
  • Addition of a new feature
  • Other

Why is this PR needed?
Specifying a non-default model currently writes to package files (which is a bad idea in general, but in particular causes errors on shared systems like our local HPC).

What does this PR do?
User-specified model configuration files are written to user folder instead.
It also documents and renames some of the functions involved.

References

Closes #393

How has this PR been tested?

Existing tests pass.

Is this a breaking change?

No.

Does this PR require an update to the documentation?

No.

Checklist:

  • The code has been tested locally
  • Tests have been added to cover all new functionality (unit & integration)
  • The documentation has been updated to reflect any changes
  • The code has been formatted with pre-commit

@alessandrofelder alessandrofelder self-assigned this Mar 26, 2024
@alessandrofelder alessandrofelder requested a review from a team March 26, 2024 18:32
@alessandrofelder alessandrofelder marked this pull request as ready for review March 26, 2024 18:32
@alessandrofelder
Copy link
Member Author

I am happy to adapt brainmapper to the new names and re-release once/if my suggested variable/function names in this PR have been approved by a reviewer, and make the related releases.

Copy link
Collaborator

@willGraham01 willGraham01 left a comment

Choose a reason for hiding this comment

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

I can't find the relevant issue or PR, but I have a feeling that we switched from using ~/.cellfinder to ~/.brainglobe at some point.

cellfinder/core/tools/source_files.py Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[BUG] Writing custom config is not possible on HPC with shared installation of BrainGlobe
2 participants