This file contains hidden or 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
subroutine abstra (idatm,wl,xmus,xmuv,uw,uo3,uwus,uo3us, | |
a idatmp,uwpl,uo3pl,uwusp,uo3usp, | |
a dtwava,dtozon,dtdica,dtoxyg,dtniox,dtmeth,dtmoca, | |
a utwava,utozon,utdica,utoxyg,utniox,utmeth,utmoca, | |
a ttwava,ttozon,ttdica,ttoxyg,ttniox,ttmeth,ttmoca ) | |
c transmittance calculation for ozone, water vapor, | |
c carbon dioxyde and oxygen. | |
c downward absorption water vapor dtwava |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
==== | |
With normal output | |
==== | |
2021-10-09 21:50:37.540 | DEBUG | prompt_toolkit.key_binding.bindings.focus:focus_next:21 - Set focus to [('[SetMenuPosition]', ''), ('class:dropdown.text', ' Select column ',... | |
2021-10-09 21:50:38.057 | DEBUG | prompt_toolkit.key_binding.bindings.focus:focus_next:21 - Set focus to [('[SetMenuPosition]', ''), ('class:dropdown.text', ' = ',... | |
=== | |
With DummyOutput | |
=== | |
2021-10-09 21:51:12.538 | DEBUG | prompt_toolkit.key_binding.bindings.focus:focus_next:21 - Set focus to [('class:button.arrow', '<', <function Button._get_text_fragments.<locals>.handler at 0x119a321f0>), ('[SetCursorPosition]', ''), ('class:button.text', 'Add filter condition'... |
This file contains hidden or 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
import asyncio | |
from prompt_toolkit.application import create_app_session | |
from prompt_toolkit.input.base import DummyInput | |
from prompt_toolkit.key_binding.key_processor import KeyPress | |
from prompt_toolkit.keys import Keys | |
from prompt_toolkit.output import DummyOutput | |
from pepys_admin.maintenance.dialogs.help_dialog import HelpDialog | |
from pepys_admin.maintenance.gui import MaintenanceGUI |
This file contains hidden or 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
async def test_select_platform_type(test_datastore): | |
# Test application in a dummy session. | |
input = DummyInput() | |
output = DummyOutput() | |
# output = None | |
with create_app_session(output=output, input=input): | |
gui = MaintenanceGUI(test_datastore) | |
task = asyncio.create_task(gui.app.run_async()) |
This file contains hidden or 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
import asyncio | |
from contextlib import asynccontextmanager | |
from prompt_toolkit.application import create_app_session | |
from prompt_toolkit.input import create_pipe_input | |
from prompt_toolkit.input.ansi_escape_sequences import REVERSE_ANSI_SEQUENCES | |
from prompt_toolkit.input.base import DummyInput | |
from prompt_toolkit.key_binding.key_processor import KeyPress | |
from prompt_toolkit.keys import Keys | |
from prompt_toolkit.output import DummyOutput |
This file contains hidden or 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
async def test_select_platform_type(test_datastore): | |
# Test application in a dummy session. | |
input = DummyInput() | |
# output = DummyOutput() | |
output = None | |
with create_app_session(output=output, input=input): | |
gui = MaintenanceGUI(test_datastore) | |
# Run the application. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder