Skip to content

Commit ae3ef6a

Browse files
committed
Cleaned up comments
1 parent 0c0afb9 commit ae3ef6a

1 file changed

Lines changed: 3 additions & 10 deletions

File tree

pyro.py

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,6 @@
2929
class Pyro(object):
3030
"""
3131
The main driver to run pyro.
32-
33-
Notes / TODO:
34-
35-
* Should it be possible to pass in a problem function and initialise a Pyro/
36-
Simulation object using that? That would also require some modifications
37-
of the Simulation class, as we currently pass the problem name to its
38-
constructor. I think this would make sense though if we were moving
39-
towards something that worked better as a Jupyter Notebook.
4032
"""
4133

4234
def __init__(self, solver_name):
@@ -88,8 +80,9 @@ def initialize_problem(self, problem_name, inputs_file=None, inputs_dict=None,
8880

8981
problem_defaults_file = self.solver_name + \
9082
"/problems/_" + problem_name + ".defaults"
83+
84+
# problem-specific runtime parameters
9185
if os.path.isfile(problem_defaults_file):
92-
# problem-specific runtime parameters
9386
self.rp.load_params(problem_defaults_file)
9487

9588
# now read in the inputs file
@@ -240,7 +233,7 @@ def __init__(self, solver_name, comp_bench=False,
240233

241234
def run_sim(self):
242235
"""
243-
Evolve entire simulation. Benchmark at the end.
236+
Evolve entire simulation and benchmark at the end.
244237
"""
245238

246239
super().run_sim()

0 commit comments

Comments
 (0)