Skip to content

Commit

Permalink
Spell mistakes and code fixes on docs (#467)
Browse files Browse the repository at this point in the history
* Updated doc with fix of importing slicer.ini and typos.
  • Loading branch information
pktippa authored and jjmontesl committed Feb 2, 2019
1 parent 688ad70 commit 140133e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion doc/model.rst
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ specification might contain:
* ``default_hierarchy_name`` – name of default hierarchy for a dimension in
the context of the cube
* ``cardinality`` – cardinality of the dimension with regards to the cube. For
example one cube might contain housands product types, another might have
example one cube might contain thousands of product types, another might have
only a few, but they both share the same `products` dimension
* ``alias`` – how the dimension is going to be called in the cube. For
example, you might have two date dimensions and name them `start_date` and
Expand Down
11 changes: 8 additions & 3 deletions doc/tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ This chapter describes step-by-step how to use the Cubes. You will learn:
* model preparation
* measure aggregation
* drill-down through dimensions
* how to slice&dice the dube
* how to slice & dice the cube

The tutorial contains examples for both: standard tool use and Python use. You
don't need to know Python to follow this tutorial.
Expand Down Expand Up @@ -82,8 +82,13 @@ In Python, a workspace can be configured using the `ini` configuration:
.. code-block:: python
from cubes import Workspace
workspace = Workspace(config="slicer.ini")
# initialize configparser and read "slicer.ini" configuration
from configparser import ConfigParser
config = ConfigParser()
config.read("./slicer.ini")
workspace = Workspace(config)
or programatically:

Expand Down

0 comments on commit 140133e

Please sign in to comment.