Skip to content

Commit

Permalink
its mostly info not debug
Browse files Browse the repository at this point in the history
  • Loading branch information
relleums committed Jan 3, 2024
1 parent a531c39 commit 1e2ee7a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion plenoirf/production/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def run_job_in_dir(job, tmp_dir):
logger.debug("making tmp_dir: {:s}".format(job["paths"]["tmp_dir"]))
os.makedirs(job["paths"]["tmp_dir"], exist_ok=True)

logger.debug("initializing prng(seed={:d})".format(job["run_id"]))
logger.info("initializing prng(seed={:d})".format(job["run_id"]))
job["prng"] = np.random.Generator(np.random.PCG64(seed=job["run_id"]))
job["run"] = {}

Expand Down
2 changes: 1 addition & 1 deletion plenoirf/production/draw_event_ids_for_debug_output.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def run_job(job, logger):
],
prng=job["prng"],
)
logger.debug(
logger.info(
"event-ids for debugging: {:s}.".format(
str(job["run"]["event_ids_for_debug"].tolist())
)
Expand Down
3 changes: 1 addition & 2 deletions plenoirf/production/draw_pointing_range.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ def draw_pointing_range(max_zenith_distance_rad, run_half_angle_rad, prng):


def run_job(job, logger):
logger.debug("drawing run's pointing-range")

job["run"]["pointing_range"] = draw_pointing_range(
max_zenith_distance_rad=job["config"]["pointing"]["range"][
"max_zenith_distance_rad"
Expand All @@ -47,5 +45,6 @@ def run_job(job, logger):
],
prng=job["prng"],
)
logger.info("draw_pointing_range")

return job

0 comments on commit 1e2ee7a

Please sign in to comment.