Remove references to "pickle" file and simply use "output" file

This commit is contained in:
Christophe Bedard 2019-10-12 15:24:48 -07:00
parent 844a215156
commit 36b789dc6a
6 changed files with 34 additions and 33 deletions

View file

@ -17,8 +17,8 @@
"#\n",
"# OR\n",
"#\n",
"# Use the provided sample pickle file, changing the path below to:\n",
"# 'sample_data/pickle_pingpong'"
"# Use the provided sample converted trace file, changing the path below to:\n",
"# 'sample_data/converted_pingpong'"
]
},
{
@ -27,8 +27,8 @@
"metadata": {},
"outputs": [],
"source": [
"pickle_path = '~/.ros/tracing/pingpong/ust/pickle'\n",
"#pickle_path = 'sample_data/pickle_pingpong'"
"converted_file_path = '~/.ros/tracing/pingpong/ust/converted'\n",
"#converted_file_path = 'sample_data/converted_pingpong'"
]
},
{
@ -57,7 +57,7 @@
"import pandas as pd\n",
"\n",
"from tracetools_analysis import utils\n",
"from tracetools_analysis.loading import load_pickle\n",
"from tracetools_analysis.loading import load_file\n",
"from tracetools_analysis.processor.ros2 import Ros2Handler"
]
},
@ -68,8 +68,8 @@
"outputs": [],
"source": [
"# Process\n",
"pickle_path = os.path.expanduser(pickle_path)\n",
"events = load_pickle(pickle_path)\n",
"converted_file_path = os.path.expanduser(converted_file_path)\n",
"events = load_file(converted_file_path)\n",
"handler = Ros2Handler.process(events)\n",
"#handler.data.print_model()"
]