Coverage for bin/phosimToRafts.py : 83%

Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
1#!/Users/square/j/ws/release/tarball/78dbddba8c/build/conda/miniconda3-py38_4.9.2/envs/lsst-scipipe-0.1.5/bin/python # noqa
2#
3# A python script to read phoSim's headers and write the per-raft datafiles
4# used by generateCamera.py
5#
6# This is not really part of obs_lsst, but it's useful to keep it here
7#
8# This file is part of obs_lsst.
9#
10# Developed for the LSST Data Management System.
11# This product includes software developed by the LSST Project
12# (http://www.lsst.org).
13# See the COPYRIGHT file at the top-level directory of this distribution
14# for details of code ownership.
15#
16# This program is free software: you can redistribute it and/or modify
17# it under the terms of the GNU General Public License as published by
18# the Free Software Foundation, either version 3 of the License, or
19# (at your option) any later version.
20#
21# This program is distributed in the hope that it will be useful,
22# but WITHOUT ANY WARRANTY; without even the implied warranty of
23# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24# GNU General Public License for more details.
25#
26# You should have received a copy of the GNU General Public License
27# along with this program. If not, see <http://www.gnu.org/licenses/>.
29import sys
30from lsst.obs.lsst.script.phosimToRafts import main
33if __name__ == '__main__': 33 ↛ exitline 33 didn't exit the module, because the condition on line 33 was never false
34 sys.exit(main())