Skip to content

Commit

Permalink
moved validation to atomica
Browse files Browse the repository at this point in the history
  • Loading branch information
parhammmm committed Feb 28, 2019
1 parent 70177ee commit b6dc891
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 7 deletions.
2 changes: 0 additions & 2 deletions dist/sciris-js.cjs.js
Original file line number Diff line number Diff line change
Expand Up @@ -496,8 +496,6 @@ function makeGraphs(vm, data, routepath) {

function reloadGraphs(vm, project_id, cache_id, showNoCacheError, iscalibration, plotbudget) {
console.log('reloadGraphs() called');
utils.validateYears(vm); // Make sure the start end years are in the right range.

status.start(vm);
rpcs.rpc('plot_results', [project_id, cache_id, vm.plotOptions], {
tool: vm.toolName(),
Expand Down
2 changes: 0 additions & 2 deletions dist/sciris-js.es.js
Original file line number Diff line number Diff line change
Expand Up @@ -490,8 +490,6 @@ function makeGraphs(vm, data, routepath) {

function reloadGraphs(vm, project_id, cache_id, showNoCacheError, iscalibration, plotbudget) {
console.log('reloadGraphs() called');
utils.validateYears(vm); // Make sure the start end years are in the right range.

status.start(vm);
rpcs.rpc('plot_results', [project_id, cache_id, vm.plotOptions], {
tool: vm.toolName(),
Expand Down
2 changes: 0 additions & 2 deletions dist/sciris-js.js
Original file line number Diff line number Diff line change
Expand Up @@ -10199,8 +10199,6 @@

function reloadGraphs(vm, project_id, cache_id, showNoCacheError, iscalibration, plotbudget) {
console.log('reloadGraphs() called');
utils.validateYears(vm); // Make sure the start end years are in the right range.

status.start(vm);
rpcs.rpc('plot_results', [project_id, cache_id, vm.plotOptions], {
tool: vm.toolName(),
Expand Down
1 change: 0 additions & 1 deletion src/libs/graphs.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ function makeGraphs(vm, data, routepath) {

function reloadGraphs(vm, project_id, cache_id, showNoCacheError, iscalibration, plotbudget) {
console.log('reloadGraphs() called')
utils.validateYears(vm) // Make sure the start end years are in the right range.
status.start(vm)
rpcs.rpc('plot_results', [project_id, cache_id, vm.plotOptions],
{tool:vm.toolName(), 'cascade':null, plotyear:vm.endYear, pops:vm.activePop, calibration:iscalibration, plotbudget:plotbudget})
Expand Down

0 comments on commit b6dc891

Please sign in to comment.