Skip to content

Commit

Permalink
fix init bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
relleums committed Feb 19, 2024
1 parent 757b68a commit cdd4387
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion plenoirf/configuration/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def write_default(plenoirf_dir):
f.write(json_utils.dumps(make_sum_trigger(), indent=4))

with rnw.open(opj(pdir, "config", "ground_grid.json"), "wt") as f:
f.write(json_utils.dumps(make_groundgrid(), indent=4))
f.write(json_utils.dumps(make_ground_grid(), indent=4))

with rnw.open(opj(pdir, "config", "debug_output.json"), "wt") as f:
f.write(json_utils.dumps(make_debug_output(), indent=4))
Expand Down
2 changes: 1 addition & 1 deletion plenoirf/provenance.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def which(programname):
def get_starter_kit_abspath():
# Expect the corsika_primary to be in the "starter_kit"
path = os.path.abspath(corsika_primary.__file__)
for expected_name in ["__init__.py", "corsika_primary", "corsika_install"]:
for expected_name in ["__init__.py", "corsika_primary", "corsika_primary"]:
path, actual_name = os.path.split(path)
assert actual_name == expected_name
return path
Expand Down
2 changes: 1 addition & 1 deletion plenoirf/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.0.5"
__version__ = "1.0.6"

0 comments on commit cdd4387

Please sign in to comment.