Commit c59403b0 authored by Earnest, Donnie's avatar Earnest, Donnie
Browse files

change notebook folder for dev

parent eed7dd3e
Loading
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -2,9 +2,11 @@

# select the environment to use
CONDA_ENVIRON=neutron-imaging
NOTEBOOK_DIR=~/notebooks/IPTS_notebooks
if [ -n "$1" ]; then
  if [ "$1" == "--dev" ]; then
    CONDA_ENVIRON=neutron-imaging-dev
    NOTEBOOK_DIR=~/notebooks/IPTS_notebooks_testing
    shift  # drop this argument
  fi
fi
@@ -20,7 +22,7 @@ echo "Update the notebooks..."
rsync --exclude '.git*' -a /SNS/software/share/jupyter/notebooks/ ~/notebooks/
echo "Done!"

cd ~/notebooks/IPTS_notebooks
cd $NOTEBOOK_DIR

echo "Starting Jupyter... (be patient please while we set up your system!)"
/opt/anaconda/envs/neutron-imaging/bin/jupyter notebook notebooks
+4 −1
Original line number Diff line number Diff line
%global srcname nsd-app-wrap

Name:           nsd-app-wrap
Version:        1.13
Version:        1.14
Release:        1%{?dist}
Summary:        Wrapper scripts to launch python applications installed via anaconda
Vendor:         Peter F. Peterson
@@ -47,6 +47,9 @@ mv pyrs.desktop %{buildroot}%{_datadir}/applications/
%license LICENSE

%changelog
* Mon Sep 2 2021 Donnie Earnest
- changed notebook folder for dev 

* Mon Aug 27 2021 Donnie Earnest
- forgot trailing slash with rsync