tcheck that sample depth is set - cosmo - front and backend for Markov-Chain Monte Carlo inversion of cosmogenic nuclide concentrations
(HTM) git clone git://src.adamsgaard.dk/cosmo
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 8a28298294a16fcc0dac17476c0f1c9551b2f869
(DIR) parent fd95da6c46be1ada377d04d8f52ac042baa0a3d1
(HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Wed, 21 Oct 2015 11:19:25 +0200
check that sample depth is set
Diffstat:
M uploadhistory.php | 16 ++++++++++++----
1 file changed, 12 insertions(+), 4 deletions(-)
---
(DIR) diff --git a/uploadhistory.php b/uploadhistory.php
t@@ -66,26 +66,34 @@ if ((!isset($_POST['be_conc']) || $_POST['be_conc'] == '') &&
// rate
if ((isset($_POST['be_conc']) && $_POST['be_conc'] != '') &&
(!isset($_POST['be_prod']) || $_POST['be_prod'] == '' ||
+ !isset($_POST['be_zobs']) || $_POST['be_zobs'] == '' ||
!isset($_POST['be_uncer']) || $_POST['be_uncer'] == '')) {
- array_push($missing_fields, 'Production rate and/or uncertainty for ' .
+ array_push($missing_fields,
+ 'Production rate, sample depth, and/or uncertainty for ' .
'<sup>10</sup>Be');
}
if ((isset($_POST['al_conc']) && $_POST['al_conc'] != '') &&
(!isset($_POST['al_prod']) || $_POST['al_prod'] == '' ||
+ !isset($_POST['al_zobs']) || $_POST['al_zobs'] == '' ||
!isset($_POST['al_uncer']) || $_POST['al_uncer'] == '')) {
- array_push($missing_fields, 'Production rate and/or uncertainty for ' .
+ array_push($missing_fields,
+ 'Production rate, sample depth, and/or uncertainty for ' .
'<sup>26</sup>Al');
}
if ((isset($_POST['c_conc']) && $_POST['c_conc'] != '') &&
(!isset($_POST['c_prod']) || $_POST['c_prod'] == '' ||
+ !isset($_POST['c_zobs']) || $_POST['c_zobs'] == '' ||
!isset($_POST['c_uncer']) || $_POST['c_uncer'] == '')) {
- array_push($missing_fields, 'Production rate and/or uncertainty for ' .
+ array_push($missing_fields,
+ 'Production rate, sample depth, and/or uncertainty for ' .
'<sup>14</sup>C');
}
if ((isset($_POST['ne_conc']) && $_POST['ne_conc'] != '') &&
(!isset($_POST['ne_prod']) || $_POST['ne_prod'] == '' ||
+ !isset($_POST['ne_zobs']) || $_POST['ne_zobs'] == '' ||
!isset($_POST['ne_uncer']) || $_POST['ne_uncer'] == '')) {
- array_push($missing_fields, 'Production rate and/or uncertainty for ' .
+ array_push($missing_fields,
+ 'Production rate, sample depth, and/or uncertainty for ' .
'<sup>21</sup>Ne');
}