Hide keyboard shortcuts

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/5f0a3118dd/build/python/miniconda3-4.7.12/envs/lsst-scipipe-448abc6/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/>. 

28 

29import sys 

30from lsst.obs.lsst.script.phosimToRafts import main 

31 

32 

33if __name__ == '__main__': 33 ↛ exitline 33 didn't exit the module, because the condition on line 33 was never false

34 sys.exit(main())