Commit d6bf6ef5e554f065fc0727fff29ba8dd5ee92160
1 parent
a242857a
Exists in
master
and in
66 other branches
Get the possibility to use a TimeTable for an epoch plot request
Showing
1 changed file
with
2 additions
and
3 deletions
Show diff stats
src/InputOutput/IHMImpl/Params/PlotImpl/IHMInputOutputParamsPlotClass.php
... | ... | @@ -472,9 +472,8 @@ class IHMInputOutputParamsPlotClass extends IHMInputOutputParamsAbstractClass |
472 | 472 | break; |
473 | 473 | case 'epochPlot' : |
474 | 474 | $plotNode = $panelNode->addPlotElement(RequestOutputPlotElementTypeEnum::EPOCHPLOT); |
475 | - if ($panelData->{'panel-epoch-centertimeid'} == '') | |
476 | - throw new Exception('Center Time Id not defined for an Epoch Plot.'); | |
477 | - $plotNode->setCenterTimeId($panelData->{'panel-epoch-centertimeid'}); | |
475 | + if ($panelData->{'panel-epoch-centertimeid'} != '') | |
476 | + $plotNode->setCenterTimeId($panelData->{'panel-epoch-centertimeid'}); | |
478 | 477 | break; |
479 | 478 | case 'instantPlot' : |
480 | 479 | $plotNode = $panelNode->addPlotElement(RequestOutputPlotElementTypeEnum::INSTANTPLOT); | ... | ... |