Skip to content

Commit

Permalink
typos
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasdiener committed Dec 19, 2024
1 parent c6debbf commit c1b1121
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions doc/analysis.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ the hood, this ensures that the quantity is gathered from all present run_ids.

Magic refers to the usage of customized commands to operate on our mangled and
non-mangled SQL queries. To issue a magic command, preceding it with a ``.``.
This will issue a command to runalyzer instead of refering to a python symbol.
This will issue a command to runalyzer instead of referring to a python symbol.

Running the script
------------------
Expand Down Expand Up @@ -222,11 +222,11 @@ before serving it.
Usage
-----
After the virtual environment has been setup, click the ``Add file`` button
to add a pannel for analysis.
to add a panel for analysis.

To analyze a run, click on the browse button to upload one or more files.
These files will be gathered together under the hood. You can then select
quantites from the X and Y dropdowns. If you would like to keep track of
quantities from the X and Y dropdowns. If you would like to keep track of
multiple quantities in the same graph, you can press ``Add Line to Plot``
to add a Y dropdown.

Expand Down
10 changes: 5 additions & 5 deletions logpyle/HTMLalyzer/htmlalyzer.html
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@

names = ["$" + s for s in names]
query_args = ", ".join(names)
# shoud remake in the future to store the connection instead of
# should remake in the future to store the connection instead of
# re-gathering it every time the button is pressed
run_db = make_wrapped_db(file_dict[id].names, True, True)
run_db.print_cursor(run_db.q("select " + query_args))
Expand Down Expand Up @@ -618,7 +618,7 @@
# create plot group
chart_button = document.getElementById("chartsButton" + str(id))
chart_button .addEventListener("click", create_proxy(run_chart))
# add quantites to quantity 1 dropdown
# add quantities to quantity 1 dropdown
plot_q1_select = document.getElementById("quantity1_" + str(id))
for quantity in file_dict[id].quantities:
item = document.createElement("option")
Expand All @@ -628,7 +628,7 @@
if quantity == "step":
plot_q1_select.value = quantity

# add quantites to quantity 2 dropdown
# add quantities to quantity 2 dropdown
plot_q2_select = document.getElementById("quantity2_" + str(id))
for quantity in file_dict[id].quantities:
item = document.createElement("option")
Expand All @@ -645,7 +645,7 @@
table_button = document.getElementById("tableButton" + str(id))
table_button.addEventListener("click", create_proxy(add_table_list))

# add quantites to table dropdown
# add quantities to table dropdown
table_select = document.getElementById("tableQuantitySelect" + str(id))
for quantity in file_dict[id].quantities:
item = document.createElement("option")
Expand All @@ -665,7 +665,7 @@
file_dict: dict[str, Any] = {}
# ensure logpyle and dependencies are present
asyncio.ensure_future(import_logpyle())
# ensure that one analysis pannel is present to begin with
# ensure that one analysis panel is present to begin with
add_file_func()

</py-script>
Expand Down
6 changes: 3 additions & 3 deletions logpyle/HTMLalyzer/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ def print_table(event: Any) -> None:

names = ["$" + s for s in names]
query_args = ", ".join(names)
# shoud remake in the future to store the connection instead of
# should remake in the future to store the connection instead of
# re-gathering it every time the button is pressed
run_db = make_wrapped_db(file_dict[id].names, True, True)
run_db.print_cursor(run_db.q("select " + query_args))
Expand Down Expand Up @@ -337,7 +337,7 @@ async def store_file(event: Any) -> None:
# create plot group
chart_button = document.getElementById("chartsButton" + str(id))
chart_button .addEventListener("click", create_proxy(run_chart))
# add quantites to quantity 1 dropdown
# add quantities to quantity 1 dropdown
plot_q1_select = document.getElementById("quantity1_" + str(id))
for quantity in file_dict[id].quantities:
item = document.createElement("option")
Expand All @@ -347,7 +347,7 @@ async def store_file(event: Any) -> None:
if quantity == "step":
plot_q1_select.value = quantity

# add quantites to quantity 2 dropdown
# add quantities to quantity 2 dropdown
plot_q2_select = document.getElementById("quantity2_" + str(id))
for quantity in file_dict[id].quantities:
item = document.createElement("option")
Expand Down
2 changes: 1 addition & 1 deletion test/test_logManager.py
Original file line number Diff line number Diff line change
Expand Up @@ -728,7 +728,7 @@ def test_eventcounter(basic_logmgr: LogManager):
# transfer counter1's count to counter2's
basic_logmgr.tick_before()

# at the beggining of tick, counter should clear
# at the beginning of tick, counter should clear
print(counter1.events)
assert counter1.events == 0

Expand Down

0 comments on commit c1b1121

Please sign in to comment.