-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathupdate.sh
More file actions
executable file
·38 lines (31 loc) · 839 Bytes
/
Copy pathupdate.sh
File metadata and controls
executable file
·38 lines (31 loc) · 839 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# update of a user account already installed
echo update of 4 jan 2021
cd $HOME
echo "=== cleaning previous stuff"
find $HOME -path '*.pyc' -delete
mkdir -p prev_ipynb
mv *.ipynb prev_ipynb
# update
# spike
echo "=== update spike"
pip --log pip.log install --user -U spike-py
# EU tools
echo "=== update EU tools"
cd EUFT_Spike
fossil revert
fossil update
cp import_default.mscf C4template/static/
ls Easy*.py |xargs -n 1 jupytext --to notebook
# and move to $HOME
mv EasyDisplayLCFTICR.ipynb ../LCMS_Tool.ipynb
mv EasyProcessFTICR-MS.ipynb ../Process_Tool.ipynb
mv EasyDisplayFTICR2D.ipynb ../2D_Tool.ipynb
cd ..
# pour enlever les plugins inutiles:
EUFT_Spike/clean_plugins.sh
# install crontab
#echo "=== update crontab"
#python EUFT_Spike/install_cron.py
# then show version numbers
echo "=== Done"
python -m EUFT_Spike