Skip to content

Commit

Permalink
[ENH] update telemetry
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Levitas committed Jul 29, 2024
1 parent 270ef94 commit eab72ef
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion handler/bids.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,14 @@ echo "Creating ezBIDS telemetry files"
./telemetry.py $root

# Telemetry (to hard-coded pet2bids server)
curl -H 'Content-Type: application/json' -d @$root/validator.json -X POST http://52.87.154.236/telemetry/
if [ -f $root/validator.json ]; then
curl -H 'Content-Type: application/json' -d @$root/validator.json -X POST http://52.87.154.236/telemetry/
fi

if [ -f $root/ezBIDS_core_telemetry.json ]; then
curl -H 'Content-Type: application/json' -d @$root/ezBIDS_core_telemetry.json -X POST http://52.87.154.236/telemetry/
fi

if [ -f $root/ezBIDS_finalized_telemetry.json ]; then
curl -H 'Content-Type: application/json' -d @$root/ezBIDS_finalized_telemetry.json -X POST http://52.87.154.236/telemetry/
fi

0 comments on commit eab72ef

Please sign in to comment.