If you are running hooke from the source directory (see
:doc:`install`), the equivalent command is::
- $ python bin/hooke
+ $ python bin/hk.py
You may need to give the full path for Python on Windows systems, and
also check that the current working directory (`.`) is in your
Now you are ready to generate the playlist. First, create a blank playlist::
- hooke> new_playlist --name mylist
+ hooke> new_playlist --output_playlist mylist
Ensure that the new playlist is active::
The ``--`` in the ``jump_to_playlist`` command lets
``jump_to_playlist`` know that ``-1`` is an argument and not an
option. Using the bare ``--`` is a POSIX specification [#POSIX]_
-supported by the `optparse module`_.
+supported by the `optparse module`_. You don't need to jump if
+the new playlist is your only loaded playlist.
.. _optparse module:
http://docs.python.org/library/optparse.html#callback-example-6-variable-arguments
hooke> jump_to_curve 14
-will jump to the 14th curve in the playlist. TODO: jump_to_curve
-<PATH>, where the path can be either an absolute path or a path
-relative to the directory holding the playlist file.
+will jump to the 14th curve in the playlist.
+
+.. todo:: ``jump_to_curve <PATH>``, where the path can be either an
+ absolute path or a path relative to the directory holding the
+ playlist file.
Taking notes
------------
You can take notes about the curves you are looking at. Just type
``set_note`` followed by the text you want to attach to that curve.
Hooke will save the text in your current playlist and in an external
-log file (TODO: no external file yet. Is this important?). The
-output will look like this::
+log file.
+
+.. todo:: No external file yet. Is this important?
+
+The output will look like this::
Notes taken at Sun Sep 17 20:42:07 2006
/home/cyclopia/work/tris/20060620a.041 | This is a note
foo.eps``, and ``export_block foo.txt`` will save PNG, EPS, and
TAB-delimited text files respectively.
-TODO: multiple cycles? Solution: blank lines for "breaks", add option
-to extract specific sections using Python's slice notation.
+.. todo:: Multiple cycles in exported data? Solution: blank lines for
+ "breaks", add option to extract specific sections using Python's
+ slice notation.
If you don't want the entire block, try the ``cut`` command.