From f3f877d28f71330bc2ff2fb2e8f640db5e892571 Mon Sep 17 00:00:00 2001 From: Rob Kooper Date: Fri, 16 May 2014 16:30:39 -0700 Subject: [PATCH] fix to load-bety script --- scripts/load.bety.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/load.bety.sh b/scripts/load.bety.sh index b5ab8e92f11..e19cc30ef68 100755 --- a/scripts/load.bety.sh +++ b/scripts/load.bety.sh @@ -87,9 +87,9 @@ fi # compute range based on {MY,REMOTE}SITE MY_START_ID=$(( MYSITE * ID_RANGE + 1 )) -MY_LAST_ID=$(( START_ID + ID_RANGE - 1 )) +MY_LAST_ID=$(( MY_START_ID + ID_RANGE - 1 )) REM_START_ID=$(( REMOTESITE * ID_RANGE + 1 )) -REM_LAST_ID=$(( START_ID + ID_RANGE - 1 )) +REM_LAST_ID=$(( REM_START_ID + ID_RANGE - 1 )) # clean tables for T in users citations counties covariates cultivars dbfiles ensembles entities formats likelihoods location_yields machines managements methods mimetypes models pfts posteriors priors sessions sites species treatments variables inputs traits yields; do