diff --git a/Pose2Sim/Utilities/csv_from_mot_osim.py b/Pose2Sim/Utilities/csv_from_mot_osim.py index ac86d38..307a70c 100644 --- a/Pose2Sim/Utilities/csv_from_mot_osim.py +++ b/Pose2Sim/Utilities/csv_from_mot_osim.py @@ -72,8 +72,8 @@ def csv_from_mot_osim_func(*args): # Read model and motion files - model = osim.Model(input_osim_file) - motion_data = osim.TimeSeriesTable(input_mot_file) + model = osim.Model(osim_path) + motion_data = osim.TimeSeriesTable(motion_path) # Model: get model coordinates and bodies model_coordSet = model.getCoordinateSet() @@ -145,4 +145,4 @@ if __name__ == '__main__': parser.add_argument('-c', '--csv_output_file', required=False, help='csv output file') args = vars(parser.parse_args()) - csv_from_mot_osim_func(args) \ No newline at end of file + csv_from_mot_osim_func(args)