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

Rename MontecarloRunner to MontecarloTransport #2310

Closed
wants to merge 3 commits into from

Conversation

xansh
Copy link
Member

@xansh xansh commented Jun 8, 2023

This request is stale. Please go to this PR instead.


📝 Description

Type: 🎢 restructure

Refactored MontecarloRunner to MontecarloTransport and runner to montecarlo_transport for restructuring

🚦 Testing

How did you test these changes?

  • Testing pipeline
  • Other method (describe)
  • My changes can't be tested (explain why)

☑️ Checklist

  • I requested two reviewers for this pull request
  • I updated the documentation according to my changes
  • I built the documentation by applying the build_docs label

Note: If you are not allowed to perform any of these actions, ping (@) a contributor.

@tardis-bot
Copy link
Contributor

*beep* *bop*

Hi, human.

I'm the @tardis-bot and couldn't find your records in my database. I think we don't know each other, or you changed your credentials recently.

Please add your name and email to .mailmap in your current branch and push the changes to this pull request.

In case you need to map an existing alias, follow this example.

@xansh xansh marked this pull request as draft June 8, 2023 13:33
@@ -725,7 +725,7 @@ def runner_from_hdf(fname):
)

# Creating a runner object and storing data
new_runner = MontecarloRunner(
new_runner = MontecarloTransport(
Copy link
Member

Choose a reason for hiding this comment

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

let's rename new_runner into montecarlo_transport

@@ -97,7 +97,7 @@ class Simulation(PlasmaStateStorerMixin, HDFWriterMixin):
iterations : int
model : tardis.model.Radial1DModel
plasma : tardis.plasma.BasePlasma
runner : tardis.montecarlo.MontecarloRunner
montecarlo_transport : tardis.montecarlo.MontecarloRunner
Copy link
Member

Choose a reason for hiding this comment

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

that needs to be MonteCarloTransport right

@wkerzendorf
Copy link
Member

@xansh tests fail

@xansh xansh closed this Jun 9, 2023
@xansh xansh deleted the MonteCarloTransport branch June 9, 2023 00:21
@xansh xansh restored the MonteCarloTransport branch June 9, 2023 00:26
@xansh xansh reopened this Jun 9, 2023
@xansh xansh closed this Jun 9, 2023
@xansh xansh deleted the MonteCarloTransport branch June 9, 2023 00:28
@xansh xansh changed the title Refactored MontecarloRunner to MontecarloTransport and runner to montecarlo_transport Rename MontecarloRunner to MontecarloTransport Jun 9, 2023
@xansh
Copy link
Member Author

xansh commented Jun 9, 2023

Accidentally closed this when I was renaming the branch.

Logged a new request here. Please see that PR instead.

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