Skip to content

Commit

Permalink
Added sample log.
Browse files Browse the repository at this point in the history
  • Loading branch information
nwittler committed Aug 18, 2021
1 parent 05b893b commit a2771fa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/log_reader.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Using the example log from the test folder:

.. code:: bash
c3/utils/log_reader.py test/sample_optim_log.log
c3/utils/log_reader.py test/sample_optim_log.c3log
.. parsed-literal::
Expand Down
1 change: 1 addition & 0 deletions test/sample_optim_log.c3log
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"opt_map": [["rx90p[0]-d1-gauss-amp"], ["rx90p[0]-d1-gauss-freq_offset"], ["rx90p[0]-d1-gauss-xy_angle"], ["rx90p[0]-d1-gauss-delta"]], "units": ["V", "Hz 2pi", "rad", ""], "optim_status": {"params": [0.49731057256150457, -52997604.24565414, -0.0474089606329513, -1.0765842275871154], "goal": 0.004623751716391289, "time": "Tue Aug 17 15:28:09 2021", "gradient": [0.018719753658557353, -0.00041423747880565335, 0.0029041996681835715, 0.006648118709775015]}}
2 changes: 1 addition & 1 deletion test/test_cli_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from c3.c3objs import hjson_decode
from c3.utils.log_reader import show_table

SAMPLE_LOG = "test/sample_optim_log.log"
SAMPLE_LOG = "test/sample_optim_log.c3log"


@pytest.mark.unit
Expand Down

0 comments on commit a2771fa

Please sign in to comment.