The notebook in this gist is meant to illustrate a problem we're experiencing with a notebook that often fails to save at all when attempting to write to it from a cloud-hosted bub.
See the saving-bug notebok for more details.
| %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
| %%% LaPreprint: PREPRINT TEMPLATE | |
| %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
| \documentclass[9pt,arxiv]{lapreprint} | |
| % Import packages | |
| \usepackage[version=4]{mhchem} % For chemical notation | |
| \usepackage{siunitx} % For SI units | |
| \usepackage{pdflscape} % For putting pages in landscape mode |
| #!/usr/bin/env python | |
| """ | |
| Refresh an environment yaml file to current versions. | |
| This script reads an existing `environment.yml` file (for Conda/Mamba | |
| environments) and writes out a new file listing the same packages, but listing | |
| all currently available versions of the listed packages. | |
| For an alternate approach, that queries PyPI/Conda-Forge to gather the most | |
| recent versions of all packages, see @yuvipanda's similar script at |
| #!/usr/bin/env python | |
| """Copy data files to final html directory. | |
| """ | |
| #----------------------------------------------------------------------------- | |
| # Imports | |
| #----------------------------------------------------------------------------- | |
| import os | |
| import sys |
The notebook in this gist is meant to illustrate a problem we're experiencing with a notebook that often fails to save at all when attempting to write to it from a cloud-hosted bub.
See the saving-bug notebok for more details.
| #!/usr/bin/env python | |
| """Copy data files to final html directory. | |
| """ | |
| #----------------------------------------------------------------------------- | |
| # Imports | |
| #----------------------------------------------------------------------------- | |
| import os | |
| import sys |