-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* centralize vuetify import into dashboard/__init__.py * centralize setup_server import * simplify some more imports * move some __main__.py imports to __init__.py * centralize some analyze imports
- Loading branch information
Showing
25 changed files
with
93 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
from .analyzeFunctions import AnalyzeFunctions | ||
from .plot_ParameterEvolutionOverS.overS import line_plot_1d | ||
|
||
__all__ = [ | ||
"AnalyzeFunctions", | ||
"line_plot_1d", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,11 @@ | ||
from trame.widgets import vuetify as vuetify | ||
|
||
from ..trame_setup import setup_server | ||
from .components import CardComponents, InputComponents, NavigationComponents | ||
from .defaults import DashboardDefaults | ||
from .generalFunctions import generalFunctions | ||
|
||
__all__ = [ | ||
"InputComponents", | ||
"CardComponents", | ||
"vuetify", | ||
"DashboardDefaults", | ||
"NavigationComponents", | ||
"generalFunctions", | ||
"setup_server", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
src/python/impactx/dashboard/Input/csrConfiguration/csrMain.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
from .distributionFunctions import DistributionFunctions | ||
|
||
__all__ = [ | ||
"DistributionFunctions", | ||
] |
2 changes: 1 addition & 1 deletion
2
src/python/impactx/dashboard/Input/distributionParameters/distributionFunctions.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
from ...trame_setup import setup_server | ||
from ... import setup_server | ||
|
||
server, state, ctrl = setup_server() | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
from .inputFunctions import InputFunctions | ||
|
||
__all__ = [ | ||
"InputFunctions", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
from .spaceChargeFunctions import SpaceChargeFunctions | ||
|
||
__all__ = [ | ||
"SpaceChargeFunctions", | ||
] |
4 changes: 2 additions & 2 deletions
4
src/python/impactx/dashboard/Input/space_charge_configuration/spaceChargeFunctions.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 3 additions & 9 deletions
12
src/python/impactx/dashboard/Input/space_charge_configuration/spaceChargeMain.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,32 @@ | ||
from trame.widgets import vuetify as vuetify | ||
|
||
# isort: off | ||
|
||
from .trame_setup import setup_server | ||
from .Toolbar.controls import GeneralToolbar | ||
|
||
from .Analyze.plotsMain import AnalyzeSimulation | ||
from .Input.csrConfiguration.csrMain import csrConfiguration | ||
from .Input.distributionParameters.distributionMain import DistributionParameters | ||
from .Input.inputParameters.inputMain import InputParameters | ||
from .Input.latticeConfiguration.latticeMain import LatticeConfiguration | ||
from .Input.components import NavigationComponents | ||
from .Input.space_charge_configuration.spaceChargeMain import SpaceChargeConfiguration | ||
|
||
from .jupyterApplication import JupyterMainApplication as JupyterApp | ||
# isort: on | ||
|
||
|
||
__all__ = [ | ||
"JupyterApp", | ||
"setup_server", | ||
"vuetify", | ||
"AnalyzeSimulation", | ||
"NavigationComponents", | ||
"csrConfiguration", | ||
"DistributionParameters", | ||
"InputParameters", | ||
"LatticeConfiguration", | ||
"SpaceChargeConfiguration", | ||
"GeneralToolbar", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters