Skip to content

Commit

Permalink
Merge pull request #47 from cta-observatory/fix-setup
Browse files Browse the repository at this point in the history
Add missing console scripts for MAGIC-LST1 analysis
  • Loading branch information
aleberti authored Apr 27, 2022
2 parents bf2b4f9 + 193da23 commit e5f1c64
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 5 deletions.
2 changes: 1 addition & 1 deletion magicctapipe/__init__.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
from .version import __version__
from . import image
from . import irfs
from . import reco
from . import scripts
from . import utils

from .version import __version__

__all__ = [
"image",
Expand Down
6 changes: 6 additions & 0 deletions magicctapipe/scripts/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
from .lst1_magic import (
create_dl3_index_files,
create_irf,
dl1_stereo_to_dl2,
dl2_to_dl3,
event_coincidence,
mc_dl0_to_dl1,
stereo_reconstruction,
Expand All @@ -11,7 +14,10 @@
)

__all__ = [
'create_dl3_index_files',
'create_irf',
'dl1_stereo_to_dl2',
'dl2_to_dl3',
'event_coincidence',
'mc_dl0_to_dl1',
'stereo_reconstruction',
Expand Down
6 changes: 6 additions & 0 deletions magicctapipe/scripts/lst1_magic/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
from .create_dl3_index_files import create_dl3_index_files
from .lst1_magic_create_irf import create_irf
from .lst1_magic_dl1_stereo_to_dl2 import dl1_stereo_to_dl2
from .lst1_magic_dl2_to_dl3 import dl2_to_dl3
from .lst1_magic_event_coincidence import event_coincidence
from .lst1_magic_mc_dl0_to_dl1 import mc_dl0_to_dl1
from .lst1_magic_stereo_reco import stereo_reconstruction
Expand All @@ -11,7 +14,10 @@
from .merge_hdf_files import merge_hdf_files

__all__ = [
'create_dl3_index_files',
'create_irf',
'dl1_stereo_to_dl2',
'dl2_to_dl3',
'event_coincidence',
'mc_dl0_to_dl1',
'stereo_reconstruction',
Expand Down
10 changes: 6 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
#!/usr/bin/env python
# Licensed under a 3-clause BSD style license - see LICENSE.rst

# import ah_bootstrap
from setuptools import setup, find_packages
import os
from setuptools import setup, find_packages

entry_points = {}
entry_points["console_scripts"] = [
"lst1_magic_dl1_to_dl2 = magicctapipe.scripts.lst1_magic.lst1_magic_dl1_to_dl2:main",
"create_dl3_index_files = magicctapipe.scripts.lst1_magic.create_dl3_index_files:main",
"lst1_magic_create_irf = magicctapipe.scripts.lst1_magic.lst1_magic_create_irf:main",
"lst1_magic_dl1_stereo_to_dl2 = magicctapipe.scripts.lst1_magic.lst1_magic_dl1_stereo_to_dl2:main",
"lst1_magic_dl2_to_dl3 = magicctapipe.scripts.lst1_magic.lst1_magic_dl2_to_dl3:main",
"lst1_magic_event_coincidence = magicctapipe.scripts.lst1_magic.lst1_magic_event_coincidence:main",
"lst1_magic_mc_dl0_to_dl1 = magicctapipe.scripts.lst1_magic.lst1_magic_mc_dl0_to_dl1:main",
"lst1_magic_stereo_reco = magicctapipe.scripts.lst1_magic.lst1_magic_stereo_reco:main",
"lst1_magic_train_rfs = magicctapipe.scripts.lst1_magic.lst1_magic_train_rfs:main",
"magic_data_cal_to_dl1 = magicctapipe.scripts.lst1_magic.magic_data_cal_to_dl1:main",
"magic_calib_to_dl1 = magicctapipe.scripts.lst1_magic.magic_calib_to_dl1:main",
"merge_hdf_files = magicctapipe.scripts.lst1_magic.merge_hdf_files:main",
]

Expand Down

0 comments on commit e5f1c64

Please sign in to comment.