Skip to content

Commit

Permalink
got things working for this analysis.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubuntu committed Jun 21, 2022
1 parent fb2edf4 commit c4b6ec2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
8 changes: 5 additions & 3 deletions caiman/run_caiman_cli.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,14 @@ export CAIMAN_DATA="/home/ubuntu/caiman_data"
export MKL_NUM_THREADS=1
export OPENBLAS_NUM_THREADS=1
CAIMAN_DATA="$userhome/caiman_data"
python "$neurocaasrootdir"/caiman/parse_config_caiman.py "$bucketname" "$configpath" "$userhome/$configstore"
python "$neurocaasrootdir"/caiman/parse_config_caiman.py "$bucketname" "$userhome/$configstore/$configname" "$userhome/$configstore"
echo "----PARAMETERS PARSED. STARTING ANALYSIS----"
python "$neurocaasrootdir"/caiman/process_caiman.py "$configstore/final_pickled_new" "$datapath" "$userhome/$outstore" "$configpath"
python "$neurocaasrootdir"/caiman/process_caiman.py "$userhome/$configstore/final_pickled_new" "$datapath" "$userhome/$outstore" "$userhome/$configstore/$configname"
echo "----ANALYSIS FINISHED. GENERATING VIDEO----"
python "$neurocaasrootdir/caiman/make_videos.py" --dirpath "$userhome/$outstore" --dataname "$dataname"
###############################################################################################
## Stereotyped upload script for the data
echo "----UPLOADING RESULTS----"
neurocaas-contrib workflow put-result -r "$userhome/$outstore"

resultpath=$(dirname $(neurocaas-contrib workflow get-resultpath -l "$userhome/check_vars.txt"))
aws s3 sync "$userhome/$outstore" $resultpath
2 changes: 1 addition & 1 deletion run_main_cli.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ source "/home/ubuntu/.dlamirc"
export PATH="/home/ubuntu/anaconda3/bin:$PATH"
source activate caiman

neurocaas-contrib workflow initialize-job -p /home/ubuntu/contribdata
neurocaas-contrib workflow initialize-job -p /home/ubuntu/ncapdata

neurocaas-contrib workflow register-dataset -b "$1" -k "$2"
neurocaas-contrib workflow register-config -b "$1" -k "$4"
Expand Down
2 changes: 1 addition & 1 deletion src/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
classifiers=[
"Programming Language :: Python :: 3",
],
python_requires='>=3.6.8',
python_requires='>=3.6.6',
include_package_data=True,
package_data={"":["*Dockerfile","*.json","*.txt"]}
)
Expand Down

0 comments on commit c4b6ec2

Please sign in to comment.