Skip to content

Commit

Permalink
Attempting to resolve numpy<2 installation requirement. There might b…
Browse files Browse the repository at this point in the history
…e a conflict between the "--force-reinstall" and "-I" flags used in the pip-installation of Numpy.
  • Loading branch information
sean-lockwood committed Feb 3, 2025
1 parent fedfb38 commit 12208e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"\n",
"Typically `tweakreg` and `astrodrizzle` require individual dark- and bias-subtracted, flat-fielded images (flt.fits), as for WFC3 and ACS. For STIS data, a few workarounds are required to ensure these codes can run on the STIS data. Additionally, specific parameters are set to ensure that additional calibrations (e.g, sky subtraction, CR-rejection, distortion corrections) are not applied to the already calibrated STIS data.\n",
"\n",
"See the [STIS Instrument Handbook](https://hst-docs.stsci.edu/stisihb) and [STIS Data Handbook](https://hst-docs.stsci.edu/stisdhb) (specifically [Section 2.2](https://hst-docs.stsci.edu/stisdhb/chapter-2-stis-data-structure/2-2-types-of-stis-files) on file types) for more information.\n",
"See the [STIS Instrument Handbook](https://hst-docs.stsci.edu/stisihb) and [STIS Data Handbook](https://hst-docs.stsci.edu/stisdhb) (specifically [Section 2.2](https://hst-docs.stsci.edu/stisdhb/chapter-2-stis-data-structure/2-2-types-of-stis-files) on file types) for more information. \n",
"____________________\n",
"## Imports\n",
"\n",
Expand Down
2 changes: 1 addition & 1 deletion notebooks/STIS/drizpac_notebook/pre-requirements.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Install numpy
pip install --force-reinstall -Iv 'numpy<2.0.0'
pip install --force-reinstall -v 'numpy<2.0.0'
# Install hstcal
conda install -y -c conda-forge hstcal==2.7.4

0 comments on commit 12208e6

Please sign in to comment.