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

Fix cu_hxr energy gain profile calculation #204

Closed
wants to merge 0 commits into from

Conversation

williamColocho
Copy link
Contributor

A few bugs introduced while reworking the code.

Copy link
Member

@nneveu nneveu left a comment

Choose a reason for hiding this comment

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

I'm not sure I see what changed in the model_general_calcs.py file? Maybe an accidental addition to this commit/PR?

Copy link
Member

Choose a reason for hiding this comment

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

This file is already on this repo with these functions? Maybe this wasn't meant to be updated?

@nneveu
Copy link
Member

nneveu commented Nov 22, 2024

Also, let me know if you want help resolving the conflicts.

@williamColocho
Copy link
Contributor Author

williamColocho commented Nov 22, 2024 via email

@robnagler
Copy link
Collaborator

I don't fully understand being ahead and behind.

Ahead means that the branch has changes that are not yet added to main, i.e. the changes you desire to add to main in the PR.

Behind means that the main branch has changes that have yet to be merged into your branch, i.e. other PRs being merged into main since you started development (or the last time you merged main).

What should my regular workflow be to stay on the main branch?

Merge main into your working branch every day before beginning work and possibly multiple times in a day, depending on the state of the branch. Depending on the complexity of changes, you may be able to rebase (apply your changes on top of any new changes in main) instead of merging. This avoids interleaved changes when the PR is created.

Personally, for larger projects, I always merge and resolve conflicts, and then I recreate a new branch with a squash merge just before the PR. This way there's a single commit with a cohesive description for the PR, which can help reviewers. My branches tend to be very messy, because I commit multiple times in a day to backup my work.

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