Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ /Users/jlong/software/example_jwxml/dist/ex.app/Contents/MacOS/ex | |
/Users/jlong/software/example_jwxml/dist/ex.app/Contents/MacOS/matplotlib/font_manager.py:273: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment. | |
Failed to execute script ex | |
Traceback (most recent call last): | |
File "ex.py", line 1, in <module> | |
import jwxml | |
File "/private/var/folders/2t/m92rpkyn2ps064ffwv0qxrbm0001dr/T/pip-build-gaiwtl/pyinstaller/PyInstaller/loader/pyimod03_importers.py", line 389, in load_module | |
File "jwxml/__init__.py", line 20, in <module> | |
IOError: [Errno 2] No such file or directory: '/Users/jlong/software/example_jwxml/dist/ex.app/Contents/MacOS/jwxml/VERSION' |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ 1/62 ] cfitsio 3360.lsst4 ... done. | |
[ 2/62 ] doxygen 1.8.5.lsst1 (already installed) done. | |
[ 3/62 ] eigen 3.2.5.lsst1 ... done. | |
[ 4/62 ] fftw 3.3.4.lsst2 ... done. | |
[ 5/62 ] gsl 1.16.lsst3 ... done. | |
[ 6/62 ] mariadbclient 10.1.11.lsst3 ... + setup --type=build -k -r . | |
++ /astro/ferguson1/jlong/lsststack/eups/bin/eups_setup DYLD_LIBRARY_PATH=/astro/ferguson1/jlong/lsststack/Linux64/gsl/1.16.lsst3/lib:/astro/ferguson1/jlong/lsststack/Linux64/fftw/3.3.4.lsst2/lib:/astro/ferguson1/jlong/lsststack/Linux64/cfitsio/3360.lsst4/lib --type=build -k -r . | |
+ eval export 'MYSQL_INCLUDE_PATH=/astro/ferguson1/jlong/lsststack/EupsBuildDir/Linux64/mariadbclient-10.1.11.lsst3/mariadbclient-10.1.11.lsst3/include/mysql;' export 'DYLD_LIBRARY_PATH=/astro/ferguson1/jlong/lsststack/EupsBuildDir/Linux64/mariadbclient-10.1.11.lsst3/mariadbclient-10.1.11.lsst3/lib:/astro/ferguson1/jlong/lsststack/Linux64/gsl/1.16.lsst3/lib:/astro/ferguson1/jlong/lsststack/Linux64/fftw/3.3.4.lsst2/lib:/astro/ferguson1/jlong/lsst |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -ue | |
NEW_BREW_PREFIX="local" | |
if [[ $PATH == */usr/stsci/*ssb* ]] | |
then | |
echo "There's an SSB environment activated (ssbdev, ssbx, or ssbrel)." | |
echo "Things could go unpredictably if this script were to continue. Try running without a Ureka / SSB environment activated." | |
exit 1 | |
fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In [1]: DQ_GAIN_SAG_HOLE = 8192 | |
...: DQ_PHA_OUT_OF_BOUNDS = 512 | |
...: | |
In [2]: some_dq = 8192 + 512 + 256 + 2 | |
In [3]: print("{:016b}".format(some_dq)) | |
0010001100000010 | |
In [4]: altered_dq = some_dq & ~DQ_GAIN_SAG_HOLE |